a new start
This commit is contained in:
13
okt-chain/mainnet/start.sh
Executable file
13
okt-chain/mainnet/start.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user