A basic blockchain-based peer-to-peer cryptocurrency
- golang >= 1.20
bash build.shTo start a node
./bcnodeTo start a mining node
./bcnode --miners <numCpuCores> --payout <publicKeyHash>You can generate a miner payout address with the cli generate command. Your miner will probably find a few useless blocks while it's still syncing its chain with the seed peer.
To persist the chain to disk (uses several hundred MB)
./bcnode --save-dir=<path-to-save-directory>For more info
./bcnode --helpTo view available commands
./bcwallet helpTo generate a new wallet address
./bcwallet generateTo view your balance
./bcwallet balanceTo send money to an address
./bcwallet send <address>:<amount>