June 1, 2022
Aura
Vdsina - 10% cкидка на пополнение (пополнять можно криптой).
Hetzner - 30$ за регистрацию (можно абузить с разных акков).
sudo apt update && sudo apt upgrade -y
sudo ufw allow 26656 sudo ufw allow 1317 sudo ufw allow 26657
ver="1.17.2" cd $HOME wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" rm "go$ver.linux-amd64.tar.gz" echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile source $HOME/.bash_profile go version
sudo apt update sudo apt install build-essential -y sudo apt-get install manpages-dev gcc --version
Cкачиваем архив + генезис и запускаем
wget https://github.com/aura-nw/aura/archive/refs/tags/halo_6ca81d8.tar.gz tar -xzvf halo_6ca81d8.tar.gz cd aura-halo_6ca81d8 make aurad init ИМЯ_НОДЫ wget https://raw.githubusercontent.com/aura-nw/testnets/main/halo-testnet-001/genesis.json mv genesis.json ~/.aura/config/genesis.json cd
aurad config chain-id halo-testnet-001 aurad config keyring-backend file
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0025uaura\"/" $HOME/.aura/config/app.toml
SEEDS="[email protected]:26656" PEERS="" sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.aura/config/config.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.aura/config/config.toml
aurad unsafe-reset-all
tee $HOME/aurad.service > /dev/null <<EOF [Unit] Description=aurad After=network.target [Service] Type=simple User=$USER ExecStart=$(which aurad) start Restart=on-failure RestartSec=10 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF
sudo mv $HOME/aurad.service /etc/systemd/system/
sudo systemctl daemon-reload sudo systemctl enable aurad sudo systemctl restart aurad
journalctl -u aurad -f
aurad keys add $WALLET
WALLET_ADDRESS=$(aurad keys show $WALLET -a)
VALOPER_ADDRESS=$(aurad keys show $WALLET --bech val -a)
echo 'export WALLET_ADDRESS='${WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export VALOPER_ADDRESS='${VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile
aurad tx staking create-validator \ --amount=1000000uaura \ --pubkey=$(aurad tendermint show-validator) \ --moniker $NODENAME \ --chain-id $CHAIN_ID \ --commission-rate="0.10" \ --commission-max-rate="0.20" \ --commission-max-change-rate="0.01" \ --min-self-delegation="1000000" \ --gas="auto" \ --gas-prices=500uaura \ --from $WALLET