Run a node
💡
Tip: Before you start, it is advisable to have a look at the following documents
Find and download the current version for CLI
https://github.com/Areon-Network/AreonCLI (opens in a new tab)
Peer to connect to an active and authenticated node
[email protected]:26656
It is useful to set some conditions at the beginning
areoncli config keyring-backend file
areoncli config chain-id areon_462-1
# | Value |
---|---|
$MONIKER | MyMoniker |
$WALLET | MyWallet |
$ADDRESS | 0xCe36797F4A8F77720968b02167e9bF12281F1A42 |
$PRIVATE | 0xf777eb55aec364e5e77dd20a0d011c99ac6e582daf9f82e1f64af264daed8bd0 |
Tip: Used as an example.
areoncli init $MONIKER --chain-id areon_462-1
Create a new wallet or import
areoncli keys add $WALLET
areoncli keys unsafe-import-eth-key $WALLET $PRIVATE
Download genesis
wget -O .areonchaindatadir/config/genesis.json https://archive.areon.network/genesis.json
wget -O .areonchaindatadir/config/config.toml https://archive.areon.network/config.toml
wget -O .areonchaindatadir/config/app.toml https://archive.areon.network/app.toml
areoncli validate-genesis
Start node
areoncli start --log_level warn --keyring-backend os