Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: fisheater on June 05, 2013, 02:12:45 AM



Title: *** Complete Guide on How to Create a New Alt Coin ***
Post by: fisheater on June 05, 2013, 02:12:45 AM
Since there are so many garbage coins out there, I decide to create
this course to teach you how to create a new alt coin. It's so simple,
that I can usually do within 2 hours.

You need to have some basic knowledge of C++ programming. No need
to be an expert, but you need to understand the basic compiling errors
and how to fix them.

Follow the following steps to create a new alt coin:

Preparation Step:

Download the Litecoin full source code, you can find it in github, just
do a google, you'll find it.

If you use windows, follow the steps in this thread:
https://bitcointalk.org/index.php?topic=149479.0

set up environment and libs, and compile the Litecoin. If you are successful
in compiling it (and run it), then your environment is good.


Design your coin:

Now that you have env set up, before doing coding, you need to do some design of
your coin, this is simple math calculations, but you need them for parameters
in the coding.

Basically you need to determine what you want:
- name of the coin. Let's call it AbcCoin in our example. Also determine the symbol, we call it "ABC"
   in our example.
- block time: this is the average target time between blocks. Usually you set it between 15 sec and 2 mins.
   You can also do 10 mins if you want (like bitcoin), but it's too long imo.
- difficulty retarget time: this is important, since otherwise it could cause serious instamine problem.
   Usually it's between 1 hr to 1 day.
   (diff retarget time)/(block time) gives you how many blocks a diff retarget will happen. This is
   an important parameter to consider.
- what's the initial coin per block. People set it to 2 to 100, usually. You can set any you want.
   Also you can do coins per block based on the block number, or even randomly (like JKC/LKY etc).
- How long you want coins per block be halved. Usually it's 6 month to 3 years. But again you set whatever
   you like.
- Ports, you need two: connection and RPC ports. Choose the ones that are not used in common apps.
   You can google for a particular port usage.

There are some other things you may want to adjust, such as initial diffculty etc. But usually I don't want to bother with these.

Now with these parameters defined, one important thing is that you want to calculate how many blocks/coins
generated in a month, a year etc, and total coins ever will be generated. This gives you a good idea how overall
your coin will work, and you may want to re-adjust some parameters above.


Now the code change part.

Before you begin, copy the whole directory of Litecoin to Abccoin. Then modify the code in Abccoin.

Follow the below steps for code changes:

1. In Abccoin/src dir, do a search of "litecoin", and change most of them to "abccoin", note you may want
to do a case-sensitive replace. You don't have to replace all, but most should be replaced.
You can reference to smallchange code first commit
https://github.com/bfroemel/smallchange/commit/947a0fafd8d033f6f0960c4ff0748f76a3d58326
for the changes needed.

Note: smallchange 1st commit does not include many of the changes I will outline below, but it is a
good reference for what need to be changed.


2. In Abccoin/src dir, do a search on "LTC", and change them to "ABC".

3. Change the ports: use the ones you defined in coin design, and change in the following files:
- connection port: protocol.h and init.cpp
- rpc port: bitcoinrpc.cpp and init.cpp

4.  Change parameters, all in main.cpp:
   - block value (in GetBlockValue())
   - block time (right after GetBlockValue())
   - diff retarget time (right after GetBlockValue())
   - adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())

for the last item, refer to Luckycoin code, you will see how this is done.
For random coin values in block, refer to GetBlockValue() function in JKC and Luckycoin code.

5. According to your coin design, adjust the value in main.h:
   - max coin count
   - dPriority

6. Change transaction confirmation count (if you want say 3 confirmation transaction etc) in transactionrecord.h
also change COINBASE_MATURITY which affects the maturity time for mined blocks, in main.h/cpp.

7.  Create genesis block. Some people get stuck there, it's really easy:
- find LoadBlockIndex() function, inside, change:
    - paraphrase (pszTimestamp) to any recent news phase.
    - get the latest unix time (do a google), and put in block.nTime.
    - set any nNonce (doesn't really matter)
you can change the time/nonce for testnet too, if you want to use it.

After you are done, save it. Now the genesis block will not match the hash check and merkle root check, it doesn't matter.

The first time you run the compiled code (daemon or qt), it will say "assertion failed". Just exit the program, go to
config dir (under AppData/Roaming), open the debug.log, get the hash after "block.GetHash() = ", copy and paste it to the beginnig of main.cpp, hashGenesisBlock. Also get the merkle root in the same log file, paste it to the ... position in the following code, in LoadBlockIndex()
Quote
       assert(block.hashMerkleRoot == uint256("0x..."));

recompile the code, and genesis block created!

BTW, don't forget to change "txNew.vout[0].nValue = " to the coin per block you defined, it doesn't matter to leave as 50, just be consistent with your coin per block (do this before adjust the hash and m-root, otherwise they will be changed again).

Also you need to change the alert/checkpoint key, this depends on the coin type and version, you can find it in main.cpp, main.h, alert.cpp and checkpoint.cpp.

8. Set the correct address start letter in base58.h. You may want to do some trial and error to find the letter you want. I never can calculate precisely the letter location.

change corresponding "starts with " in sendcoinsentry.cpp
change example in signverifymessagedialog.cpp

9. Checkpoint: you want to disable the checkpoint check initially, otherwise you may get stuck.
You have multiple ways to disable it, my way is:
- open checkpoints.cpp
- there are 3 functions, comment out the normal return, and make them return either true, 0, or null, like this:
Quote
   bool CheckBlock(int nHeight, const uint256& hash)
    {
        if (fTestNet) return true; // Testnet has no checkpoints

        MapCheckpoints::const_iterator i = mapCheckpoints.find(nHeight);
        if (i == mapCheckpoints.end()) return true;
        // return hash == i->second;
      return true;
    }

    int GetTotalBlocksEstimate()
    {
        if (fTestNet) return 0;
   
        // return mapCheckpoints.rbegin()->first;
      return 0;
    }

    CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex)
    {
        if (fTestNet) return NULL;

        BOOST_REVERSE_FOREACH(const MapCheckpoints::value_type& i, mapCheckpoints)
        {
            const uint256& hash = i.second;
            std::map<uint256, CBlockIndex*>::const_iterator t = mapBlockIndex.find(hash);
            if (t != mapBlockIndex.end())
                // return t->second;
            return NULL;
        }
        return NULL;
    }

Now this is disabled. Once everything works, you can premine 50 blocks, and extract some hashes and put them in the checkpoints, and re-enable these functions.

That's about it. You can do compilation all the way along, no need to do in the end, you may get a lot compilation errors.

Oh, icons:

10. Find a nice image for your coin, then make 256x256 icons/images. You have 5 images to replace in src/qt/res/icons, and 1 to replace (splash) in src/qt/res/images.

11. Oh also edit those files in qt/forms. These are files for help etc, better make them look nice, display your coin names than litecoin ones.

12. Now for compilations:
- qt: modify the .pro file under abccoin, and follow the make process in
https://bitcointalk.org/index.php?topic=149479.0

- daemon: update one of the makefile for your system, and in my case I use mingw32 shell to make.


That's it, voila, you have your own alt coins!!



Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: fisheater on June 05, 2013, 02:13:17 AM
reserve


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: Hazard on June 05, 2013, 02:14:52 AM
Missing some key parts, but I'm not gonna be the one to fill in the gaps for you.


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: arlington on June 05, 2013, 02:15:44 AM
Missing some key parts, but I'm not gonna be the one to fill in the gaps for you.

Learn Hazard, your 0.5BTC has no business, lol ;D


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: dreamhouse on June 05, 2013, 02:18:52 AM
destroryed Hazard's business... heck fish, you revealed also all my secrets too, wth..

it is the complete list to create an alt coin, it shortens Hazard's learning curve.


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: dreamwatcher on June 05, 2013, 02:19:33 AM
8. Set the correct address start letter in base58.h. You may want to do some trial and error to find the letter you want. I never can calculate precisely the letter location.


https://en.bitcoin.it/wiki/List_of_address_prefixes (https://en.bitcoin.it/wiki/List_of_address_prefixes)   ;)


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: bitcoiners on June 05, 2013, 02:27:58 AM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: arlington on June 05, 2013, 02:41:57 AM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.
lol, I still don't get why bitcoin worth more, everything is created from nothing, and it worth nothing.  ;D ;D ;D


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: fisheater on June 05, 2013, 02:54:13 AM
Missing some key parts, but I'm not gonna be the one to fill in the gaps for you.
missing? lol.  ;D

I noticed in your coins many of the above-mentioned steps are missing, that's why your coins are all crappy ones.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Elwar on June 05, 2013, 03:02:43 AM
When will AbcCoin be ready for mining?


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: jgm_coin on June 05, 2013, 03:09:57 AM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.
lol, I still don't get why bitcoin worth more, everything is created from nothing, and it worth nothing.  ;D ;D ;D


Its simple: Bitcoin is worth more because it has value.  Even the banks value bitcoin as of late.  New coins haven't got the track record to accumulate value yet.  Most wont ever accrue the trust.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hendo420 on June 05, 2013, 03:27:08 AM
I'm still waiting on someone to make a gui to make alt coins. Pick your icon and set some values and hit create. :D


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: DPoS on June 05, 2013, 03:33:56 AM
time to make RNG coin...  random values in everything fisheater said.. after every block created new values so no one can predict anything except of course RNG coin would be worth crappo


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: fran2k on June 05, 2013, 04:09:17 AM
Oh man. We need a script that can do the whole thing :P

And then someone please make the metarandomcoin that makes random forks of itself.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: arlington on June 05, 2013, 05:24:51 AM
Oh man. We need a script that can do the whole thing :P

And then someone please make the metarandomcoin that makes random forks of itself.

good idea to do a script for it. :D


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: justabitoftime on June 05, 2013, 05:27:51 AM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.

Clueless.. just completely clueless.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: LTCMINER2013 on June 05, 2013, 05:31:44 AM
is there any reason why all these alt litecoins have issues with the wallet?  After syncing  , it tries to sync back to the litecoin blockchain?


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: zerodrama on June 05, 2013, 12:51:55 PM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.

Clueless.. just completely clueless.

It's easy to call people idiots. It makes it easier for us to actually reach our goals. Better signal to noise ration back at home base.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: digicoin on June 05, 2013, 05:23:10 PM
People who creates scam coin are smart guys. People who mine scam coins are idiots.  :P


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: m3ta on June 05, 2013, 05:57:29 PM
just do a google

I LOLd.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: walf_man on June 06, 2013, 07:22:39 AM
Thanks!
Great works!
Need "Complete Guide on How to Compilation a New Alt Coin"
 ;D


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: r3wt on June 22, 2013, 09:47:45 AM
well, this i my first time to program C++ but i made it all the way to compiling. i get multiple targets **stop** when i try to compile from command prompt with mingw


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: thekidcoin on June 22, 2013, 09:20:26 PM
I'll fill you in with the missing pieces for 1 BTC. 


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: The_Catman on June 22, 2013, 10:14:59 PM
I'll fill you in with the missing pieces for 1 BTC. 

The missing pieces are intentional.

You are making peoples mad to make alt coin. Close this thread please.

Everything is going as planned.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: monocolor on June 22, 2013, 10:17:38 PM
yes looks like the missing pierces are intentional, I know there are things like pubkey etc, I am sure fish knows it.
close the thread fish!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: fisheater on March 24, 2014, 05:34:36 PM
so many shit coins there, and "IPO"s.

This is a guide by me to create a new coin almost a year ago, it's so easy for you to create a new one, instead of buy into those "IPO"s, which will be totally dumb!

Although some steps are missing in this guide, it gives you an idea how to create a new coin.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bd9142 on April 13, 2014, 05:31:02 PM
I could not find new genesis block and hash in debug.log. How do i have to do ?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Evilish on April 13, 2014, 05:35:17 PM
I could not find new genesis block and hash in debug.log. How do i have to do ?

I can help you out if you're willing to pay. :)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bd9142 on April 13, 2014, 05:43:52 PM
I could not find new genesis block and hash in debug.log. How do i have to do ?

I can help you out if you're willing to pay. :)

okey just do it for me . just create and let me understand it.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Souldream on April 13, 2014, 05:44:50 PM
People who creates scam coin are smart guys. People who mine scam coins are idiots.  :P

LoL the most funny stuff i read today :-)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: fisheater on May 03, 2014, 04:08:13 AM
I could not find new genesis block and hash in debug.log. How do i have to do ?

I can help you out if you're willing to pay. :)

okey just do it for me . just create and let me understand it.

If you know the basic programming, you'll see where are the printf statements in code. If not, then don't bother.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: strasboug on May 03, 2014, 06:50:10 PM
interesting guide, just a bit old. For X11 coins is it the same process?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: alecmerkel on May 03, 2014, 07:25:45 PM
I guess making the coin is step one.

The next step is getting a bunch of mindless fanboys muttering broken sentences to make it popular. That's the hard part my friends.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: cursednova on May 03, 2014, 10:59:21 PM
I am not sure if anyone needs this but i found a guide awhile ago that shows exactly from start to finish. I'ts explaining even generating the geninis block. I found it on google after hours of searching before i decided if i couldn't do it without a guide it just shouldn't make one. Take that into mind before you start the guide.

http://87.98.217.208/


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: DJFML on May 27, 2014, 01:01:27 AM
I can compile on all the other systems but Windows, it just keeps giving me a problem like this one, if it is familiar to most people. Anyway I am able to fix this?


Code:
C:\flc>make -f Makefile.Release
c:\Qt\4.8.6\bin\rcc.exe -name bitcoin src\qt\bitcoin.qrc -o release\qrc_bitcoin.
cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -fexceptions -mthreads -fdiag
nostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet
er -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV
6 -DWIN32 -D_MT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\Qt\4.8.6
\include\QtCore" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\include" -I"src" -
I"src\json" -I"src\qt" -I"..\deps\boost" -I"..\deps\db\build_unix" -I"..\deps\ss
l\include" -I"..\Qt\4.8.6\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.6\m
kspecs\win32-g++-4.6" -o build\qrc_bitcoin.o release\qrc_bitcoin.cpp
g++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\flightcoin-qt.exe object_
script.flightcoin-qt.Release  -L"c:\Qt\4.8.6\lib" -lmingwthrd -lmingw32 -lqtmain
 build\bitcoin-qt_res.o -lshlwapi -lssl -lcrypto -ldb_cxx -lws2_32 -lole32 -lole
aut32 -luuid -lgdi32 -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt
-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_5
3 -lws2_32 -lshlwapi -lmswsock -LC:/deps/boost/stage/lib -Lc:/deps/db/build_unix
 -Lc:/deps/ssl -lssl -lcrypto -ldb_cxx -lole32 -luuid -lgdi32 -lboost_system-mgw
46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-
mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lQtGui4 -lQtCore4
./build\bitcoin.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
Makefile.Release:253: recipe for target 'release\flightcoin-qt.exe' failed
mingw32-make: *** [release\flightcoin-qt.exe] Error 1

I can clearly see the file right there, but not sure what exactly is going on with it.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: cyrilbf on June 10, 2014, 06:19:11 PM
I am not sure if anyone needs this but i found a guide awhile ago that shows exactly from start to finish. I'ts explaining even generating the geninis block. I found it on google after hours of searching before i decided if i couldn't do it without a guide it just shouldn't make one. Take that into mind before you start the guide.

http://87.98.217.208/

this guide is good but not explain how to change the key alert in: alert cpp.
someone will have an explanation for how this change?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: cloudboy on June 11, 2014, 05:45:56 AM
Thanks for the guide! I know this is old, but hopefully someone will answer!

I successfully created the genesis block hash and the merkle root, and recompiled the code with the correct assertions. However, I now get an error when I open the program that says 'Error loading blkindex.dat'

What should I do about that? I deleted the blockchain files and still get the same error.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Kergekoin on June 11, 2014, 05:58:24 AM
Thanks for the guide! I know this is old, but hopefully someone will answer!

I successfully created the genesis block hash and the merkle root, and recompiled the code with the correct assertions. However, I now get an error when I open the program that says 'Error loading blkindex.dat'

What should I do about that? I deleted the blockchain files and still get the same error.

It is the blockchain telling you to not create another shitcoin.

Jokes aside, this is the genesis block not accepted due mismatch error. You are using either wrong genesis creator code or did something else wrong. Google and figure it out.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: cloudboy on June 12, 2014, 12:35:56 AM
Thanks for the guide! I know this is old, but hopefully someone will answer!

I successfully created the genesis block hash and the merkle root, and recompiled the code with the correct assertions. However, I now get an error when I open the program that says 'Error loading blkindex.dat'

What should I do about that? I deleted the blockchain files and still get the same error.

It is the blockchain telling you to not create another shitcoin.

Jokes aside, this is the genesis block not accepted due mismatch error. You are using either wrong genesis creator code or did something else wrong. Google and figure it out.

This is really more of a personal project really, but thanks for the answer. I found what I did wrong and successfully created a good genesis block and recompiled. Now, my wallet loads fine. However, I am still a bit confused. I forked this testcoin from the Blackcoin source code. When I load it up, it says it has xxx connections to the network, and says it is downloading block 0 of 193113 blocks in the chain. Does this mean that it is still somehow trying to load the Blackcoin blockchain? I'm guessing the nodes are built into the Blackcoin wallet somewhere?


EDIT -- I figured it out. In case anyone else has this problem, the nodes are built into /src/net.cpp



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nutildah on June 12, 2014, 04:30:03 AM
People who creates scam coin are smart guys. People who mine scam coins are idiots.  :P

I disagree with the first part. Somehow modern society has declared the production and sales of useless bullshit to be a positive virtue, but its not, and this mindset is slowly collapsing society.

Truly smart people aren't interested in making the world around them a stupider place to live in, because they realize that behavior that hurts more people than helps isn't smart. It doesn't matter how much money it makes you -- if people around you are worse off because of you, you're an idiot.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: p on June 21, 2014, 09:44:33 AM
Really nice tutorial.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bitpop on July 01, 2014, 08:17:39 AM
I did all that and now have 0 blocks right?

But when I mine, it says Waiting for work to be available from pools. And cpu mining shows no activity.

https://github.com/BitpopCoin/BitpopCoin

Send me a pull request with everything working for .01 btc


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: r3wt on July 01, 2014, 08:27:58 AM
I did all that and now have 0 blocks right?

But when I mine, it says Waiting for work to be available from pools. And cpu mining shows no activity.

https://github.com/BitpopCoin/BitpopCoin

Send me a pull request with everything working for .01 btc

don't break the bank big spender!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bitpop on July 01, 2014, 08:31:37 AM
I did all that and now have 0 blocks right?

But when I mine, it says Waiting for work to be available from pools. And cpu mining shows no activity.

https://github.com/BitpopCoin/BitpopCoin

Send me a pull request with everything working for .01 btc

don't break the bank big spender!

Well I wasn't planning on spending anything on my coin lol


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: HeadsOrTails on July 03, 2014, 11:50:19 AM
I did all that and now have 0 blocks right?

But when I mine, it says Waiting for work to be available from pools. And cpu mining shows no activity.

https://github.com/BitpopCoin/BitpopCoin

Send me a pull request with everything working for .01 btc

don't break the bank big spender!

Well I wasn't planning on spending anything on my coin lol

Lol? You offer $6 for help on something you say you had no intention of spending any of your own money - or time it seems.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: HeadsOrTails on July 03, 2014, 12:00:38 PM
People who creates scam coin are smart guys. People who mine scam coins are idiots.  :P

I disagree with the first part. Somehow modern society has declared the production and sales of useless bullshit to be a positive virtue, but its not, and this mindset is slowly collapsing society.

Truly smart people aren't interested in making the world around them a stupider place to live in, because they realize that behavior that hurts more people than helps isn't smart. It doesn't matter how much money it makes you -- if people around you are worse off because of you, you're an idiot.

You my friend said it better than I could have ever articulated.
All these scam coins...argh.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: iGotAIDS on July 03, 2014, 01:49:37 PM
I did all that and now have 0 blocks right?

But when I mine, it says Waiting for work to be available from pools. And cpu mining shows no activity.

https://github.com/BitpopCoin/BitpopCoin

Send me a pull request with everything working for .01 btc

Code:
if(nHeight < 17280) // no block reward within the first 3 days
        nSubsidy = 0;

This is your problem.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gondel on July 03, 2014, 02:07:20 PM
Hello,
Very nice tutorial! Good job! Now we can expect a huge wave of new shitcoins :D but for sure it will pass with the time no one will bw interested into new coins exept if the coin dwlivers something really new to thw community. You took the bread from some people on this forum :D
BR
Gondel


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: OptimusPrime7 on July 03, 2014, 02:17:52 PM
Nice, more new coins incoming..


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bitpop on July 03, 2014, 03:13:13 PM
I did all that and now have 0 blocks right?

But when I mine, it says Waiting for work to be available from pools. And cpu mining shows no activity.

https://github.com/BitpopCoin/BitpopCoin

Send me a pull request with everything working for .01 btc

Code:
if(nHeight < 17280) // no block reward within the first 3 days
        nSubsidy = 0;

This is your problem.

Isn't that just the reward though? I can't mine period.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: edschroedinger on November 08, 2014, 01:05:40 AM
People who creates scam coin are smart guys. People who mine scam coins are idiots.  :P

I disagree with the first part. Somehow modern society has declared the production and sales of useless bullshit to be a positive virtue, but its not, and this mindset is slowly collapsing society.

Truly smart people aren't interested in making the world around them a stupider place to live in, because they realize that behavior that hurts more people than helps isn't smart. It doesn't matter how much money it makes you -- if people around you are worse off because of you, you're an idiot.

now this is one hell of a statement and I had the deep urge to repost this right now...

...though, as live is a bitch (or at least comes with sort of odd sense of humor), the dunning - kruger effect
shows to us, that presumably the majority of those individuals this statement actually addresses, are in fact
due to their nature incompetent, hindred and sometimes even unable to at least partially comprehend
mentioned concepts... tl;dr: sad thing, it's like talking to a brick


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: DavinciJ15 on November 12, 2014, 07:09:08 PM
I need a private alt coin based on Bitcoin and I am willing to pay $500 in BTC. 

Here is what I am looking for...

I would like to take the open source code of bitcoin and modify it in such a way that…

  • Instructions on how to rename it and compile it for windows and linux
  • The genesis block creates all the of the 2.1 billion crypto currency units and are accessible
  • same divisibility as bitcoin
  • The crypto currency must support colored coins so we can issue new types of the same coin
  • It uses a different port for communications
  • New blocks mined can only be created from a list of designed ip addresses with option for all
  • All transactions require fees except for addresses listed in a file (signed)

IF the thread op can do this in 2 hours man that's an easy $500 for him.

Davinci





 


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bitpop on November 12, 2014, 07:36:25 PM
I need a private alt coin based on Bitcoin and I am willing to pay $500 in BTC. 

Here is what I am looking for...

I would like to take the open source code of bitcoin and modify it in such a way that…

  • Instructions on how to rename it and compile it for windows and linux
  • The genesis block creates all the of the 2.1 billion crypto currency units and are accessible
  • same divisibility as bitcoin
  • The crypto currency must support colored coins so we can issue new types of the same coin
  • It uses a different port for communications
  • New blocks mined can only be created from a list of designed ip addresses with option for all
  • All transactions require fees except for addresses listed in a file (signed)

IF the thread op can do this in 2 hours man that's an easy $500 for him.

Davinci





 

I'll escrow


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: mikerbiker6 on January 17, 2015, 09:28:37 PM
shit, gotta learn c++  ;)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Crestington on January 17, 2015, 09:50:11 PM
I need a private alt coin based on Bitcoin and I am willing to pay $500 in BTC.  

Here is what I am looking for...

I would like to take the open source code of bitcoin and modify it in such a way that…

  • Instructions on how to rename it and compile it for windows and linux
  • The genesis block creates all the of the 2.1 billion crypto currency units and are accessible
  • same divisibility as bitcoin
  • The crypto currency must support colored coins so we can issue new types of the same coin
  • It uses a different port for communications
  • New blocks mined can only be created from a list of designed ip addresses with option for all
  • All transactions require fees except for addresses listed in a file (signed)

IF the thread op can do this in 2 hours man that's an easy $500 for him.

Davinci


I think you need to set your price higher, you want a lot of custom coding which takes time and testing. $500 might get you a basic clone with some decent code but when looking at it from a Development point of view, you could sell 5 clones at $100-200 each and that's a few hours of work but what you want might be a couple weeks plus Beta and to be that skilled they would probably be working on their own project instead. I can do some stuff but what you want is beyond what I can do, you would probably be better off either learning how to do it yourself or setting a high enough bounty that it's worth it for someone with the skills to do it.

Also, this thread is from mid 2013 and the OP hasn't been active since August.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: prodigy8 on January 31, 2015, 01:49:24 AM
This is a really useful guide, thanks!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Isolani159 on April 23, 2016, 07:14:23 AM
ppl haven't concerned creating new coin anymore?
Or there's another thread for discussion about this?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Fatanut on April 24, 2016, 11:54:56 AM
ppl haven't concerned creating new coin anymore?
Or there's another thread for discussion about this?


I can't see a similar topic like this that is more updated than January 2015. I bet people aren't interested now in making a new alt coin, they just buy and sell alt coins now. They are more on trading now. There are tons of alt coins out there that are unsuccessful and just become dump coins.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: BTC_ISTANBUL on September 12, 2016, 11:38:38 AM
I need a private alt coin based on Bitcoin and I am willing to pay $500 in BTC. 

Here is what I am looking for...

I would like to take the open source code of bitcoin and modify it in such a way that…

  • Instructions on how to rename it and compile it for windows and linux
  • The genesis block creates all the of the 2.1 billion crypto currency units and are accessible
  • same divisibility as bitcoin
  • The crypto currency must support colored coins so we can issue new types of the same coin
  • It uses a different port for communications
  • New blocks mined can only be created from a list of designed ip addresses with option for all
  • All transactions require fees except for addresses listed in a file (signed)

IF the thread op can do this in 2 hours man that's an easy $500 for him.

Davinci


I can offer another 500 USD to receieve the codes and instructions.So we have 1000 USD as a total.





 


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: kenpat06 on September 30, 2016, 02:06:10 PM
I need a private alt coin based on Bitcoin and I am willing to pay $500 in BTC. 

Here is what I am looking for...

I would like to take the open source code of bitcoin and modify it in such a way that…

  • Instructions on how to rename it and compile it for windows and linux
  • The genesis block creates all the of the 2.1 billion crypto currency units and are accessible
  • same divisibility as bitcoin
  • The crypto currency must support colored coins so we can issue new types of the same coin
  • It uses a different port for communications
  • New blocks mined can only be created from a list of designed ip addresses with option for all
  • All transactions require fees except for addresses listed in a file (signed)

IF the thread op can do this in 2 hours man that's an easy $500 for him.

Davinci


I can offer another 500 USD to receieve the codes and instructions.So we have 1000 USD as a total.





 


Did you manage to get this accomplished?

T
Ken


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hsnbrg on November 03, 2016, 10:36:04 AM
Hi.

I just have a quick and easy question. How can I get premined coins by modifying this code?

Thanks.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: glerant on November 03, 2016, 11:25:06 AM
Hi.

I just have a quick and easy question. How can I get premined coins by modifying this code?

Thanks.

If you have to ask a question like this you are better off availing yourself of Hazard's services yourself.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hsnbrg on November 03, 2016, 03:26:18 PM
Thanks.

I'm already using Hazard's solution.

But I want to learn how the system works. So my question is still relevant. What is a good way if I want to have premined coins?
I can set difficulty target and emission speed factor to as high/low I want before the necessary coins are mined. However in this case I'd still need to mine technically.
What I'm interested in, is what I should modify to avoid mining in terms of premine.

Thanks.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: CraigWrightBTC on November 03, 2016, 03:33:05 PM
It is great tutorial, unfortunately i still don't understand about c++ programing language although i have learned about it, the problem will from the codes and algoritm, and i think it will need time more than two hours. Thank you so much it is nice informations.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: glerant on November 05, 2016, 11:55:18 AM
Thanks.

I'm already using Hazard's solution.

But I want to learn how the system works. So my question is still relevant. What is a good way if I want to have premined coins?
I can set difficulty target and emission speed factor to as high/low I want before the necessary coins are mined. However in this case I'd still need to mine technically.
What I'm interested in, is what I should modify to avoid mining in terms of premine.

Thanks.

The easiest way if you are using a Bitcoin clone is to 'instamine' the first few blocks by having grotesquely large rewards  - I think I am right in saying. I don't think you can avoid doing this whatever proof you are using to validate blocks unless you substantially change the code. Then you need to update the checkpoints before releasing the node software. If you have plenty of time you can do this over a few hundred or thousand blocks - the key is to be honest about this in your ANN as the emmission parameters will be obvious to even casual users with access to the source code.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Weatherby on November 05, 2016, 03:18:16 PM
thanks for the detailed guide ,i want to learn about these in detail and i will look into this on how things work as i am seeing many scrypt coins i have to understand the basics in finding out scammers just copy pasting the original source ,i am not an expert in c++ but i will try to experiment with it


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Oilacris on November 05, 2016, 03:46:07 PM
Quiet interesting because these thing came to my mind way back then when my curiosity about altcoin and actually made a question on my mind on how to create one, and I already assumed it would be a difficult one. As I've read on op, I could say it's really hard and I'm not mistaken, I'm not too good on c++ language but theres many things should be done in able to create one. I would study these steps though..thanks for this


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hsnbrg on November 08, 2016, 07:14:07 AM
Thanks.

I'm already using Hazard's solution.

But I want to learn how the system works. So my question is still relevant. What is a good way if I want to have premined coins?
I can set difficulty target and emission speed factor to as high/low I want before the necessary coins are mined. However in this case I'd still need to mine technically.
What I'm interested in, is what I should modify to avoid mining in terms of premine.

Thanks.

The easiest way if you are using a Bitcoin clone is to 'instamine' the first few blocks by having grotesquely large rewards  - I think I am right in saying. I don't think you can avoid doing this whatever proof you are using to validate blocks unless you substantially change the code. Then you need to update the checkpoints before releasing the node software. If you have plenty of time you can do this over a few hundred or thousand blocks - the key is to be honest about this in your ANN as the emmission parameters will be obvious to even casual users with access to the source code.

Thanks. Helped a lot.
One more thing:
When you checkpoint your premined blocks, are they need to be matured already? I need to wait 40-50 blocks to be mined, to make my first 2-3 blocks matured before checkpointing them?

Thanks


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Ebrelus on November 08, 2016, 03:21:47 PM
Really nice. That's the right direction to go. Blockchains for the people.

BTW Soon after launch of HEAT it will be also possible to easily get own fully operational crypto creating original side blockchain existing independently with other blockchains on existing network and throu it's wallet (no programming konwledge needed). Hopefully competition will help in rise of new original projects.
Now we need only smart people with good ideas for new innovative coins and meaningful useage of such blockchains. Possibilities are endless, you just need to notice them around you.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: electronicash on November 08, 2016, 03:36:30 PM
Really nice. That's the right direction to go. Blockchains for the people.

BTW Soon after launch of HEAT it will be also possible to easily get own fully operational crypto creating original side blockchain existing independently with other blockchains on existing network and throu it's wallet (no programming konwledge needed). Hopefully competition will help in rise of new original projects.
Now we need only smart people with good ideas for new innovative coins and meaningful useage of such blockchains. Possibilities are endless, you just need to notice them around you.

or it could go awry. a determined scammer can create a coin of his own and scam the users leaving the other coin team with nothing to compete about for the investors money are already taken by an anonymous scammer who create a smart innovative and use of blockchain.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Konda90 on December 07, 2016, 02:21:30 PM
hi guys,
i'm trying to build a new altcoin just for demostration.

i'm stuck at this point
Quote
4.  Change parameters, all in main.cpp:
   - block value (in GetBlockValue())
   - block time (right after GetBlockValue())
   - diff retarget time (right after GetBlockValue())
   - adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())

i opened main.cpp and found GetBlockValue() but all i can see is this:
Quote
bool LoadBlockIndex()
{

    // Load block index from databases
    if (!fReindex && !LoadBlockIndexDB())
        return false;
    return true;
}

anyone can help me?
thanks


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hetecon on December 07, 2016, 04:51:11 PM
hi guys,
i'm trying to build a new altcoin just for demostration.

i'm stuck at this point
Quote
4.  Change parameters, all in main.cpp:
   - block value (in GetBlockValue())
   - block time (right after GetBlockValue())
   - diff retarget time (right after GetBlockValue())
   - adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())

i opened main.cpp and found GetBlockValue() but all i can see is this:
Quote
bool LoadBlockIndex()
{

    // Load block index from databases
    if (!fReindex && !LoadBlockIndexDB())
        return false;
    return true;
}

anyone can help me?
thanks

If you are stuck, then do everyone a favor and give up.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: mikehersh2 on January 29, 2017, 10:27:36 PM
This is very helpful, thank you! I was thinking of designing a coin with my friend. It will be tough to get it off the ground though.

But overall, very well put together guide :D


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: adhitthana on January 30, 2017, 09:57:02 AM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.
lol, I still don't get why bitcoin worth more, everything is created from nothing, and it worth nothing.  ;D ;D ;D
Satoshi Nakamoto had a magic wand :)
https://www.youtube.com/watch?v=VKRAY3t1L-o


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: jonnytracker on March 06, 2017, 01:19:20 PM
a coin that can be compiled in visual studio 2015 or C# pos coin


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: tearodactyl on April 04, 2017, 05:10:51 AM
There is a noob Altcoin project named Practice Coin. In the process of reviewing coin types, coin building services, guides and tutorials.
In the end will make and launch our own coin.
https://bitcointalk.org/index.php?topic=1850047.0
  Tearo


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: qu4rtex on April 07, 2017, 02:28:01 PM
Hello,

Very nice post, congrats! Just one dumb question, sorry I'm new to Cryptocurrency...
After the creation of the new coin, how should you start injecting money to the network?
The starting coin ballance should start in an wallet and being transferred to other participants?
Would be possible having such thing as a "Central Bank" to issue money?
How should this could be accomplished?

Thanks
Q
 


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: aleddr on April 10, 2017, 01:12:00 AM
Hello Friends!!!

Following this guide and trying to compile my coin in windows i get this error msgs:

g++ -Wl,--large-address-aware -static -static-libgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\Coin-qt.exe object_script.Coin
-qt.Release  -L"c:\Qt\4.8.5\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -LC:/deps/miniupnpc -lminiupnpc -liphlpapi  -lshlwapi -LC:/deps/boost_1_5
5_0/stage/lib -LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4.4/.libs -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lo
le32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw47-mt-sd-1_53 -lboost_filesystem-mgw47-mt-sd-1_53 -lboost_program_options-mgw47-mt-sd-1_53 -lboost_thread-mgw47
-mt-sd-1_53 -lboost_chrono-mgw47-mt-sd-1_53 -lQtGui4 -lQtCore4
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ldb_cxx
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_system-mgw47-mt-sd-1_53
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_filesystem-mgw47-mt-sd-1_53
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_program_options-mgw47-mt-sd-1_53
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_thread-mgw47-mt-sd-1_53
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_chrono-mgw47-mt-sd-1_53
collect2.exe: error: ld returned 1 exit status
Makefile.Release:299: recipe for target 'release\Coin-qt.exe' failedmingw32-make: *** [release\Coin-qt.exe] Error 1

For i can see it seems a problem with the mgw47-mt thing  :o

Please help!

Ale



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: tearodactyl on May 05, 2017, 03:01:02 AM
which version of litecoin should we download??
there are 199 release in litecoin
i am not able to find all code/parameters in litecoin, that should be changed as per your instructions given in post.
The location of the blockchain parameters has been moved in the recent codebases. All the instructions and guides dating back from 2014 have become obsolete, for Litecoin releases based off Bitcoin 0.13 and later.
Cloning methods for the recent Litecoin version is a work-in-progress, a part of our learning process at the Practice Coin project https://bitcointalk.org/index.php?topic=1850047
  Tearo


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: YarkoL on May 05, 2017, 07:37:50 AM
You can always use older versions of the sources
and then the old guides will work - sort of, there are sometimes
intentional blanks and errors. But you ought to have some
understanding of what you are doing anyway. That is, you need a basic
knowledge of C++ and programming, otherwise you will
get stuck time and again.

The drawback in the older versions of the software is that they
may have security issues, so they're not fit for production
(launching your own coin) but for the learning purposes they are just fine.

In fact, for learning, the earlier the source, the better.



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gjhiggins on May 05, 2017, 12:40:57 PM
For i can see it seems a problem with the mgw47-mt thing

Indeed:


g++ -Wl,--large-address-aware -static -static-libgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\Coin-qt.exe object_script.Coin
-qt.Release  -L"c:\Qt\4.8.5\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -LC:/deps/miniupnpc -lminiupnpc -liphlpapi  -lshlwapi -LC:/deps/boost_1_5
5_0/stage/lib -LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4.4/.libs -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lo
le32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw47-mt-sd-1_53 -lboost_filesystem-mgw47-mt-sd-1_53 -lboost_program_options-mgw47-mt-sd-1_53 -lboost_thread-mgw47
-mt-sd-1_53 -lboost_chrono-mgw47-mt-sd-1_53 -lQtGui4 -lQtCore4
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ldb_cxx
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_system-mgw47-mt-sd-1_53


perhaps you'll have better luck with something like mgw49-mt-sd-1_55 or near offer.

The resolution lies in the <coinname>.pro file, look for where BOOST_LIB_SUFFIX is bound and ensure the numbers match the versions of the installed mingw and boost packages.

Cheers

Graham


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: aleddr on May 13, 2017, 02:28:50 AM
For i can see it seems a problem with the mgw47-mt thing
Graham




 ;D ;D
YOU FIX MY BOOST PROBLEM THANKS!!
 ::) ::)

right now seraching to fix this:

c:\test\coin-master\src/txdb-leveldb.h:119: undefined reference to `leveld
b::Status::ToString() const'
collect2.exe: error: ld returned 1 exit status
make: *** [coind.exe] Error 1

:(  


*EDIT: leveldb recompiled in windows... WORKS FINE NOW! ::)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: fookie on May 13, 2017, 07:06:29 AM
That is cool ,any guide on how to fork ETH?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: picchio on May 13, 2017, 07:29:56 AM
That is cool ,any guide on how to fork ETH?
Sorry, little english ...
Like this?: https://github.com/ledgerlabs/ethereum-getting-started/wiki/local-node
No need to fork, just start a new chain.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: fisheater on May 19, 2017, 11:51:04 PM
lol, glad to see people still interested in my "how-to" 4 years ago  ;D


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: MickGhee on June 02, 2017, 10:21:50 PM
thanks for the infoemations great help


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Arnon6766 on June 09, 2017, 04:06:55 PM
Hi,
Does anyone know what my error means when I start litecoin-qt
debug.log:
ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=602)
*** Failed to read block
Error Message when starting:
Error: An severe internal Error occured, see debug.log for details
Any Help would be apprecitaed
Thanks in advance


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: LynXMaSTeR on June 13, 2017, 07:12:25 PM
Is there anyone who produces his own coin in this way?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: forkedchain on June 13, 2017, 07:18:22 PM
Is there anyone who produces his own coin in this way?
  only like 1000 times so far.  welcome to the party


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: webvn2k on June 17, 2017, 12:01:33 AM
anyone can tell me , i want have  etc 1000,000 coin for developer or miner first (me-make coin) ,what name file i can change ? thank you


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on June 20, 2017, 01:52:38 AM
i have managed to set to work a version 8.7 or something like that, but i cant do it with the last version, stuck in the genesis block, i have generated some hash that dont throw the assert, but it seems they are not right because when i run ./litecoind sometimes gives an error that cant find the best block; or cant read the block (when this happens i reindex and dont throw any error but stay like running but do nothing)

with this I try to generate the genesis block, but never do more than 1 iteration, and cant be rigth, it should take a while to find the nonce
Code:
for(genesis.nNonce = 0; consensus.powLimit < genesis.GetHash()  ; genesis.nNonce++){ }

the hash function pass the assert, but it gives me then some of the errors mentioned above


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: mdodong on June 28, 2017, 02:22:15 AM
I know this is old but it's worth learning.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Prodigan786 on June 28, 2017, 06:20:43 AM
Thanks a lot its really awesome being a decade as a programmer i never thought to create a coin . Now its given initial pushing thing .I got some priority work to finish once done i will dedicate some time and try to create coin . i have C++ in college days even i dont think its a big deal .


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: sad_miner on June 28, 2017, 01:52:52 PM
lol, glad to see people still interested in my "how-to" 4 years ago  ;D

Oh yes, looks like a lot of fun!  Trying this out now.

Does the guide need to be updated?  Who found they needed to do a bit of extra research?  I'm finding I have to look elsewhere to change port numbers for a start...

Thanks for the guide to making new altcoins :)  Love it!  I hope to learn quite a bit from tinkering with the source and creating a nothing coin.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Asimmo on June 28, 2017, 01:59:48 PM
Does there exist any new such thread, with current reality, how to create a coin?
Or it`s the same?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on June 29, 2017, 03:49:10 PM
it is a good start point, but if you are going to code with latest release, this guide is obsolote, lot of things have changed since it was created.
So it needs to be updated, most of all, how to create the genesis block.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on July 02, 2017, 01:35:49 AM
you could try this one
http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin/ (http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin/)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: INRI666 on July 05, 2017, 01:33:18 PM
you could try this one
http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin/ (http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin/)

Thanks I'll read that later and try that one out. Thanks for sharing.

Did you try the guide yourself, and how good is it?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on July 06, 2017, 06:05:34 AM
it is easier with older versions, the newest one have changed a little bit, and can be harder, good luck with that


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: chian_reaction on August 01, 2017, 06:14:28 PM
lol, glad to see people still interested in my "how-to" 4 years ago  ;D

Thanks a lot for the detailed guide. I was searching for this for many days. This was the closest to what I was trying to do.
By the way, The code has changed a lot in the most recent version of bitcoin's repo. I was facing issues with OpenSSL headers when I tried to run the older version of the code.

I managed to change the parameters in chainparams.cpp and get the new hashblock and merkle hash. But stuck at finding the checkpoint methods that you mentioned in the guide. Without updating those the core is trying to load the checkpoints from disk and ends up in segmentation fault.

Any solution or direction I need to look into might help. Thanks a lot again.

Here is my debug.log
Code:
	2017-07-31 21:06:42 Bitcoin version v0.14.99.0-42307c4bf-dirty
2017-07-31 21:06:42 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-07-31 21:06:42 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures.
2017-07-31 21:06:42 Using the 'standard' SHA256 implementation
2017-07-31 21:06:42 Using RdRand as an additional entropy source
2017-07-31 21:06:42 Default data directory /Users/username/Library/Application Support/Bitcoin
2017-07-31 21:06:42 Using data directory /Users/username/Library/Application Support/Bitcoin
2017-07-31 21:06:42 Using config file /Users/username/Library/Application Support/Bitcoin/bitcoin.conf
2017-07-31 21:06:42 Using at most 125 automatic connections (4864 file descriptors available)
2017-07-31 21:06:42 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2017-07-31 21:06:42 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2017-07-31 21:06:42 Using 2 threads for script verification
2017-07-31 21:06:42 scheduler thread start
2017-07-31 21:06:42 HTTP: creating work queue of depth 16
2017-07-31 21:06:42 No rpcpassword set - using random cookie authentication
2017-07-31 21:06:42 Generated RPC authentication cookie /Users/username/Library/Application Support/Bitcoin/.cookie
2017-07-31 21:06:42 HTTP: starting 4 worker threads
2017-07-31 21:06:42 init message: Verifying wallet(s)...
2017-07-31 21:06:42 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2017-07-31 21:06:42 Using wallet wallet.dat
2017-07-31 21:06:42 CDBEnv::Open: LogDir=/Users/username/Library/Application Support/Bitcoin/database ErrorFile=/Users/username/Library/Application Support/Bitcoin/db.log
2017-07-31 21:06:42 Cache configuration:
2017-07-31 21:06:42 * Using 2.0MiB for block index database
2017-07-31 21:06:42 * Using 8.0MiB for chain state database
2017-07-31 21:06:42 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2017-07-31 21:06:42 init message: Loading block index...
2017-07-31 21:06:42 Opening LevelDB in /Users/username/Library/Application Support/Bitcoin/blocks/index
2017-07-31 21:06:42 Opened LevelDB successfully
2017-07-31 21:06:42 Using obfuscation key for /Users/username/Library/Application Support/Bitcoin/blocks/index: 0000000000000000
2017-07-31 21:06:42 Opening LevelDB in /Users/username/Library/Application Support/Bitcoin/chainstate
2017-07-31 21:06:42 Opened LevelDB successfully
2017-07-31 21:06:42 Using obfuscation key for /Users/username/Library/Application Support/Bitcoin/chainstate: 7bbd099730c6ddd0
2017-07-31 21:06:42 LoadBlockIndexDB: last block file = 0
2017-07-31 21:06:42 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2017-07-31 21:06:42 Checking all blk files are present...
2017-07-31 21:06:42 LoadBlockIndexDB: transaction index disabled
2017-07-31 21:06:42 Initializing databases...
2017-07-31 21:06:42 Pre-allocating up to position 0x1000000 in blk00000.dat
2017-07-31 21:06:42 init message: Verifying blocks...
2017-07-31 21:06:42  block index             208ms
2017-07-31 21:06:42 init message: Loading wallet...
2017-07-31 21:06:42 nFileVersion = 149900
2017-07-31 21:06:42 Keys: 2001 plaintext, 0 encrypted, 2001 w/ metadata, 2001 total
2017-07-31 21:06:42  wallet                  127ms
2017-07-31 21:06:42 setKeyPool.size() = 1999
2017-07-31 21:06:42 mapWallet.size() = 0
2017-07-31 21:06:42 mapAddressBook.size() = 1
2017-07-31 21:06:42 ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)
2017-07-31 21:06:42 *** Failed to read block
2017-07-31 21:06:42 Error: Error: A fatal internal error occurred, see debug.log for details


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: the-doctor on August 01, 2017, 08:14:44 PM
I have a mindblowing idea for a coin need a team. Are you developer fish can we do a setup?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Khkh on August 07, 2017, 12:32:28 AM
May i translate this post and upload it to my blog?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: chian_reaction on August 08, 2017, 04:38:23 AM
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: YarkoL on August 08, 2017, 01:16:19 PM
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?

This might work (it is mentioned in the tutorial)

https://github.com/bfroemel/smallchange



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on August 08, 2017, 06:00:21 PM
version 0.7.* should work, and not sure if .8 would work too


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: YarkoL on August 08, 2017, 06:52:07 PM
version 0.7.* should work, and not sure if .8 would work too

If you mean Bitcoin, yes, it would work, but you need to do
more things than what is provided in the opening post.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on August 09, 2017, 02:32:48 AM
version 0.7.* should work, and not sure if .8 would work too

If you mean Bitcoin, yes, it would work, but you need to do
more things than what is provided in the opening post.
but it is easier than latest versions for changing


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: chian_reaction on August 09, 2017, 03:44:17 PM
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?

This might work (it is mentioned in the tutorial)

https://github.com/bfroemel/smallchange



Thanks a lot for helping me out. Yes, I did look at that github. But when I try to build it, It gave an openssl error
Code:
fatal error 'openssl/bn.h' file not found'

OS: macOS Sierra 10.12
Openssl:
OpenSSL 0.9.8zh 14 Jan 2016
built on: Jul 30 2016
platform: darwin64-x86_64-llvm
options:  bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) blowfish(idx)
compiler: -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DMD32_REG_T=int -DOPENSSL_NO_IDEA -DOPENSSL_PIC -DOPENSSL_THREADS -DZLIB -mmacosx-version-min=10.6
OPENSSLDIR: "/System/Library/OpenSSL"


But the latest bitcoin or litecoin code builds perfectly.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: chian_reaction on August 09, 2017, 03:52:15 PM
version 0.7.* should work, and not sure if .8 would work too

0.7 version of which code? I wasn't able to find a 0.7 branch in either bitcoin or litecoin.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hous26 on August 09, 2017, 03:54:21 PM
If I make poop coin will you mine it?



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Makka on August 09, 2017, 03:59:46 PM
The easier how to make a new altcoin gets, the more prone this forum and the entire world of crypto will be flooded with new coins. We have already almost a thousand coins. And most of it are shitcoins and the rest are poopcoins. They are without real use in the real world. ;D
 


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Webb.Char23 on August 09, 2017, 04:10:00 PM
Wow this is awesome! I was half expecting to see "Download Waves" Make new token! But this is super legit. Thank you for posting and sharing :)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: YarkoL on August 09, 2017, 05:05:24 PM
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?

This might work (it is mentioned in the tutorial)

https://github.com/bfroemel/smallchange



Thanks a lot for helping me out. Yes, I did look at that github. But when I try to build it, It gave an openssl error
Code:
fatal error 'openssl/bn.h' file not found'

OS: macOS Sierra 10.12

Doing this stuff on mac or win was never a walk in a park. Get linux


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gjhiggins on August 10, 2017, 02:24:50 AM
But when I try to build it, It gave an openssl error
Code:
fatal error 'openssl/bn.h' file not found'


Try setting OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH.

Cheers

Graham


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on August 10, 2017, 08:01:12 PM
version 0.7.* should work, and not sure if .8 would work too

0.7 version of which code? I wasn't able to find a 0.7 branch in either bitcoin or litecoin.
i am not sure about 0.7, but i downloaded 0.8.* about a month ago..of litecoin


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: yslyv on August 10, 2017, 08:57:02 PM
Isnt it very easy with waves platform. You can create a new currency in only a few minutes. And waves platform has a good potential for next years so it is one of the best way for now i guess.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: AnimoEsto on August 10, 2017, 09:17:22 PM
Some interesting docs here. I prefer mining but I guess creating a coin could be good to keep the mind sharp. I would throw it away afterwards though or just run it as a pvt chain for testing.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Antikais on August 10, 2017, 09:46:48 PM
is this instructions still valid ? because thread is 4 years old. i want to make my own coin for fun but everything i found is old.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: KBater on August 10, 2017, 10:40:01 PM
Most wont read this and be like...  Why isn't my coin worth more?  Look at the feathercoin idiots.

haha feather[Suspicious link removed]d memories with this coin :P one of the first I messed with back in the day. 2014 was a good year :P


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: simplyarun on September 08, 2017, 11:12:01 AM

Hello,

I am new to the sphere of CryptoCurrency.

My understanding is that the guide is around the Windows system.

Can you direct me to a similar guide for setting it all up on a Linux system(Fedora)?

Gratitude


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freshbtcer on September 10, 2017, 12:57:34 AM
could someone please message me or help out here??? after i generate the genesis block and insert it twice into main.cpp once into checkpoints and insert merkle once into main.cpp then recompile i get an error: incorrect or no genesis block found. wrong datadir for network?

please without smart ass remarks help me out


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on September 10, 2017, 05:53:53 AM

Hello,

I am new to the sphere of CryptoCurrency.

My understanding is that the guide is around the Windows system.

Can you direct me to a similar guide for setting it all up on a Linux system(Fedora)?

Gratitude
the steps for what you need to change is the same , it has just different system requirements. dependenign n what crypto do you wanna try  you can find some documentation about it... generally provided by the same crypto of how to compile the currency


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: slugmandrew on September 11, 2017, 09:49:41 PM

Hello,

I am new to the sphere of CryptoCurrency.

My understanding is that the guide is around the Windows system.

Can you direct me to a similar guide for setting it all up on a Linux system(Fedora)?

Gratitude
the steps for what you need to change is the same , it has just different system requirements. dependenign n what crypto do you wanna try  you can find some documentation about it... generally provided by the same crypto of how to compile the currency

Never trust a man with "enlarge your penis" in his signature.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on September 12, 2017, 02:06:41 AM

Hello,

I am new to the sphere of CryptoCurrency.

My understanding is that the guide is around the Windows system.

Can you direct me to a similar guide for setting it all up on a Linux system(Fedora)?

Gratitude
the steps for what you need to change is the same , it has just different system requirements. dependenign n what crypto do you wanna try  you can find some documentation about it... generally provided by the same crypto of how to compile the currency

Never trust a man with "enlarge your penis" in his signature.

hahaha, do you need posts to reach your weekly signature campaign  to earn some pennies ???... at least post something usefull man, good luck in the signature campaign...


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: slugmandrew on September 12, 2017, 09:36:21 AM

Hello,

I am new to the sphere of CryptoCurrency.

My understanding is that the guide is around the Windows system.

Can you direct me to a similar guide for setting it all up on a Linux system(Fedora)?

Gratitude
the steps for what you need to change is the same , it has just different system requirements. dependenign n what crypto do you wanna try  you can find some documentation about it... generally provided by the same crypto of how to compile the currency

Never trust a man with "enlarge your penis" in his signature.

hahaha, do you need posts to reach your weekly signature campaign  to earn some pennies ???... at least post something usefull man, good luck in the signature campaign...

Just making a joke dude. I've never made any money from my signature, you can ask the Stratis team. I do it for the love. You on the other hand... clearly making bank with those sports betting robots and forex strategies.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: MickGhee on September 20, 2017, 03:14:02 AM
this shit is no good anymore


here are the goods

http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin/

if you cant do this contact me :)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on October 01, 2017, 04:46:02 AM
I am building new genes and hashes in debug.log. I found it on google after hours of searching before I decided if I could not do that without a tutorial it just did not make one. Remember that before you start the tutorial. have connected xxx to the network, and say it loads block 0 of 19311 blocks in the chain. This means it's still somehow trying to load the blackchannel blockchain
indeed, need to find it and delete it or replace it...


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gregor71 on October 09, 2017, 05:36:47 PM
Hey. I'm training to create a coin based on DashCoin with masternodes. I generated GenesisBlock and everything. After the launch, I get in the logs:

Quote
2017-10-09 16:55:58 CMasternodeSync::ProcessTick -- nTick 2593 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:04 CMasternodeSync::ProcessTick -- nTick 2599 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:10 CMasternodeSync::ProcessTick -- nTick 2605 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
I understand the mistake in the absence of the master. But how can I run it without having coins?

Perhaps it is necessary for the first time to turn off the master programs altogether?

In what direction should I move? Any ideas?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: imjustp on October 09, 2017, 05:54:57 PM

Hello,

I am new to the sphere of CryptoCurrency.

My understanding is that the guide is around the Windows system.

Can you direct me to a similar guide for setting it all up on a Linux system(Fedora)?

Gratitude
the steps for what you need to change is the same , it has just different system requirements. dependenign n what crypto do you wanna try  you can find some documentation about it... generally provided by the same crypto of how to compile the currency

Never trust a man with "enlarge your penis" in his signature.

I really needed that laugh after the day I've had at work.

Thank you kind soul.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: mindsports.io on October 15, 2017, 07:55:35 AM
this works, thanks for creating this.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Rebellious on October 15, 2017, 12:52:29 PM
Very nice and informative guide, thank you!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: simoo on October 31, 2017, 12:47:22 AM
Hey! Started following this guide and halfway through realised that it references files that don't exist. I'm presuming this is because this post is a few years old now.

I haven't managed to find an updated guide - anyone know where to find one? I noticed the comment above to a post on dillingers.com but would love to continue with Litecoin since I've already started if at all possible.

Many thanks for any help or pointers.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: freemanjackal on October 31, 2017, 01:16:54 AM
Hey! Started following this guide and halfway through realised that it references files that don't exist. I'm presuming this is because this post is a few years old now.

I haven't managed to find an updated guide - anyone know where to find one? I noticed the comment above to a post on dillingers.com but would love to continue with Litecoin since I've already started if at all possible.

Many thanks for any help or pointers.

it doesn't matter if it is btc or ltc, what you have to change is the same in both


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: s2 on October 31, 2017, 10:26:02 AM
This looks an interesting guide, thank you for taking the time to put it together!



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: maiiyeuchong on November 05, 2017, 08:09:45 PM
I need to help. I have created a coin for myself, but when sent, can not receive. Why wallet contacted the system it has multiple ports connected to it
http://fs1.directupload.net/images/171105/el82all8.png
http://fs5.directupload.net/images/171105/i8qqsing.png
http://fs5.directupload.net/images/171105/uncttku6.png


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hsnu on November 10, 2017, 09:35:45 AM
what is the alt coin server's system requirements ? can someone share the related topic for this.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: aldencio on November 10, 2017, 09:53:51 AM
so easy?!?! Do you write this post by yourself?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: broccolini on November 15, 2017, 04:18:03 AM
Hey. I'm training to create a coin based on DashCoin with masternodes. I generated GenesisBlock and everything. After the launch, I get in the logs:

Quote
2017-10-09 16:55:58 CMasternodeSync::ProcessTick -- nTick 2593 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:04 CMasternodeSync::ProcessTick -- nTick 2599 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:10 CMasternodeSync::ProcessTick -- nTick 2605 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
I understand the mistake in the absence of the master. But how can I run it without having coins?

Perhaps it is necessary for the first time to turn off the master programs altogether?

In what direction should I move? Any ideas?


Hey buddy, did you end up getting this to work? And if so, how did you solve it?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: blocklife on November 25, 2017, 02:32:13 PM
very good writeup, funny thing is everyone on P1 is either legendary or hero
thats how old this post is


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: acetouryahey on November 25, 2017, 02:47:15 PM
very good writeup, funny thing is everyone on P1 is either legendary or hero
thats how old this post is

yeah right as i read the year its on 2013 but it catches the eye the people to reply on this thread.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: watchbay30 on November 25, 2017, 03:01:20 PM
very good writeup, funny thing is everyone on P1 is either legendary or hero
thats how old this post is
I can't see a similar topic like this that is more updated than January 2015. I bet people aren't interested now in making a new alt coin, they just buy and sell alt coins now. They are more on trading now. There are tons of alt coins out there that are unsuccessful and just become dump coins.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: dale1075 on November 26, 2017, 06:32:28 AM
Interesting writeup. Makes me wonder how many are doing this right now (creating Alt Coin) and release it in the coming days.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: AltCreators on November 28, 2017, 05:18:43 PM
Great Guide.

Helped me with the genesis block mining part.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: turboblade on December 08, 2017, 11:28:20 PM
Any help with masternode code?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: QpeepBounties on December 08, 2017, 11:49:40 PM
We could enjoy also some more recent guide on who to make more complex coins.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: cvan on December 09, 2017, 12:05:16 AM
I honestly think it's easier to go with a project like Polymath that is building a platform for people to launch their own security token projects. they even have crypto-friendly lawyers.

Their demo: https://polymath.network/wizard/

https://polymath.network/


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: jdole on December 12, 2017, 02:28:33 PM
Great Guide.

Helped me with the genesis block mining part.
good! ;D


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: whiteseven on December 13, 2017, 03:08:07 PM
Wow this is awesome! I was half expecting to see "Download Waves" Make new token! But this is super legit.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Dejan Milosevic on December 27, 2017, 07:17:05 PM
First of all, thank you for your detailed tutorial.

I am new to crypto currencies and i want to create my own coin but not for the market, but for payment processing in small festival.

I successfully cloned and created 4 nodes of litecoin-core, and changed everything to match with my coin, but i am stuck for some things now.

I have several questions:

I used https://github.com/tiagosh/AltcoinGenerator to bootstrap everything

1. I am using -regtest parameter and i can successfully add blocks in each node and earn coins. First of all, how nodes know to communicate? Is there main node which is updating every other node in network? How current nodes know about new nodes?

2. Are that 4 nodes actually miners? How can I setup them to automatically mine and processing transactions, because i don't want payment platform to be decentralized, but only built on top of litecoin so it can scale to decentralized model if needed. Festival is small event and there are about 5000 people there which should be able to have wallets and make transactions, so i suppose it would need big number of miners?

3. How can i build mobile wallet? First of all, do you need actual node for every wallet? How can I create wallets which only can pay without actual nodes? And how to create mobile wallet which can send and pay? Is this possible with JSON-RPC api which exists in litecoin-core?

Applications should be SO SIMPLE, only to have qr code of wallet to receive, and also possibility to scan other qr code wallet and to send there.

So my main understandings are:

How nodes know about each other, is there centralizes api node?
How wallets know about nodes, where mobile wallet is sending request for making payment?
Can I make simple HTML5 and JAVASCRIPT wallet applications? It doesn't need to have whole blockchain on it just to be able to make transactions.

For last one, my basic idea is to have one node ( but dont know how to communicate with it? RPC-API? What is endpoint? server-ip:port? )
which is used for all payments or maybe to have node per wallet, but it will be on server and simple app will just communicating with it via some protocol? Is this secure? Are there flaws for this system? I tried to find litecoin-core for mobile but there is not.

So, somebody will ask me why just you dont build centralized database payment system instead?

Because I want to learn about blockchain step by step
Because it already have great code base for secure ledger balance processing which i need and i want to try working with it.

Sorry if my post is confused, but i have so much questions and need to start somewhere.

Thanks


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: WasTriffin on December 27, 2017, 08:00:31 PM
Isn't custom coin creation one of the major features of Bancor BNK ??

https://bitcointalk.org/index.php?topic=1789222.0

Read the bottom portion of the OP on the above [ANN] for BNK

WasTriffin ..


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: mark_443 on January 07, 2018, 08:10:11 PM
I am planning to create a New AltCoin Based on LiteCoin or Ethereum

1. Planning to hire some Developers - Need someone to Code the New Altcoin - will be paid Hourly or Stake in Company Shares
2. Have a Developer already who is ready to Design Website, Android/iOs Apps
3. Need to understand if i need someone to design the mining software so we can put it into a Android App and Send it to the List of Interested Individuals who are ready to Mine
4. Hired Couple of Guys for marketing and sales
5. have a set of Inverstors who are ready to Invest in more than 100K USD to maintain the software and upgrade costs to keep the COIN Running for a period of  time into Future

Interested People Please PM Me we can work out % of the Company Shares or Hourly Rate or Fixed Rate to Complete the design. I have already Registered the Company and Everything.




Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: ssanjeewa on January 17, 2018, 03:58:25 AM
is there available any video tutorials.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Joe1987 on January 21, 2018, 07:44:54 PM
How to change algorythm for fork? Or how to create new algorythm? can anyone explain me how to do this?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gregor71 on January 21, 2018, 07:46:22 PM
Hey. I'm training to create a coin based on DashCoin with masternodes. I generated GenesisBlock and everything. After the launch, I get in the logs:

Quote
2017-10-09 16:55:58 CMasternodeSync::ProcessTick -- nTick 2593 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:04 CMasternodeSync::ProcessTick -- nTick 2599 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:10 CMasternodeSync::ProcessTick -- nTick 2605 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
I understand the mistake in the absence of the master. But how can I run it without having coins?

Perhaps it is necessary for the first time to turn off the master programs altogether?

In what direction should I move? Any ideas?


Hey buddy, did you end up getting this to work? And if so, how did you solve it?

We have disabled the sync for the duration of the first block


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: wsxdrfv on January 24, 2018, 05:52:56 AM
Hi.

I also want to make my own coin.

Is this tutorial still can follow and works well?

I am concerned original posted so long ago.



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: wassimo on January 25, 2018, 01:19:06 PM
Hi.

I also want to make my own coin.

Is this tutorial still can follow and works well?

I am concerned original posted so long ago.



Same question, great guide, but is it actually??
thank you so much!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gregor71 on January 25, 2018, 11:00:23 PM
Part of the work you can do on the instructions, somewhere I'll have to figure it out


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: cha0s619 on February 01, 2018, 02:25:09 PM
Since there are so many garbage coins out there, I decide to create
this course to teach you how to create a new alt coin. It's so simple,
that I can usually do within 2 hours.

You need to have some basic knowledge of C++ programming. No need
to be an expert, but you need to understand the basic compiling errors
and how to fix them.

Follow the following steps to create a new alt coin:

Preparation Step:

Download the Litecoin full source code, you can find it in github, just
do a google, you'll find it.

If you use windows, follow the steps in this thread:
https://bitcointalk.org/index.php?topic=149479.0

set up environment and libs, and compile the Litecoin. If you are successful
in compiling it (and run it), then your environment is good.


Design your coin:

Now that you have env set up, before doing coding, you need to do some design of
your coin, this is simple math calculations, but you need them for parameters
in the coding.

Basically you need to determine what you want:
- name of the coin. Let's call it AbcCoin in our example. Also determine the symbol, we call it "ABC"
   in our example.
- block time: this is the average target time between blocks. Usually you set it between 15 sec and 2 mins.
   You can also do 10 mins if you want (like bitcoin), but it's too long imo.
- difficulty retarget time: this is important, since otherwise it could cause serious instamine problem.
   Usually it's between 1 hr to 1 day.
   (diff retarget time)/(block time) gives you how many blocks a diff retarget will happen. This is
   an important parameter to consider.
- what's the initial coin per block. People set it to 2 to 100, usually. You can set any you want.
   Also you can do coins per block based on the block number, or even randomly (like JKC/LKY etc).
- How long you want coins per block be halved. Usually it's 6 month to 3 years. But again you set whatever
   you like.
- Ports, you need two: connection and RPC ports. Choose the ones that are not used in common apps.
   You can google for a particular port usage.

There are some other things you may want to adjust, such as initial diffculty etc. But usually I don't want to bother with these.

Now with these parameters defined, one important thing is that you want to calculate how many blocks/coins
generated in a month, a year etc, and total coins ever will be generated. This gives you a good idea how overall
your coin will work, and you may want to re-adjust some parameters above.


Now the code change part.

Before you begin, copy the whole directory of Litecoin to Abccoin. Then modify the code in Abccoin.

Follow the below steps for code changes:

1. In Abccoin/src dir, do a search of "litecoin", and change most of them to "abccoin", note you may want
to do a case-sensitive replace. You don't have to replace all, but most should be replaced.
You can reference to smallchange code first commit
https://github.com/bfroemel/smallchange/commit/947a0fafd8d033f6f0960c4ff0748f76a3d58326
for the changes needed.

Note: smallchange 1st commit does not include many of the changes I will outline below, but it is a
good reference for what need to be changed.


2. In Abccoin/src dir, do a search on "LTC", and change them to "ABC".

3. Change the ports: use the ones you defined in coin design, and change in the following files:
- connection port: protocol.h and init.cpp
- rpc port: bitcoinrpc.cpp and init.cpp

4.  Change parameters, all in main.cpp:
   - block value (in GetBlockValue())
   - block time (right after GetBlockValue())
   - diff retarget time (right after GetBlockValue())
   - adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())

for the last item, refer to Luckycoin code, you will see how this is done.
For random coin values in block, refer to GetBlockValue() function in JKC and Luckycoin code.

5. According to your coin design, adjust the value in main.h:
   - max coin count
   - dPriority

6. Change transaction confirmation count (if you want say 3 confirmation transaction etc) in transactionrecord.h
also change COINBASE_MATURITY which affects the maturity time for mined blocks, in main.h/cpp.

7.  Create genesis block. Some people get stuck there, it's really easy:
- find LoadBlockIndex() function, inside, change:
    - paraphrase (pszTimestamp) to any recent news phase.
    - get the latest unix time (do a google), and put in block.nTime.
    - set any nNonce (doesn't really matter)
you can change the time/nonce for testnet too, if you want to use it.

After you are done, save it. Now the genesis block will not match the hash check and merkle root check, it doesn't matter.

The first time you run the compiled code (daemon or qt), it will say "assertion failed". Just exit the program, go to
config dir (under AppData/Roaming), open the debug.log, get the hash after "block.GetHash() = ", copy and paste it to the beginnig of main.cpp, hashGenesisBlock. Also get the merkle root in the same log file, paste it to the ... position in the following code, in LoadBlockIndex()
Quote
       assert(block.hashMerkleRoot == uint256("0x..."));

recompile the code, and genesis block created!

BTW, don't forget to change "txNew.vout[0].nValue = " to the coin per block you defined, it doesn't matter to leave as 50, just be consistent with your coin per block (do this before adjust the hash and m-root, otherwise they will be changed again).

Also you need to change the alert/checkpoint key, this depends on the coin type and version, you can find it in main.cpp, main.h, alert.cpp and checkpoint.cpp.

8. Set the correct address start letter in base58.h. You may want to do some trial and error to find the letter you want. I never can calculate precisely the letter location.

change corresponding "starts with " in sendcoinsentry.cpp
change example in signverifymessagedialog.cpp

9. Checkpoint: you want to disable the checkpoint check initially, otherwise you may get stuck.
You have multiple ways to disable it, my way is:
- open checkpoints.cpp
- there are 3 functions, comment out the normal return, and make them return either true, 0, or null, like this:
Quote
   bool CheckBlock(int nHeight, const uint256& hash)
    {
        if (fTestNet) return true; // Testnet has no checkpoints

        MapCheckpoints::const_iterator i = mapCheckpoints.find(nHeight);
        if (i == mapCheckpoints.end()) return true;
        // return hash == i->second;
      return true;
    }

    int GetTotalBlocksEstimate()
    {
        if (fTestNet) return 0;
   
        // return mapCheckpoints.rbegin()->first;
      return 0;
    }

    CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex)
    {
        if (fTestNet) return NULL;

        BOOST_REVERSE_FOREACH(const MapCheckpoints::value_type& i, mapCheckpoints)
        {
            const uint256& hash = i.second;
            std::map<uint256, CBlockIndex*>::const_iterator t = mapBlockIndex.find(hash);
            if (t != mapBlockIndex.end())
                // return t->second;
            return NULL;
        }
        return NULL;
    }

Now this is disabled. Once everything works, you can premine 50 blocks, and extract some hashes and put them in the checkpoints, and re-enable these functions.

That's about it. You can do compilation all the way along, no need to do in the end, you may get a lot compilation errors.

Oh, icons:

10. Find a nice image for your coin, then make 256x256 icons/images. You have 5 images to replace in src/qt/res/icons, and 1 to replace (splash) in src/qt/res/images.

11. Oh also edit those files in qt/forms. These are files for help etc, better make them look nice, display your coin names than litecoin ones.

12. Now for compilations:
- qt: modify the .pro file under abccoin, and follow the make process in
https://bitcointalk.org/index.php?topic=149479.0

- daemon: update one of the makefile for your system, and in my case I use mingw32 shell to make.


That's it, voila, you have your own alt coins!!



How do you go about forking a mobile wallet like mycelium in order to use it with an altcoin created using thsi tutorial?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: stcnetwork on February 01, 2018, 09:27:13 PM
Thank you so much it helped a lot. How can one create wallets for the newly created altcoin? Please write a tutorial on it also. Can someone tell me whose code has this guy forked? https://github.com/0xfff/VanCoin


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Leocrypto da Vinci on February 01, 2018, 11:34:29 PM
Very interesting stuff, but in the last years things changed a lot. Of course you still can make a new coin, but now - if there isn't a real project behind it, it will die immediately.
It would be as to print our own money: it's possible, but nobody will accept it.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: undead93 on February 02, 2018, 02:18:53 AM
Hey. I'm training to create a coin based on DashCoin with masternodes. I generated GenesisBlock and everything. After the launch, I get in the logs:

Quote
2017-10-09 16:55:58 CMasternodeSync::ProcessTick -- nTick 2593 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:04 CMasternodeSync::ProcessTick -- nTick 2599 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
2017-10-09 16:56:10 CMasternodeSync::ProcessTick -- nTick 2605 nRequestedMasternodeAssets 1 nRequeste
dMasternodeAttempt 0 nSyncProgress 0.000000
I understand the mistake in the absence of the master. But how can I run it without having coins?

Perhaps it is necessary for the first time to turn off the master programs altogether?

In what direction should I move? Any ideas?


Hey buddy, did you end up getting this to work? And if so, how did you solve it?

We have disabled the sync for the duration of the first block

how to disabled the sync for the duration of the first block?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: greatmemar on February 25, 2018, 08:12:54 AM
I followed this tutorial https://www.youtube.com/watch?v=YF3oE5uIP64&t=13s but stuck in running VM and creating wallet anyone can help?
I type getinfo show the connections 0
{
    "version" : 80704,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 0,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "difficulty" : 0.00024414,
    "testnet" : false,
    "keypoololdest" : 1519451476,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: PaxtonFabian on February 25, 2018, 08:38:18 AM
Since there are so many garbage coins out there, I decide to create
this course to teach you how to create a new alt coin. It's so simple,
that I can usually do within 2 hours.

You need to have some basic knowledge of C++ programming. No need
to be an expert, but you need to understand the basic compiling errors
and how to fix them.

Follow the following steps to create a new alt coin:

Preparation Step:

Download the Litecoin full source code, you can find it in github, just
do a google, you'll find it.

If you use windows, follow the steps in this thread:
https://bitcointalk.org/index.php?topic=149479.0

set up environment and libs, and compile the Litecoin. If you are successful
in compiling it (and run it), then your environment is good.


Design your coin:

Now that you have env set up, before doing coding, you need to do some design of
your coin, this is simple math calculations, but you need them for parameters
in the coding.

Basically you need to determine what you want:
- name of the coin. Let's call it AbcCoin in our example. Also determine the symbol, we call it "ABC"
   in our example.
- block time: this is the average target time between blocks. Usually you set it between 15 sec and 2 mins.
   You can also do 10 mins if you want (like bitcoin), but it's too long imo.
- difficulty retarget time: this is important, since otherwise it could cause serious instamine problem.
   Usually it's between 1 hr to 1 day.
   (diff retarget time)/(block time) gives you how many blocks a diff retarget will happen. This is
   an important parameter to consider.
- what's the initial coin per block. People set it to 2 to 100, usually. You can set any you want.
   Also you can do coins per block based on the block number, or even randomly (like JKC/LKY etc).
- How long you want coins per block be halved. Usually it's 6 month to 3 years. But again you set whatever
   you like.
- Ports, you need two: connection and RPC ports. Choose the ones that are not used in common apps.
   You can google for a particular port usage.

There are some other things you may want to adjust, such as initial diffculty etc. But usually I don't want to bother with these.

Now with these parameters defined, one important thing is that you want to calculate how many blocks/coins
generated in a month, a year etc, and total coins ever will be generated. This gives you a good idea how overall
your coin will work, and you may want to re-adjust some parameters above.


Now the code change part.

Before you begin, copy the whole directory of Litecoin to Abccoin. Then modify the code in Abccoin.

Follow the below steps for code changes:

1. In Abccoin/src dir, do a search of "litecoin", and change most of them to "abccoin", note you may want
to do a case-sensitive replace. You don't have to replace all, but most should be replaced.
You can reference to smallchange code first commit
https://github.com/bfroemel/smallchange/commit/947a0fafd8d033f6f0960c4ff0748f76a3d58326
for the changes needed.

Note: smallchange 1st commit does not include many of the changes I will outline below, but it is a
good reference for what need to be changed.


2. In Abccoin/src dir, do a search on "LTC", and change them to "ABC".

3. Change the ports: use the ones you defined in coin design, and change in the following files:
- connection port: protocol.h and init.cpp
- rpc port: bitcoinrpc.cpp and init.cpp

4.  Change parameters, all in main.cpp:
   - block value (in GetBlockValue())
   - block time (right after GetBlockValue())
   - diff retarget time (right after GetBlockValue())
   - adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())

for the last item, refer to Luckycoin code, you will see how this is done.
For random coin values in block, refer to GetBlockValue() function in JKC and Luckycoin code.

5. According to your coin design, adjust the value in main.h:
   - max coin count
   - dPriority

6. Change transaction confirmation count (if you want say 3 confirmation transaction etc) in transactionrecord.h
also change COINBASE_MATURITY which affects the maturity time for mined blocks, in main.h/cpp.

7.  Create genesis block. Some people get stuck there, it's really easy:
- find LoadBlockIndex() function, inside, change:
    - paraphrase (pszTimestamp) to any recent news phase.
    - get the latest unix time (do a google), and put in block.nTime.
    - set any nNonce (doesn't really matter)
you can change the time/nonce for testnet too, if you want to use it.

After you are done, save it. Now the genesis block will not match the hash check and merkle root check, it doesn't matter.

The first time you run the compiled code (daemon or qt), it will say "assertion failed". Just exit the program, go to
config dir (under AppData/Roaming), open the debug.log, get the hash after "block.GetHash() = ", copy and paste it to the beginnig of main.cpp, hashGenesisBlock. Also get the merkle root in the same log file, paste it to the ... position in the following code, in LoadBlockIndex()
Quote
       assert(block.hashMerkleRoot == uint256("0x..."));

recompile the code, and genesis block created!

BTW, don't forget to change "txNew.vout[0].nValue = " to the coin per block you defined, it doesn't matter to leave as 50, just be consistent with your coin per block (do this before adjust the hash and m-root, otherwise they will be changed again).

Also you need to change the alert/checkpoint key, this depends on the coin type and version, you can find it in main.cpp, main.h, alert.cpp and checkpoint.cpp.

8. Set the correct address start letter in base58.h. You may want to do some trial and error to find the letter you want. I never can calculate precisely the letter location.

change corresponding "starts with " in sendcoinsentry.cpp
change example in signverifymessagedialog.cpp

9. Checkpoint: you want to disable the checkpoint check initially, otherwise you may get stuck.
You have multiple ways to disable it, my way is:
- open checkpoints.cpp
- there are 3 functions, comment out the normal return, and make them return either true, 0, or null, like this:
Quote
   bool CheckBlock(int nHeight, const uint256& hash)
    {
        if (fTestNet) return true; // Testnet has no checkpoints

        MapCheckpoints::const_iterator i = mapCheckpoints.find(nHeight);
        if (i == mapCheckpoints.end()) return true;
        // return hash == i->second;
      return true;
    }

    int GetTotalBlocksEstimate()
    {
        if (fTestNet) return 0;
   
        // return mapCheckpoints.rbegin()->first;
      return 0;
    }

    CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex)
    {
        if (fTestNet) return NULL;

        BOOST_REVERSE_FOREACH(const MapCheckpoints::value_type& i, mapCheckpoints)
        {
            const uint256& hash = i.second;
            std::map<uint256, CBlockIndex*>::const_iterator t = mapBlockIndex.find(hash);
            if (t != mapBlockIndex.end())
                // return t->second;
            return NULL;
        }
        return NULL;
    }

Now this is disabled. Once everything works, you can premine 50 blocks, and extract some hashes and put them in the checkpoints, and re-enable these functions.

That's about it. You can do compilation all the way along, no need to do in the end, you may get a lot compilation errors.

Oh, icons:

10. Find a nice image for your coin, then make 256x256 icons/images. You have 5 images to replace in src/qt/res/icons, and 1 to replace (splash) in src/qt/res/images.

11. Oh also edit those files in qt/forms. These are files for help etc, better make them look nice, display your coin names than litecoin ones.

12. Now for compilations:
- qt: modify the .pro file under abccoin, and follow the make process in
https://bitcointalk.org/index.php?topic=149479.0

- daemon: update one of the makefile for your system, and in my case I use mingw32 shell to make.


That's it, voila, you have your own alt coins!!


Great post and thanks sharing!!!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Many Coins on March 01, 2018, 04:27:59 PM

7.  Create genesis block. Some people get stuck there, it's really easy:
- find LoadBlockIndex() function, inside, change:
    - paraphrase (pszTimestamp) to any recent news phase.
    - get the latest unix time (do a google), and put in block.nTime.
    - set any nNonce (doesn't really matter)
you can change the time/nonce for testnet too, if you want to use it.

After you are done, save it. Now the genesis block will not match the hash check and merkle root check, it doesn't matter.

The first time you run the compiled code (daemon or qt), it will say "assertion failed". Just exit the program, go to
config dir (under AppData/Roaming), open the debug.log, get the hash after "block.GetHash() = ", copy and paste it to the beginnig of main.cpp, hashGenesisBlock. Also get the merkle root in the same log file, paste it to the ... position in the following code, in LoadBlockIndex()
Quote
       assert(block.hashMerkleRoot == uint256("0x..."));

recompile the code, and genesis block created!

It's not working on BC 0.8, for example :(


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hushan on March 12, 2018, 02:55:02 AM
Thanks for the post, although it's an old post, but it's a good way to learn how bitcoin and blockchain works.
But one thing I don't quite understand why do you create a guide based on Litecoin, wouldn't it be much better if forking directly from Bitcoin? After all Bitcoin is the Mother Of All Coins(MOAC).


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: preda on March 21, 2018, 11:26:02 AM
Thank you so much it helped a lot. How can one create wallets for the newly created altcoin? Please write a tutorial on it also. Can someone tell me whose code has this guy forked? https://github.com/0xfff/VanCoin


Newbie with 1 post you wanna scam ppl with your new coin?😂 Ahahahaha


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: chicodosbitcoin on April 02, 2018, 11:55:13 PM
nice tutorial,

I have created the altcoin it is working perfeclty.

but my MAX_MONEY it is not working.

how can i fix this?

seams very complicated, my wallet it is creating more coins then suppose to have.

I created this but nobody helped.
https://bitcointalk.org/index.php?topic=3236523.msg33709414#msg33709414


someone can help me with this?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Ray3z on April 03, 2018, 02:03:38 AM
Thanks a lot its really awesome being a decade as a programmer i never thought to create a coin . Now its given initial pushing thing .I got some priority work to finish once done i will dedicate some time and try to create coin . i have C++ in college days even i dont think its a big deal .

It make the programmers so easy to make their own coin and make so many useless altcoin out there.
So what we need to do now? I think regulation of the coin would help the good coin grows. Only coin which has capability and not sh** coin.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: hushan on April 20, 2018, 03:09:09 PM
I made an update to this post, based on latest bitcoin codebase, please see https://bitcointalk.org/index.php?topic=3345808.0 (https://bitcointalk.org/index.php?topic=3345808.0)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: wann100 on July 31, 2018, 09:32:33 AM
nice tutorial,

I have created the altcoin it is working perfeclty.

but my MAX_MONEY it is not working.

how can i fix this?

seams very complicated, my wallet it is creating more coins then suppose to have.

I created this but nobody helped.
https://bitcointalk.org/index.php?topic=3236523.msg33709414#msg33709414


someone can help me with this?

What do you mean by it is not working? Did you test it and it let you have more then the max you set? Did you premine your coin?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on August 02, 2018, 02:34:35 AM
I made an update to this post, based on latest bitcoin codebase, please see https://bitcointalk.org/index.php?topic=3345808.0 (https://bitcointalk.org/index.php?topic=3345808.0)

will try look if this fixed genesis generate  ::)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Sanmark on August 02, 2018, 10:46:59 AM
If you want to make new coin, why just not use wawes platform to make it? I think that its not important how you make it, how much what that coin represents...


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on August 02, 2018, 01:56:52 PM
If you want to make new coin, why just not use wawes platform to make it? I think that its not important how you make it, how much what that coin represents...

you wrong dude how can cat is different with dog?

that simple cat is cat. dog is dog. so i think combine become one no.....

innovation growth not by them platform but intelligent of self.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Yowlahe on August 06, 2018, 12:46:31 AM
it is a decent begin point, however in the event that you will code with most recent discharge, this guide is obsolote, part of things have changed since it was made.

So it should be refreshed, the vast majority of all, how to make the beginning square


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on August 06, 2018, 09:06:49 AM
it is a decent begin point, however in the event that you will code with most recent discharge, this guide is obsolote, part of things have changed since it was made.

So it should be refreshed, the vast majority of all, how to make the beginning square

the code change by time to time...what we need follow up. if new player in this game in....i think will lose. because now bitcoin have segwit and another of fork have specialty of technology. this guide work old fork~


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: goilom on August 12, 2018, 02:13:20 PM
Calm intriguing on the grounds that these thing struck a chord path in those days when my interest about altcoin and really influenced an inquiry at the forefront of my thoughts on the best way to make one, and I effectively accepted it would be a troublesome one. As I've perused on operation, I could state it's extremely hard and I'm not mixed up, I'm not too great on c++ dialect but rather theres numerous things ought to be done in ready to make one. I would examine these means though..thanks for this


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on August 12, 2018, 05:07:14 PM
Calm intriguing on the grounds that these thing struck a chord path in those days when my interest about altcoin and really influenced an inquiry at the forefront of my thoughts on the best way to make one, and I effectively accepted it would be a troublesome one. As I've perused on operation, I could state it's extremely hard and I'm not mixed up, I'm not too great on c++ dialect but rather theres numerous things ought to be done in ready to make one. I would examine these means though..thanks for this

new code more complex than this so need experiment self  ;D


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Playboi on August 14, 2018, 12:16:54 PM
great thread


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on August 15, 2018, 10:08:23 AM
great thread

rather cool if them update segwit ahahaha but. i try many thing here~bitcoin complexed codes!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Pleemlio on August 18, 2018, 01:48:17 PM
Calm fascinating on the grounds that these thing rung a bell route in those days when my interest about altcoin and really influenced an inquiry at the forefront of my thoughts on the most proficient method to make one, and I effectively accepted it would be a troublesome one. As I've perused on operation, I could state it's extremely hard and I'm not mixed up, I'm not too great on c++ dialect but rather theres numerous things ought to be done in ready to make one. I would think about these means though..thanks for this


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on August 19, 2018, 10:48:46 AM
Calm fascinating on the grounds that these thing rung a bell route in those days when my interest about altcoin and really influenced an inquiry at the forefront of my thoughts on the most proficient method to make one, and I effectively accepted it would be a troublesome one. As I've perused on operation, I could state it's extremely hard and I'm not mixed up, I'm not too great on c++ dialect but rather theres numerous things ought to be done in ready to make one. I would think about these means though..thanks for this

well yeah today at last programmer C++ got proud for this. when i stop on c++ now back again. they like family for me. for now what altcoin need is what change. and goal they have  ::)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Tokenista on August 25, 2018, 07:34:07 AM
Ethereum Smart Contract pre-compiled
https://github.com/satansdeer/ethereum-token-tutorial


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Tulanpa on August 27, 2018, 01:35:18 PM
Waooh, this is a great topic and I really like the write up but the only problem is i don't know c++. This will be my Ginger mode to study the c++. Lastly if you can perhaps give the guide on how to fish out scam coin,  it will be of great help


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: CryptoVentureFund on September 03, 2018, 05:36:29 PM
Since there are so many garbage coins out there, I decide to create
this course to teach you how to create a new alt coin. It's so simple,
that I can usually do within 2 hours.
...





Can you contact me for hiring you?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: matale0 on September 05, 2018, 02:19:20 AM
Any guide for POS coin?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: YarkoL on September 05, 2018, 02:12:53 PM
Any guide for POS coin?

I've written a guide on who to make altcoin
based on Peercoin, but it is based on earlier version.

However it should give solid guidelines on how to
work with newer version, if you have a basic understanding
of coding.

https://www.scribd.com/document/352682620/Yarkos-Altcoin-Guide


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: gjhiggins on September 05, 2018, 10:36:14 PM
https://www.scribd.com/document/352682620/Yarkos-Altcoin-Guide

Any chance of posting it somewhere less intrusive?

Cheers

Graham


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bluudz on November 07, 2018, 01:07:14 AM
Hello and thanks for the guide. I'm learning how the blockchain works and trying to do my home shitcoin, but I can't seem to be able to get rid of the blockchain and old genesis block from any wallet I tried to be able to restart the chain for myself. Would anyone help me out and let me know what to do to delete old genesis block? At the moment I'm trying Peercoin client.

Thanks anyone for help.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: DaCryptoRaccoon on November 08, 2018, 06:11:05 PM
Is it possible to mine 21 000 billion coins in the first block and then let it mine 1 coin per minute? Is this possible?

You can pre-mine as many coins as you like set the coin value in the Genesis block to the value of coins you want to mine in the first block.
I see no trouble with this.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: bluudz on November 08, 2018, 11:12:20 PM
I did manage to get the Peercoin cloned

https://steemit.com/cryptocurrency/@bluudz/how-to-create-cryptocurrency-pow-pos-peercoin-based-e4c88518156d3est

Hope it will help someone.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Vasilkoff on December 06, 2018, 04:44:47 PM
I'm creating a new Cryptocurrency and look forward to any contributors. PM me.

Can be a contributor in case you are doing something valuable  :)



Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on January 09, 2019, 06:50:15 AM
I'm creating a new Cryptocurrency and look forward to any contributors. PM me.

if just copy paste work it's not good. you need more sharp doing. I'm doing costume my self after last fork bitcoin. it's before peercoin. and I costumed it so it's new system self.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: dnprock on February 23, 2019, 02:16:22 AM
The hardest part that people often miss is: You have to mine your own Genesis block. Here's a guide to mine your own Genesis block.

https://medium.com/@dophuoc/how-to-mine-a-genesis-block-for-your-bitcoin-fork-471b1fb47efb


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: skiorf on February 23, 2019, 03:45:26 AM
This is such a nice tutorial, but doesn't this would means that it will increase the number of low quality coins to be increase even more if more and more people able to create one for them self.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Pffrt on February 23, 2019, 04:27:34 AM
Just have completed reading the whole topic and ut looks pretty easy to me. I am still confused about some issue. Will you mind to receive a PM from me regarding some question?


Title: Re: Complete Guide on How to Create a New Alt Coin
Post by: ronwewee on February 23, 2019, 07:41:01 AM
Missing some key parts, but I'm not gonna be the one to fill in the gaps for you.

Learn Hazard, your 0.5BTC has no business, lol ;D

What, Is he going to build his own cryptocurrency? I think it is not just enough that he created a code for it. We need here is the supporters that will going to make things possible in the crypto space.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: TheWolf666 on March 06, 2019, 04:33:21 AM
Is it possible to mine 21 000 billion coins in the first block and then let it mine 1 coin per minute? Is this possible?

Avoir premine in the genesis block (first block). Rather pre-min on 100 blocks or more so that all the BIP and Segwith can kick in othewerwise if you premine too much at a low height the block will fail to meet the minimum work consensus and your nodes will flag your mining wallet for Misbehavor or wrong block header's errors. Just do it spread on time, and don't forget to change the STALE_CHECK_INTERVAL to a value higher than the time between your genesis creation (1st block) and your first premined block.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: TheWolf666 on March 06, 2019, 04:39:33 AM
There are so many things missing from this tutorial (as of Bitcoin 0.18) that you should not worry about that. I just think about all the verifcation.cpp stuff or using stratum and a pool to mine... jezz this tutorial is good for starting but there is so much work that is not explained here (or anywhere). If you are not a very good experienced C++ dev and you have a lot of time, better use bitcoin 0.14 like most coins are using (zCash, Dash, Litecoin etc...) latest version of Bitcoin has a lot of security enhancements that you need to remove to start mining at height=1


This is such a nice tutorial, but doesn't this would means that it will increase the number of low quality coins to be increase even more if more and more people able to create one for them self.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: nur1labs on March 10, 2019, 01:13:30 AM
many things will be missing if you guys do not see updates. see updates on bitcoin GitHub. or any further altcoins upgraded.  ;D


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: dnprock on March 20, 2019, 06:34:45 PM
This is such a nice tutorial, but doesn't this would means that it will increase the number of low quality coins to be increase even more if more and more people able to create one for them self.

I'm still in the process of creating a new coin, Bitflate, https://github.com/bitflate/bitflate. It's not as easy as following steps. The biggest challenge to come is the infrastructure to support a coin.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: TheWolf666 on May 02, 2019, 11:46:37 AM
Just so you know, a different thread about the same subject, but updated for 2019 and Bitcoin 0.17/0.18 has been posted here: https://bitcointalk.org/index.php?topic=5134256.0 (https://bitcointalk.org/index.php?topic=5134256.0)


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: moijiashiasei on June 25, 2019, 03:58:28 PM
Im doing new altcoin launch full service
According to guide with more options to choose
basic package 300 us
mobile wallets


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: TheWolf666 on June 26, 2019, 04:52:24 AM
What version of Bitcoin are you forking?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: Patarawan on June 26, 2019, 04:03:19 PM
This thread is very old, you might check another more recent one... because Bitcoin has changed a lot since. Maybe it should be archived.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: masonrycrypto on June 26, 2019, 05:23:04 PM
Copy a Blockchain.... Run nodes... Done.

Easier said than done for new upcoming blockchains


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: moijiashiasei on August 29, 2019, 12:17:38 PM
any version needed including latest

What version of Bitcoin are you forking?


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: moijiashiasei on August 29, 2019, 12:19:26 PM
yeah I started number years ago
anyways using latest source code possible

This thread is very old, you might check another more recent one... because Bitcoin has changed a lot since. Maybe it should be archived.


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: moijiashiasei on August 29, 2019, 12:21:25 PM
yeah takes bit more time but possible

Copy a Blockchain.... Run nodes... Done.

Easier said than done for new upcoming blockchains


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: DaCryptoRaccoon on September 11, 2019, 04:24:08 PM
This guide is well out of date now and missing key info and things that need to be done.

if you fork early coins that still have the old SSL libs ect for example you open up your coin to attacks.

This guide is outdated and should NOT be used for a production coin now.

Guys it was posted in 2013 lol just a touch out of date don't you think lol


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: moneyball on September 26, 2019, 11:11:42 AM
Thanks for the info mate this looks verry good!


Title: Re: *** Complete Guide on How to Create a New Alt Coin ***
Post by: mkschreder on May 19, 2020, 11:05:00 PM
I made a video that walks you through how to actually achieve full rename (including renaming ALL files and ALL occurances of bitcoin to your own altcoin). Watch it here: https://youtu.be/YXtu3ZIje1g