StateSync Testnet
Oraid Installation and setup
You can see step of install and setup oraid here
Initialize Orai Testnet Node
Use oraid to initialize your node (replace the NODE_NAME with a name of your choosing):
oraid init NODE_NAME --home $ORAI_HOME/.oraid --chain-id Oraichain-testnetDownload and place the genesis file in the orai config folder:
sudo apt-get install wget -y
wget -O $ORAI_HOME/.oraid/config/genesis.json https://orai.s3.us-east-2.amazonaws.com/testnet/genesis.20240117.jsonFinally, your working directory should be like below:
$ORAI_HOME/.oraid/
├── config
│ ├── app.toml
│ ├── client.toml
│ ├── config.toml
│ ├── genesis.json
│ ├── node_key.json
│ └── priv_validator_key.json
└── data
└── priv_validator_state.json2 directories, 7 files
State-sync Oraichain testnet
Create
state-sync.shfile with the following code:
Grant privilege to execute script:
Start your node
Last updated
Was this helpful?