tac/tacchaind: add Polkachu seeds and statesync RPC config #26
@@ -8,7 +8,7 @@ HOME_DIR="/root/.tacchaind"
|
|||||||
CONFIG_DIR="$HOME_DIR/config"
|
CONFIG_DIR="$HOME_DIR/config"
|
||||||
CHAIN_ID="${CHAIN_ID:-tacchain_239-1}"
|
CHAIN_ID="${CHAIN_ID:-tacchain_239-1}"
|
||||||
GENESIS_URL="${GENESIS_URL:-https://raw.githubusercontent.com/TacBuild/tacchain/refs/heads/main/networks/tacchain_239-1/genesis.json}"
|
GENESIS_URL="${GENESIS_URL:-https://raw.githubusercontent.com/TacBuild/tacchain/refs/heads/main/networks/tacchain_239-1/genesis.json}"
|
||||||
STATESYNC_RPC="${STATESYNC_RPC:-https://tendermint.rpc.tac.build}"
|
STATESYNC_RPC="${STATESYNC_RPC:-https://tacchain-rpc.polkachu.com:443}"
|
||||||
MIN_GAS="${MIN_GAS:-25000000000utac}"
|
MIN_GAS="${MIN_GAS:-25000000000utac}"
|
||||||
API="${API:-eth,net,web3,txpool,debug}"
|
API="${API:-eth,net,web3,txpool,debug}"
|
||||||
MONIKER="${MONIKER:-rpc-node}"
|
MONIKER="${MONIKER:-rpc-node}"
|
||||||
@@ -25,6 +25,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ct_patch_p2p "$CONFIG_DIR/config.toml" "$IP" "${P2P_PORT:-26656}"
|
ct_patch_p2p "$CONFIG_DIR/config.toml" "$IP" "${P2P_PORT:-26656}"
|
||||||
|
ct_merge_seeds "$CONFIG_DIR/config.toml" "$SEEDS"
|
||||||
ct_set_persistent_peers "$CONFIG_DIR/config.toml" "$PERSISTENT_PEERS"
|
ct_set_persistent_peers "$CONFIG_DIR/config.toml" "$PERSISTENT_PEERS"
|
||||||
ct_set_moniker "$CONFIG_DIR/config.toml" "$MONIKER"
|
ct_set_moniker "$CONFIG_DIR/config.toml" "$MONIKER"
|
||||||
ct_configure_statesync "$CONFIG_DIR/config.toml" "$STATESYNC_RPC"
|
ct_configure_statesync "$CONFIG_DIR/config.toml" "$STATESYNC_RPC"
|
||||||
|
|||||||
Reference in New Issue
Block a user