Join Oraichain Pro Network Testnet
Install evmosd
Can be downloaded, or following this installtation document: https://docs.evmos.org/validators/quickstart/installation.html
Initialize Node
Before actually running the node, we need to initialize the chain, and most importantly its genesis file. This is done with the init subcommand:
./build/evmosd init ValidatorName --chain-id=balcony_888888-1 --home .evmosd
Copy the Genesis File
cp -rf .evmosd_validator/config/ .evmosd/
Adding Genesis Accounts
Before starting the chain, you need to populate the state with at least one account using the keyring:
./build/evmosd keys add validator_key --recover --home .evmosd
You must be input your mnemonic and password
Once you have created a local account, go ahead and grant it some orain tokens in your chain's genesis file. Doing so will also make sure your chain is aware of this account's existence:
./build/evmosd add-genesis-account validator_key 100000000000000000000000orain --home .evmosd
Create tx for genesis account
./build/evmosd gentx validator_key 100000000000000000000000orain --chain-id balcony_888888-1 --home .evmosd
Collecting gentx
By default, the genesis file do not contain any gentxs. A gentx is a transaction that bonds staking token present in the genesis file under accounts to a validator, essentially creating a validator at genesis. The chain will start as soon as more than 2/3rds of the validators (weighted by voting power) that are the recipient of a valid gentx come online after genesis_time.
A gentx can be added manually to the genesis file, or via the following command:
./build/evmosd collect-gentxs --home .evmosd
Run Testnet
Now that everything is set up, you can finally start your node:
./build/evmosd start --log_level error --p2p.persistent_peers ‘[email protected]:26656’ —json-rpc.api eth,txpool,personal,net,debug,web3 --home .evmosd
Last updated