Last updated
Last updated
This is a guide on how to make your own Qwertycoin fork.
Before we begin, you will see a license at the beginning of every file. It is important not to remove or alter that license statement other than how we have it detailed here.
src/CMakeLists.txt
lib/Global/Constants.h
lib/global/CryptoNoteConfig.h
Block time is measured in seconds. Qwertycoin has 2 minute blocks.
lib/global/CryptoNoteConfig.h
lib/global/CryptoNoteConfig.h
Mined coins should wait about 20 minutes before being awarded to the miners. You can adjust this to suit your coin's parameters.
lib/global/CryptoNoteConfig.h
The coin supply is measured in Atomic Units. The amount of decimal places that you have determines how many coins this number truly represents.
(uint64_t)(-1)
= 18446744073709551616 coins
You can define number explicitly like so: UINT64_C(18446744073709551616)
lib/global/CryptoNoteConfig.h
lib/global/CryptoNoteConfig.h
Change this number to suit your needs.
lib/global/CryptoNoteConfig.h
Set the fees in Atomic Units for each transaction. Make sure this number isn't too low or you might run into spam transaction attacks.
lib/global/CryptoNoteConfig.h
This section defines the fees that the remote node will receive from the sender.
lib/global/CryptoNoteConfig.h
Dust is the word for the smallest pieces of a coin that are too small to be included with in a block. Any amount lower than this will not be spendable. This number is measured in Atomic Units.
lib/global/CryptoNoteConfig.h
Mixin determines how private transactions are. A high mixin on a new network can cause transactions to fail so it is suggested to allow zero mixin and to start off with reasonable limits and increase later.
lib/global/CryptoNoteConfig.h
If you want to be an ASIC mined coin, make this number very high (~300000-350000). If you don't want to be ASIC mined, set this number to 3. You can also change V5 and V6 for your coin.
lib/global/CryptoNoteConfig.h
lib/global/CryptoNoteConfig.h
Set these to personal preference.
lib/global/CryptoNoteConfig.h
Set this according to your preferences.
lib/global/CryptoNoteConfig.h
Seed nodes are full daemons that serve up a copy of the blockchain data for peers just joining the network. Minimum amount is one but several are recommended.
lib/global/Checkpoints.h
Remove checkpoints.
lib/Global/Constants.h
Change to your personal preference.
lib/Global/Constants.h
Your address length should be 95 + the number of letters in your address prefix.
Example for Ubuntu
After installing dependencies run simple script:
If all went well, it will complete successfully, and you will find all your binaries in the ./build/src
directory.
On the seed nodes that you listed in src/config/CryptoNoteConfig.h
, launch your newly compiled daemons. It is suggested that you run the daemons inside of tmux to keep them running. Here's how to start the daemons inside a basic loop to relaunch the daemon if it fails.
Type control b + d
to exit tmux
This ASCII art will display on the binary programs. You can use to create your ASCII art. Depending on the ASCII art you choose to use, you may need to provide a different version for Windows.
Qwertycoin has an address prefix of QWC. Every wallet that is generated will begin with the same prefix. You can use the generator on to generate your prefix in hexadecimal.
The emission speed governs how much of the coin's total available supply is awarded to miners with each block. You can play around with the emission speed using .
, build-essential, git
.