Skip to main content

Block Producer Getting Started

note

Before following this guide, complete the Validator Node setup — from Requirements through Connect to Mainnet or Devnet. You should have a synced node and a key pair before proceeding.

Start the daemon

Run the daemon with the --block-producer-key flag pointing to your wallet key:

mina daemon --peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt \
--block-producer-key ~/keys/my-wallet

To send block rewards to a different account (e.g. a cold wallet), add the --coinbase-receiver flag:

mina daemon --peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt \
--block-producer-key ~/keys/my-wallet \
--coinbase-receiver $RECEIVER_PUBLICKEY

Verify block production

Run mina client status and check the Block producers running field:

Block producers running:                       1 (B62q...)
Coinbase receiver: Block producer
Next block will be produced in: in 7.077h for slot: ...