Welcome to validator AlxVoy ⚡ ANODE.TEAM



Persistence

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Wasm

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Persistence.sh https://anode.team/Persistence/main/Persistence.sh && chmod u+x Persistence.sh && ./Persistence.sh

Installation

Hardware Requirements

  • Memory 2 GB
  • CPUs 2.0 GHz x2
  • Disk 100 GB

Software Requirements

  • Prerequisite: go1.21+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/persistenceOne/persistenceCore
cd persistenceCore
git checkout v11.15.0
make install

Init the config files

persistenceCore init <moniker> --chain-id core-1
persistenceCore config chain-id core-1

Create a wallet

persistenceCore keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Persistence/main/genesis.json > ~/.persistenceCore/config/genesis.json
curl https://anode.team/Persistence/main/addrbook.json > ~/.persistenceCore/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="46291565b46f8ed28aa3d27cfda01d061d3a413b@65.109.28.177:26226"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.persistenceCore/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uxprt\"/" $HOME/.persistenceCore/config/app.toml

Create the service file

sudo tee /etc/systemd/system/persistenceCore.service > /dev/null <<EOF
[Unit]
Description=Persistence
After=network-online.target

[Service]
User=$USER
ExecStart=$(which persistenceCore) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable persistenceCore
sudo systemctl restart persistenceCore && journalctl -fu persistenceCore -o cat

Create Validator

persistenceCore tx staking create-validator \
  --amount=1000000uxprt \
  --pubkey=$(persistenceCore tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="core-1" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="1000uxprt" \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://persistence.rpc.m.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 100)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
wget https://anode.team/unsafe-reset-all.sh && chmod u+x unsafe-reset-all.sh && ./unsafe-reset-all.sh persistenceCore .persistenceCore
peers="46291565b46f8ed28aa3d27cfda01d061d3a413b@65.109.28.177:26226"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.persistenceCore/config/config.toml
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/.persistenceCore/config/config.toml
curl -o - -L https://anode.team/Persistence/main/anode.team_persistence_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.persistenceCore/
sudo systemctl restart persistenceCore && journalctl -fu persistenceCore -o cat

Testnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Wasm

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Persistence.sh https://anode.team/Persistence/test/Persistence.sh && chmod u+x Persistence.sh && ./Persistence.sh

Installation

Hardware Requirements

  • Memory 2 GB
  • CPUs 2.0 GHz x2
  • Disk 100 GB

Software Requirements

  • Prerequisite: go1.21+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/persistenceOne/persistenceCore
cd persistenceCore
git checkout v11.15.0-rc0
make install

Init the config files

persistenceCore init <moniker> --chain-id test-core-2
persistenceCore config chain-id test-core-2

Create a wallet

persistenceCore keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Persistence/test/genesis.json > ~/.persistenceCore/config/genesis.json
curl https://anode.team/Persistence/test/addrbook.json > ~/.persistenceCore/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="f180db58a0adef7108d2612639389639fd2bd299@65.109.93.152:26766"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.persistenceCore/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uxprt\"/" $HOME/.persistenceCore/config/app.toml

Create the service file

sudo tee /etc/systemd/system/persistenceCore.service > /dev/null <<EOF
[Unit]
Description=Persistence
After=network-online.target

[Service]
User=$USER
ExecStart=$(which persistenceCore) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable persistenceCore
sudo systemctl restart persistenceCore && journalctl -fu persistenceCore -o cat

Create Validator

persistenceCore tx staking create-validator \
  --amount=1000000uxprt \
  --pubkey=$(persistenceCore tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="test-core-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="0uxprt" \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://persistence.rpc.t.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 100)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
wget https://anode.team/unsafe-reset-all.sh && chmod u+x unsafe-reset-all.sh && ./unsafe-reset-all.sh persistenceCore .persistenceCore
peers="f180db58a0adef7108d2612639389639fd2bd299@65.109.93.152:26766"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.persistenceCore/config/config.toml
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/.persistenceCore/config/config.toml
curl -o - -L https://anode.team/Persistence/test/anode.team_persistence_wasm.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.persistenceCore/
sudo systemctl restart persistenceCore && journalctl -fu persistenceCore -o cat