Warden

Public Endpoints

๐Ÿ‘พ https://warden-rpc.ynranil.com/

๐Ÿ‘พ https://warden-api.ynranil.com/

Explorer

๐Ÿ‘พ https://explorer.ynranil.com/warden

Gรผncelleme

sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

Go & Warden

ver="1.21.6"
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
cd $HOME
mkdir -p $HOME/.warden/cosmovisor/genesis/bin
rm -rf wardenprotocol
git clone --depth 1 --branch v0.3.0 https://github.com/warden-protocol/wardenprotocol/
cd wardenprotocol
make build
mv /root/wardenprotocol/build/wardend $HOME/.warden/cosmovisor/genesis/bin/
sudo ln -s $HOME/.warden/cosmovisor/genesis $HOME/.warden/cosmovisor/current -f
sudo ln -s $HOME/.warden/cosmovisor/current/bin/wardend /usr/local/bin/wardend -f
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.5.0

Service oluลŸturma

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

[Service]
User=$USER
ExecStart=$(which cosmovisor) run start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=$HOME/.warden"
Environment="DAEMON_NAME=wardend"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:$HOME/.warden/cosmovisor/current/bin"

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable wardend

BaลŸlatma

MonikerName yerine istediฤŸin validator ismini ekleyebilirsin.

wardend init MonikerName --chain-id buenavista-1

Genesis & Addrbook

wget -O $HOME/.warden/config/genesis.json "https://raw.githubusercontent.com/CoinHuntersTR/props/main/warden/genesis.json"
wget -O $HOME/.warden/config/addrbook.json "https://raw.githubusercontent.com/CoinHuntersTR/props/main/warden/addrbook.json"

minimum gas fiyatฤฑ ve Peers

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0025uward\"/;" ~/.warden/config/app.toml
external_address=$(wget -qO- eth0.me) 
sed -i.bak -e "s/^external_address *=.*/external_address = \"$external_address:26656\"/" $HOME/.warden/config/config.toml
peers=""
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.warden/config/config.toml
seeds=""
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.warden/config/config.toml
sed -i 's/max_num_inbound_peers =.*/max_num_inbound_peers = 50/g' $HOME/.warden/config/config.toml
sed -i 's/max_num_outbound_peers =.*/max_num_outbound_peers = 50/g' $HOME/.warden/config/config.toml

Pruning

pruning="custom"
pruning_keep_recent="1000"
pruning_keep_every="0"
pruning_interval="10"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.warden/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.warden/config/app.toml
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.warden/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.warden/config/app.toml

Snapshot

cd $HOME
apt install lz4
sudo systemctl stop wardend
cp $HOME/.warden/data/priv_validator_state.json $HOME/.warden/priv_validator_state.json.backup
rm -rf $HOME/.warden/data
curl -o - -L https://warden-t.snapshot.stavr.tech/warden-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.warden --strip-components 2
mv $HOME/.warden/priv_validator_state.json.backup $HOME/.warden/data/priv_validator_state.json
wget -O $HOME/.warden/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Warden/addrbook.json"
sudo systemctl restart wardend && journalctl -u wardend -f -o cat

Yeni cรผzdan oluลŸturmak iรงin;

wardend keys add wallet

Eski cรผzdanฤฑ eklemek iรงin;

wardend keys add wallet --recover

Facuet

BURADAN siteye gidiyoruz. Node iรงinde aรงtฤฑฤŸฤฑmฤฑz veya burada kullandฤฑฤŸฤฑmฤฑz cรผzdana WARD token istiyoruz. (Burada iลŸlem yapabilmek iรงin Keplr veya Leap wallet iรงine cรผzdanฤฑnฤฑzฤฑn kelimelerini import edin.)

AลŸaฤŸฤฑdaki komutu kendinize gรถre dรผzenlemeniz gerekiyor.

moniker yerine Validator isminizi giriyorsunuz ( hepsinde"" kalacak!)

identity yerine keybase.io sitesine avatarฤฑnฤฑzฤฑ yรผkleyip. oradan verilen ID'yi ekliyoruz.

website bรถlรผmรผne istediฤŸiniz bir uzantฤฑ girebilirsiniz. github, twitter etc.

security bรถlรผmรผne mail adresinizi girebilirsiniz.

details bรถlรผmรผne istediฤŸiniz bir ลŸey yazabilirsiniz.

cd $HOME
# Create validator.json file
echo "{\"pubkey\":{\"@type\":\"/cosmos.crypto.ed25519.PubKey\",\"key\":\"$(wardend comet show-validator | grep -Po '\"key\":\s*\"\K[^"]*')\"},
    \"amount\": \"1000000uward\",
    \"moniker\": \"nodeismin\",
    \"identity\": \"keybasecode\",
    \"website\": \"\",
    \"security\": \"\",
    \"details\": \"details\",
    \"commission-rate\": \"0.1\",
    \"commission-max-rate\": \"0.2\",
    \"commission-max-change-rate\": \"0.01\",
    \"min-self-delegation\": \"1\"
}" > validator.json
# Create a validator using the JSON configuration
wardend tx staking create-validator validator.json \
    --from cuzdanismin \
    --chain-id buenavista-1 \
  --gas auto --gas-adjustment 1.5 --fees 600uward \

Last updated