RPC, API, gRPC

gRPC:

empower-mainnet-grpc.itrocket.net:443

peers:

d363c61e28adabc85a25139682900df8054f059e@empower-mainnet-peer.itrocket.net:14656

seeds:

6740fa259552a628266a85de8c2a3dee7702b8f9@empower-mainnet-seed.itrocket.net:14656

live peers: (0 active)

PEERS="d363c61e28adabc85a25139682900df8054f059e@empower-mainnet-peer.itrocket.net:14656"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.empowerchain/config/config.toml

peers scanner:

PEERS="[email protected]:22356,[email protected]:26656,[email protected]:4004,d363c61e28adabc85a25139682900df8054f059e@empower-mainnet-rpc.itrocket.net:14656,[email protected]:17656,[email protected]:31656,[email protected]:22056"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.empowerchain/config/config.toml

addrbook: (upd 1h)

wget -O $HOME/.empowerchain/config/addrbook.json https://mainnet-files.itrocket.net/empower/addrbook.json

Snapshot

## Snapshot is not available yet

State Sync

If you don't want to wait for a long synchronization you can use:

sudo systemctl stop empowerd

cp $HOME/.empowerchain/data/priv_validator_state.json $HOME/.empowerchain/priv_validator_state.json.backup
empowerd tendermint unsafe-reset-all --home $HOME/.empowerchain

peers="d363c61e28adabc85a25139682900df8054f059e@empower-mainnet-peer.itrocket.net:14656"  
SNAP_RPC="https://empower-mainnet-rpc.itrocket.net:443"

sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.empowerchain/config/config.toml 

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height);
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000));
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH && sleep 2

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ;
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ;
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ;
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ;
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.empowerchain/config/config.toml

curl https://mainnet-files.itrocket.net/empower/wasm_empower.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/
mv $HOME/.empowerchain/priv_validator_state.json.backup $HOME/.empowerchain/data/priv_validator_state.json

sudo systemctl restart empowerd && sudo journalctl -u empowerd -f

Wasm

Sorry, this project does not support WebAssembly.