a new start

This commit is contained in:
Sebastian
2024-12-17 16:44:19 +01:00
parent 9e962018ca
commit 182b36114a
2 changed files with 65 additions and 0 deletions

13
okt-chain/mainnet/start.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ ! -d "/data/config" ]; then
exchaind init fullnode --chain-id exchain-66
wget https://raw.githubusercontent.com/okex/mainnet/main/genesis.json -O /data/config/genesis.json
fi
exchaind start \
--chain-id exchain-66 \
--db_dir /data \
--rest.laddr tcp://0.0.0.0:8545 \
--db_backend rocksdb