Local testnet chain
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide will provide step-by-step how to run a local testnet chain
The first thing you need to do is head over to the Oraichain repository. This repository is designed to help you launch and interact with local testnet chain. You can find this repo
After find Oraichain repo, clone it to your desire folder
Build the binary
Check result
This command essentially creates a local network of three validators running in the background.
Validator1: screen -r validator1
Validator2: screen -r validator2
Validator3: screen -r validator3
CTRL + A + D to detach
Validator1: .oraid/validator1
Validator2: .oraid/validator2
Validator3: .oraid/validator3
"x, x, x, x, rpc, p2p, x"
Validator1: 1317, 9090, 9091, 26658, 26657, 26656, 6060
Validator2: 1316, 9088, 9089, 26655, 26654, 26653, 6061
Validator3: 1315, 9086, 9087, 26652, 26651, 26650, 6062
Ensure to include the --home
flag or --node
flag when using a particular node.
Validator2: oraid status --node "tcp://localhost:26654"
Validator3: oraid status --node "tcp://localhost:26651"
or
Validator1: oraid keys list --keyring-backend test --home $HOME/.oraid/validator1
Validator2: oraid keys list --keyring-backend test --home $HOME/.oraid/validator2