Welcome to validator AlxVoy ⚡ ANODE.TEAM
Website
- http://althea.netTwitter
- https://twitter.com/AltheaNetworkDiscord
- https://discord.gg/tMNFT3JAhYGithub
https://github.com/althea-netANODE.TEAM
https://test.anode.team/altheaPeer
79875677d71e3213d34bd0fb8ede172d376bcff5@144.76.97.251:35656Live peers
https://anode.team/Althea/test/peers.txtGenesis
https://anode.team/Althea/test/genesis.jsonAddrbook
https://anode.team/Althea/test/addrbook.jsonwget -O Althea.sh https://anode.team/Althea/test/Althea.sh && chmod u+x Althea.sh && ./Althea.sh
git clone https://github.com/althea-net/althea-chain
cd althea-chain
git checkout v0.5.5
make install
althea init <moniker> --chain-id althea_417834-3
althea config chain-id althea_417834-3
althea keys add <wallet_name> --algo secp256k1 --coin-type 118
curl https://anode.team/Althea/test/genesis.json > ~/.althea/config/genesis.json
curl https://anode.team/Althea/test/addrbook.json > ~/.althea/config/addrbook.json
SEEDS=""
PEERS="bc47f3e8f9134a812462e793d8767ef7334c0119@chainripper-2.althea.net:23296"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.althea/config/config.toml
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0aalthea\"/" $HOME/.althea/config/app.toml
sudo tee /etc/systemd/system/althea.service > /dev/null <<EOF
[Unit]
Description=Althea
After=network-online.target
[Service]
User=$USER
ExecStart=$(which althea) start
Restart=always
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && sudo systemctl enable althea
sudo systemctl restart althea && journalctl -fu althea -o cat
althea tx staking create-validator \
--amount=1000000000000000000aalthea \
--pubkey=$(althea tendermint show-validator) \
--moniker="<moniker>" \
--identity="<identity>" \
--website="<website>" \
--details="<details>" \
--security-contact="<contact>" \
--chain-id="althea_417834-3" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--fees="0ualthea" \
--from=<wallet_name>
SNAP_RPC=https://althea.rpc.t.anode.team: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 althea && althea tendermint unsafe-reset-all --home $HOME/.althea --keep-addr-book
peers="79875677d71e3213d34bd0fb8ede172d376bcff5@144.76.97.251:35656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.althea/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/.althea/config/config.toml
sudo systemctl restart althea && journalctl -fu althea -o cat