Skip to content

Producer Commands

kstola2 edited this page Jun 25, 2019 · 2 revisions

List of Commands

  • -d or --debug will toggle debug logging
  • -g or --genesis will run the genesis procedure, which will initialize the blockchain and all tables.
  • --supply=<> represents the total static Aurum supply; must be a positive integer.

Genesis

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 our executable is called producer and we want for example 40 billion initial Aurum supply, run:

./producer -d -g --supply=40000000000

The initial total Aurum supply will 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.

Running the Producer

Clone this wiki locally