Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.34 KB

single-full-node.md

File metadata and controls

43 lines (30 loc) · 1.34 KB

Set up a single full account node

Usage

The end result will be a burrow.toml that will be read in from your current working directory when starting burrow.

Configuration

Configure Burrow

The quick-and-dirty one-liner looks like:

# Read spec on stdin
burrow spec -p1 -f1 | burrow configure -s- > burrow.toml

which translates into:

# This is a place we can store config files and burrow's working directory '.burrow'
mkdir chain_dir && cd chain_dir
burrow spec --participant-accounts=1 --full-accounts=1 > genesis-spec.json
burrow configure --genesis-spec=genesis-spec.json > burrow.toml

Run Burrow

Once the burrow.toml has been created, we run:

# To select our validator address by index in the GenesisDoc
burrow start --validator-index=0
# Or to select based on address directly (substituting the example address below with your validator's):
burrow start --validator-address=BE584820DC904A55449D7EB0C97607B40224B96E

and the logs will start streaming through.

If you would like to reset your node, you can just delete its working directory with rm -rf .burrow. In the context of a multi-node chain it will resync with peers, otherwise it will restart from height 0.

Send transactions to the blockchain

You can start to send transactions.