This tutorial was created to illustrate how easy it is to create your own cryptocurrency simply by forking another existing coin. Something that might make you think twice next time you buy into an IPO, pre-sale or pump and dump coin. Each step is covered by a four part video series created by whatthefluxable.

A basic understanding of command line tools and code editors are necessary to follow the steps in the tutorial.

Part 1 – How to Create Your Own Cryptocurrency

Build your dependencies:

install dependencies for building
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libminiupnpc-dev

sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libboost1.37-dev
(If using Boost 1.37, append -mt to the boost libraries in the makefile)

Check that Litecoin compiles

USE this command to change your names (from within your working directory):
find ./ -type f -readable -writable -exec sed -i “s/Litecoin/Learncoin/g” {} \;
find ./ -type f -readable -writable -exec sed -i “s/LiteCoin/LearnCoin/g” {} \;
find ./ -type f -readable -writable -exec sed -i “s/LTC/LERN/g” {} \;
find ./ -type f -readable -writable -exec sed -i “s/litecoin/learncoin/g” {} \;
find ./ -type f -readable -writable -exec sed -i “s/litecoind/learncoind/g” {} \;

Part 2 – How to Create Your Own Cryptocurrency

In part 2 you will learn how to generate a Merkle root

Code to be inserted into main.cpp to create a new root:
http://pastebin.com/DzqRTba5

Part 3 – How to Create Your Own Cryptocurrency

The third part of How to Create Your Own Cryptocurrency series will cover the generation of the genesis block.

Part 4 – How to Create Your Own Cryptocurrency

The fourth part of the video series will instruct you how to make a custom “artwork” for your own cryptocurrency. Do not expect a master class in Photoshop or image editing.

Part 5 – How to Create Your Own Cryptocurrency

In part 5 whatthefluxable show you how to upload to github and build the windows wallet.

It’s the hardest part as you’ll see — in fact I can’t get it right the first time.

Gitian build instructions are here:
sudo bin/gbuild ../learncoin/contrib/gitian-descriptors/­deps-win32.yml

Build qt
sudo bin/gbuild ../learncoin/contrib/gitian-descriptors/­qt-win32.yml

Build boost
sudo bin/gbuild ../learncoin/contrib/gitian-descriptors/­boost-win32.yml

Build wallet
change remotes line underneat to
“remotes: []”
sudo bin/gbuild –commit learncoin=HEAD ../learncoin/contrib/gitian-descriptors/­gitian-win32.yml

Dependencies
https://www.openssl.org/source/old/1.0.1/openssl-1.0.1i.tar.gz
http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.20140401.tar.gz
http://fossies.org/linux/misc/zlib-1.2.8.tar.gz
http://sourceforge.net/projects/libpng/files/libpng16/older-releases/1.6.8/libpng-1.6.8.tar.gz/download
https://fukuchi.org/works/qrencode/qrencode-3.4.3.tar.bz2
http://downloads.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2?r=http%3A%2F%2Fwww.boost.org%2Fusers%2Fhistory%2Fversion_1_55_0.html&ts=1449098451&use_mirror=internode
https://svn.boost.org/trac/boost/raw-attachment/ticket/7262/boost-mingw.patch
http://wtogami.fedorapeople.org/boost-mingw-gas-cross-compile-2013-03-03.patch
https://download.qt.io/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz

Part 6 – How to Create Your Own Cryptocurrency

Part 6 covers the pool setup and final conclusions from the video series creator whatthefluxable.

Did you succeed in creating your own cryptocurrency? Did you experiencing any setbacks? Share your experience with other users in the comments below.

Share on Facebook5Google+0Share on Reddit0Tweet about this on Twitter

4 Responses to “How to Create Your Own Cryptocurrency”

  1. Chris

    Followed your video series, and for the most part, everything went smoothly. Ran across a small problem though.

    Now that I’ve compiled my coin, I run the daemon, and the debug.log doesn’t mention that it’s trying to create a genesis block, but only that it’s trying to connect to that DNS seed that you had me create, and failing.

    Am I missing a step somewhere? I’d created a droplet on the server, but didn’t do anything with it. Should I be uploading my compiled program there, or what?

    Reply
    • CryptoJunction

      Hey Chris,

      The tutorial series was not created by us, it was created by whatthefluxable he should be able to answer your questions better.

      However if you can specify at what part you got lost, and at what time we might be able to help you out anyway.

      Best of luck!

      Reply
      • Chris

        I figured out part of the problem. You’ve got 4 parts of the tutorial up, and it’s actually looking like it’s a six part series.

        However, in the pieces I followed up until the end of part 4, I now have a working linux version of the daemon. At least, I think it’s working. It keeps trying to connect to the droplet created on digitalocean. Am I supposed to put a copy of the daemon there, or what? I’m not entirely understanding what we’re supposed to do with that server.

        The other issues I’m running across at this point are with part 5 of the video, which is beyond the scope of your article, but I am having extreme issues with it as I can’t seem to get the KVM working properly in order to create the windows version of the software.

        Thanks for the quick reply though =)

        Reply
  2. chanchal mondal

    i wants to build up my own coin i need help to setup my coin server.i hv no programming knowledge.
    if you create for me then what will be next step.
    please contact me.
    contact- +91-9134613258

    Reply

Leave a Reply

  • (will not be published)