-
Notifications
You must be signed in to change notification settings - Fork 0
Producer Commands
kstola2 edited this page Jun 25, 2019
·
2 revisions
-
-dor--debugwill toggle debug logging -
-gor--genesiswill run the genesis procedure, which will initialize the blockchain and all tables. -
--supply=<>represents the total static Aurum supply.
Before running genesis, make sure that there exists a genesis_hashes.txt file in the same directory as the executable. This file should contain a list of 64-character, hex-encoded wallet addresses, with each address on its own line.
Assuming we have our executable called producer, run:
./producer -d -g --supply=<>
Supply is a positive integer representing the initial supply of Aurum, to be divided equally among all addresses contained in the genesis_hashes.txt file.
Once it is logged that an airdrop is successful, confirm that the following files were created:
blockchain.dat, metadata.db, accounts.db
You can now proceed to build in the blockchain.