# Install dependencies for building from sourcesudoaptupdatesudoaptinstall-ylz4jqmakegitgccbuild-essentialcurlchronyunzipgzipsnapdtmuxbc# Install Gosudorm-rf/usr/local/gocurl-Lhttps://go.dev/dl/go1.21.6.linux-amd64.tar.gz|sudotar-xzf--C/usr/localecho'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin'>> $HOME/.bash_profilesource.bash_profile
Install node
Replace "NODE_MONIKER" with your name moniker
# Clone project repositorycd $HOMErm-rfwardenprotocolgitclonehttps://github.com/warden-protocol/wardenprotocolcdwardenprotocolgitcheckoutv0.5.4makeinstall# Set node CLI configurationwardendconfigsetclientchain-idchiado_10010-1wardendconfigsetclientkeyring-backendtest# Initialize the nodewardendinit"$NODE_MONIKER"--chain-idchiado_10010-1# Download addrbook,genesis filescurl-Lhttps://snapshots-testnet.unitynodes.com/warden-testnet/genesis.json> $HOME/.warden/config/genesis.jsoncurl-Lhttps://snapshots-testnet.unitynodes.com/warden-testnet/addrbook.json> $HOME/.warden/config/addrbook.json# Set seedssed -i -e 's|^seeds *=.*|seeds = "2d2c7af1c2d28408f437aef3d034087f40b85401@52.51.132.79:26656,8288657cb2ba075f600911685670517d18f54f3b@warden-testnet-seed.itrocket.net:18656"|' $HOME/.warden/config/config.toml
# Set peersPEERS="8288657cb2ba075f600911685670517d18f54f3b@65.108.231.124:18656,5461e7642520a1f8427ffaa57f9d39cf345fcd47@54.72.190.0:26656,22e706be097baf72b999a6b00b5e1bba5540675c@135.181.81.254:18656"
sed-i"s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.warden/config/config.toml# Set minimum gas pricesed-i-e's|^minimum-gas-prices *=.*|minimum-gas-prices = "25000000award"|' $HOME/.warden/config/app.toml# Set pruningsed-i \-e's|^pruning *=.*|pruning = "custom"|' \-e's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \-e's|^pruning-interval *=.*|pruning-interval = "10"|' \ $HOME/.warden/config/app.toml# Download latest chain data snapshotcurl https://snapshots-testnet.unitynodes.com/warden-testnet/warden-chiado-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.warden
# Create a servicesudotee/etc/systemd/system/wardend.service>/dev/null<<EOF[Unit]Description=Warden Protocol node serviceAfter=network-online.target[Service]User=$USERExecStart=$(which wardend) startRestart=on-failureRestartSec=10LimitNOFILE=65535[Install]WantedBy=multi-user.targetEOFsudosystemctldaemon-reloadsudosystemctlenablewardend.service# Start the service and check the logssudosystemctlstartwardend.servicesudojournalctl-uwardend.service-f-ocat
📝 Create Validator
1️⃣ Create wallet
wardendkeysaddwallet
Save all information after entering the command, without this you will not be able to restore data to the wallet. SAVE SEED PHRASE (12 words).
▶️ Example:
address: warden1vcxv7xc6hjf1212340chefqwny7q55judnpsk # Your wallet name: wallet pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AqgSEuNIGf5137XYrYEfwKMKrKPM9p3hunnl1XNEGf"}' type: local
Important write this mnemonic phrase in a safe place. It is the only way to recover your account if you ever forget your password.
retreat easily doctor update virtual ability where motor nose where trial food farm have marine knock picture bag loud ride bleak invite miss radio
2️⃣ Request tokens to your address in faucet's discord channel
Paste this into the open validator.json file, pre-replacing all values that start with $
(you can do it in any convenient editor, not directly in nano mode)
◽ Replace the following values with your own: WALLET - usually it's 'wallet', or your wallet's name.
MONIKER - any convenient name for your validator, displayed in the explorer.
IDENTITY - validator's avatar, displayed in the explorer. Create a KeyBase ID following the instructions or leave it empty, and it will default to a standard one.
DETAILS - details about your validator, also displayed in the explorer.
WEBSITE - your website/github/twitter, etc., if you don't want to specify anything - leave it blank
Replace all necessary values indicated above with the $ sign to successfully create your validator.
◽ Example:
{"pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"lR1d7YBVK5jYijOfWVKRFoWCsS4123dg3kagT7LB9GnG8I="},"amount":"1000000uward","moniker":"Oliver","identity":"",#if you have your identifier, replace it, or leave it blank"website":"",#if you have your website, replace it, or leave it blank"security":"qwerty@gmail.com","details":"A reliable validator","commission-rate":"0.1","commission-max-rate":"0.2","commission-max-change-rate":"0.01","min-self-delegation":"1"}
After creating the validator.json and entering all the necessary information, as well as provided that there are tokens in the wallet, run the create command: