Chain ID: planq_7070-2 | Node Version: v1.0.6
sudo apt update
sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y
rm -rf $HOME/go
rm -rf /usr/local/go
cd ~
curl https://dl.google.com/go/go1.19.4.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version
cd $HOME
rm -rf planq
git clone https://github.com/planq-network/planq.git
cd planq
git checkout v1.0.6
make install
planqd version
Replace NodeName with your own moniker.
planqd init NodeName --chain-id=planq_7070-2
curl https://ss.planq.nodestake.top/genesis.json > $HOME/.planqd/config/genesis.json
curl https://ss.planq.nodestake.top/addrbook.json > $HOME/.planqd/config/Addrbook.json
sudo tee /etc/systemd/system/planqd.service > /dev/null <<EOF
[Unit]
Description=planqd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which planqd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable planqd
sudo systemctl restart planqd
journalctl -u planqd -f
https://rpc.planq.nodestake.top
https://api.planq.nodestake.top
https://grpc.planq.nodestake.top
Chain Name: Planq Mainnet
Chain ID: 7070
RPC: https://jsonrpc.planq.nodestake.top/
Symbol: PLANQ
Explorer: https://evm.planq.network/
https://ss.planq.nodestake.top/genesis.json
https://ss.planq.nodestake.top/Addrbook.json
SNAP_RPC="https://rpc.planq.nodestake.top:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sudo systemctl stop planqd
planqd tendermint unsafe-reset-all --home ~/.planqd/
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\"\"|" ~/.planqd/config/config.toml
more ~/.planqd/config/config.toml | grep 'rpc_servers'
more ~/.planqd/config/config.toml | grep 'trust_height'
more ~/.planqd/config/config.toml | grep 'trust_hash'
sudo systemctl restart planqd
journalctl -u planqd -f -o cat
sudo apt update
sudo apt-get install snapd lz4 -y
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.planqd/config/config.toml
sudo systemctl stop planqd
rm -rf ~/.planqd/data
planqd tendermint unsafe-reset-all --home ~/.planqd/
SNAP_NAME=$(curl -s https://snapshots.nodestake.top/planq/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://snapshots.nodestake.top/planq/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.planqd
sudo systemctl restart planqd
journalctl -f -u planqd
ss.planq
ss.planq
https://explorer.nodestake.top/temp-testnet
https://rpc-t.temp.nodestake.top
https://api-t.temp.nodestake.top
https://grpc-t.temp.nodestake.top
https://ss-t.temp.nodestake.top/genesis.json
https://ss-t.temp.nodestake.top/Addrbook.json
peers="bc0126889d3d0cf653f922849689d0c90046011d@135.181.116.109:27456,397a0703715667b555086d663eccc1f13939c63c@65.109.92.241:21096,0690f91ab36aed5b90ccc3694bf4b2872bc6c091@65.109.114.78:12656,c14c4028fa0df262bb48ce01ff1a4680cc7229ca@135.181.57.104:12656,010ab97c33ccc1e853b504bf68c9282726811bd4@5.189.171.33:12656,cd017349580ef816a17665182c18b5dab4abc04e@95.214.55.155:12656,d0de51b7de393935cdc29dda114431964be93090@213.239.216.252:26656,a2c4bbd5b4ecaf14ba40503e250414a9e28a67ca@138.201.196.18:12656,91c2c8611b235d9ba918feb73881f22df13762ac@5.161.179.90:12656,34a9ac2d6657d678ea38a4be9ff30f138c93dc7a@5.78.73.58:12656"
peers="bc0126889d3d0cf653f922849689d0c90046011d@135.181.116.109:27456,397a0703715667b555086d663eccc1f13939c63c@65.109.92.241:21096,0690f91ab36aed5b90ccc3694bf4b2872bc6c091@65.109.114.78:12656,c14c4028fa0df262bb48ce01ff1a4680cc7229ca@135.181.57.104:12656,010ab97c33ccc1e853b504bf68c9282726811bd4@5.189.171.33:12656,cd017349580ef816a17665182c18b5dab4abc04e@95.214.55.155:12656,d0de51b7de393935cdc29dda114431964be93090@213.239.216.252:26656,a2c4bbd5b4ecaf14ba40503e250414a9e28a67ca@138.201.196.18:12656,91c2c8611b235d9ba918feb73881f22df13762ac@5.161.179.90:12656,34a9ac2d6657d678ea38a4be9ff30f138c93dc7a@5.78.73.58:12656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.realio-network/config/config.toml
more ~/.realio-network/config/config.toml | grep 'seeds'
more ~/.realio-network/config/config.toml | grep 'persistent_peers'
SNAP_RPC="https://rpc-t.realio.nodestake.top:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sudo systemctl stop realio-networkd
realio-networkd unsafe-reset-all --home ~/.realio-network/
realio-networkd tendermint unsafe-reset-all --home ~/.realio-network/
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\"\"|" ~/.realio-network/config/config.toml
more ~/.realio-network/config/config.toml | grep 'rpc_servers'
more ~/.realio-network/config/config.toml | grep 'trust_height'
more ~/.realio-network/config/config.toml | grep 'trust_hash'
sudo systemctl restart realio-networkd
journalctl -u realio-networkd -f -o cat
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.realio-network/config/config.toml
sudo systemctl stop realio-networkd
rm -rf ~/.realio-network/data
realio-networkd tendermint unsafe-reset-all --home ~/.realio-network/
realio-networkd unsafe-reset-all --home ~/.realio-network/
SNAP_NAME=$(curl -s https://ss-t.realio.nodestake.top | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.realio.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.realio-network
sudo systemctl restart realio-networkd
journalctl -f -u realio-networkd