Chain ID: point_10687-1 | Node Version: v0.0.5
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
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.19.5.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 point-chain
git clone https://github.com/pointnetwork/point-chain
cd point-chain
git checkout v0.0.5
make install
pointd version --long | head
Replace NodeName with your own moniker.
pointd init NodeName --chain-id=point_10687-1
curl -Ls https://ss.point.nodestake.top/genesis.json > $HOME/.pointd/config/genesis.json
curl -Ls https://ss.point.nodestake.top/addrbook.json > $HOME/.pointd/config/addrbook.json
sudo tee /etc/systemd/system/pointd.service > /dev/null <<EOF
[Unit]
Description=pointd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which pointd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable pointd
SNAP_NAME=$(curl -s https://ss.point.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.point.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.pointd
sudo systemctl restart pointd
journalctl -u pointd -f
If you have any questions, please reach out to our Discord
https://rpc.point.nodestake.top
https://api.point.nodestake.top
https://grpc.point.nodestake.top
Chain Name: Point Network
RPC: https://jsonrpc.point.nodestake.top/
Chain ID: 10687
Symbol: POINT
Explorer: https://explorer.pointnetwork.io
https://ss.point.nodestake.top/genesis.json
curl -Ls https://ss.point.nodestake.top/genesis.json > $HOME/.pointd/config/genesis.json
https://ss.point.nodestake.top/addrbook.json
curl -Ls https://ss.point.nodestake.top/addrbook.json > $HOME/.pointd/config/addrbook.json
sudo systemctl restart pointd
journalctl -u pointd -f
peers=$(curl -s https://ss.point.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.pointd/config/config.toml
sudo systemctl restart pointd
journalctl -u pointd -f
sudo systemctl stop pointd
pointd tendermint unsafe-reset-all --home ~/.pointd/ --keep-addr-book
SNAP_RPC="https://rpc.point.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
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\"\"|" ~/.pointd/config/config.toml
more ~/.pointd/config/config.toml | grep 'rpc_servers'
more ~/.pointd/config/config.toml | grep 'trust_height'
more ~/.pointd/config/config.toml | grep 'trust_hash'
sudo systemctl restart pointd
journalctl -u pointd -f
We make the node snapshot every day at 02:00 UTC+0
sudo apt update
sudo apt-get install snapd lz4 -y
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.pointd/config/config.toml
sudo systemctl stop pointd
cp $HOME/.pointd/data/priv_validator_state.json $HOME/.pointd/priv_validator_state.json.backup
rm -rf ~/.pointd/data
pointd tendermint unsafe-reset-all --home ~/.pointd/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss.point.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss.point.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.pointd
mv $HOME/.pointd/priv_validator_state.json.backup $HOME/.pointd/data/priv_validator_state.json
sudo systemctl restart pointd
journalctl -u pointd -f
Get old Snapshots
If you have any questions, please reach out to our Discord
https://explorer.nodestake.top/temp-testnet
https://rpc-t.temp.nodestake.top
https://api-t.temp.nodestake.top
https://grpc-t.temp.nodestake.top
Chain Name: TEMP
RPC: https://jsonrpc-t.temp.nodestake.top/
Chain ID: 0000
Symbol: TEMP
Explorer:
https://ss-t.temp.nodestake.top/genesis.json
https://ss-t.temp.nodestake.top/Addrbook.json
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
sudo apt update
sudo apt-get install snapd lz4 -y
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