Bitcoin Forum
May 24, 2024, 01:50:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to Clone An Altcoin- Scrypt Coin Edition-Includes Largest Windows Guide Ever  (Read 3761 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
TheAltcoinKing (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 12, 2014, 03:31:07 PM
 #1

Cloning your own altcoin client can be tricky. This guide is the most up to date reference tool to clone Scrypt coins. The guide is written specifically to clone Litecoin from the current Github repository for Windows users. It includes setting up seed nodes, premines, checkpoints, Github for Windows and few extras not found in other guides.

If you have a Windows machine you can follow this guide to make your own altcoin. I will be adding in the near future clone guide for x11, x13, POW/POS etc. As a clean point of reference each guide will be written specifically for each algo. Linux, MAC and 64bit versions will come though it would be faster to find someone willing to take these originals and edit them over.

If someone is selling you an ICO, you can get all that here for free.

The first full guide is available now at https://howtocloneanaltcoin.com/index.php?topic=8.0. Question will be answered quicker over on these forums instead of this thread.

I have divided the guide into easy to reference sections.

1. Pre Installers.
  • 1a. Winrar
    1b. Compression
    1c. MinGW
2. Windows Deps.
  • 2a. OpenSSL
    2b.Berkeley DB
    2c. Boost
    2d. MiniUPNP
    2e. Protoc and Libprotobuf
    2f. Libpng
    2g. qrencode
3. Download and Compile QT.
4. The Clone
  • 4a. Source Code
    4b. Copy and Replace Litecoin
    4c. Copy and Replace LTC
    4d. Change rpc and port numbers.
    4e. Change starting letter for addresses.
    4f. Update client version number.
    4g. Change Litecoin example addresses to Clonecoin Addresses.
    4h. Change char pchMessageStart and ParseHex.
    4i. Change alert keys.
    4j. Remove Merkel root and Genesis Block.
    4k. Remove Nonce and testnet genesis.
    4l. Add Epoochtime and Timestamp.
    4m. Fixing the checkpoints.
    4n. Change max money supply and coinbase maturity.
    4o. Change block times from 2.5 minutes to 30 seconds.
    4p. Change re-targeting
    4q. Add premine and change block rewards.
    4r. Update Images.
    4s. Update Seed node/ AWS Seed node guide.
5. Hashing the Genesis Block and Merkel Root.
  • 5a. Ability to hash Genesis Block.
    5b. Compiling Clonecoin Windows QT.
    5c. Generating Merkel Root
    5d. Hashing the Genesis Block.
6. Connecting your nodes.
  • 6a. Create a conf.
    6b. Connect- server and home network.
7. Checkpointing the premine.
8. Clean up You Code.
9. Compiling Clonecoind.
  • 9a. Compile Clonecoind.
    9b. Remove and cleanup.
10. Github for release, made easy.
  • 10a. Easy Pushing Commits/Launch code.
    10b. Easy Revert Commits
    10c. Easy Pushing Updates.
11. Common Errors
12. Quick Logos
13. The Website.
  • 13a. The Template.
    13b. Upload to a website.
14. The Launch. Ninja vs Pumped vs ICO.
  • 14a. Prelaunch
    14b. The Ninja
    14c. The Pumped.
    14d. The ICO.
dejanr
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 15, 2014, 08:52:17 AM
 #2

Do you have a modification for bitcoin Genesis generation script for 0.9.3 version?

Thanks
TheAltcoinKing (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 18, 2014, 03:51:11 PM
 #3

You need to add the following. (Source)

Code:
if (IsCalculatingGenesisBlockHash && (block.GetHash() != hashGenesisBlock)) {
block.nNonce = 0;

            // This will figure out a valid hash and Nonce if you're
            // creating a different genesis block:
            uint256 hashTarget = CBigNum().SetCompact(block.nBits).getuint256();
            while (block.GetHash() > hashTarget)
            {
                ++block.nNonce;
                if (block.nNonce == 0)
                {
                    printf("NONCE WRAPPED, incrementing time");
                    ++block.nTime;
                }
if (block.nNonce % 10000 == 0)
{
printf("nonce %08u: hash = %s \n", block.nNonce, block.GetHash().ToString().c_str());
}
            }
        }
gnomethrower
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 06, 2015, 10:30:15 PM
 #4

How do I turn pszTimestamp into a public key so I can generate a genesis block with it?

I've tried almost every obvious idea that I can...
celebreze32
Sr. Member
****
Offline Offline

Activity: 296
Merit: 250


View Profile
January 06, 2015, 11:02:57 PM
 #5

It's a good guide but the forum is filling up with "buy cheap ugg boots" spam. Delete it before your forum gets overwhelmed with it.
bhokor
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
March 03, 2015, 03:19:05 PM
 #6

thanks for the guide, do we have some more updated guide for Pos coins?

thanks
tokeweed
Legendary
*
Offline Offline

Activity: 3962
Merit: 1419


Life, Love and Laughter...


View Profile
March 03, 2015, 04:02:50 PM
 #7

Cool!  Encouraging more people to become just like this.  https://www.youtube.com/watch?v=cIasr2AiyZ0


R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
|
██░░░░░░░░░░░░░░░░░░░░░░██
▀█▄░▄▄░░░░░░░░░░░░▄▄░▄█▀
▄▄███░░░░░░░░░░░░░░███▄▄
▀░▀▄▀▄░░░░░▄▄░░░░░▄▀▄▀░▀
▄▄▄▄▄▀▀▄▄▀▀▄▄▄▄▄
█░▄▄▄██████▄▄▄░█
█░▀▀████████▀▀░█
█░█▀▄▄▄▄▄▄▄▄██░█
█░█▀████████░█
█░█░██████░█
▀▄▀▄███▀▄▀
▄▀▄
▀▄▄▄▄▀▄▀▄
██▀░░░░░░░░▀██
||.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▄██████▀████░███▄██▄
███░████████▀██░████░███
███░████░█▄████▀░████░███
███░████░███▄████████░███
▀██▄▀███░█████▄█████▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
FAZE CLAN
SSC NAPOLI
|
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!