Empeira validator node guide

Testnet information

Network Chain ID:empe-testnet-2
Denom stake:uempe
Binary:emped
Working directory:.empe-chain
Explorer:Explorer
Minimum hardware requirements:
Chain type
CPU
RAM
Storage
Testnet
4
16GB
300GB

Preparing the server

Update repositories:
apt update && apt upgrade -y
install the necessary utilities:
apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y
install fail2ban:
sudo apt install -y fail2ban
Install Go:
ver="1.21.13" && 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

Node installation

Installing binaries:
cd $HOME mkdir -p empe-chain && cd empe-chain curl -LO https://github.com/empe-io/empe-chain-releases/raw/master/v0.2.2/emped_v0.2.2_linux_amd64.tar.gz tar -xvf emped_v0.2.2_linux_amd64.tar.gz mv emped ~/go/bin chmod u+x ~/go/bin/emped
Verify:
emped version --long | grep -e version -e commit
Output logs:version: 0.2.2commit: 89a4061fa99a171bb2a15a5c23f0c61749511abd
emped init BITNODES_guide --chain-id empe-testnet-2
Download genesis:
wget -O $HOME/.empe-chain/config/genesis.json "https://raw.githubusercontent.com/empe-io/empe-chains/master/testnet-2/genesis.json"sha256sum $HOME/.empe-chain/config/genesis.json
make sure check summ need to be: 2aabbc5e3cabbd0f2cdb9a442dc476397c05b624f42ee23e832fdf1c48f60c91
Download addrbook
wget -O $HOME/.empe-chain/config/genesis.json "https://raw.githubusercontent.com/opsmanager1/Guide_services/main/testnets/empeira/addrbook.json"
Set up the minimum gas price and Peers/Seeds/Filter peers/MaxPeers
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0025uempe\"/;" ~/.empe-chain/config/app.tomlpeers=""sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.empe-chain/config/config.tomlexternal_address=$(wget -qO- eth0.me)sed -i.bak -e "s/^external_address *=.*/external_address = \"$external_address:26656\"/" $HOME/.empe-chain/config/config.toml
Set up pruning (OPTIONAL)
pruning="custom"pruning_keep_recent="1000"pruning_interval="10"sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.empe-chain/config/app.tomlsed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.empe-chain/config/app.tomlsed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.empe-chain/config/app.tomll
Enable/Disable Snapshots (OPTIONAL)
snapshot_interval=1000sed -i.bak -e "s/^snapshot-interval *=.*/snapshot-interval = \"$snapshot_interval\"/" ~/.empe-chain/config/app.toml
Create a service file
tee /etc/systemd/system/emped.service > /dev/null <<EOF [Unit] Description=emped Node Service After=network.target [Service] Type=simple User=emped ExecStart=/usr/bin/emped Restart=on-failure [Install] WantedBy=multi-user.target EOF
Start node
systemctl daemon-reload systemctl enable emped systemctl restart emped && journalctl -u emped -f -o cat

Create validator

Check your pubkey:
emped tendermint show-validator --home /root/.empe-chain
Tx staking create validator:
cd $HOME nano /root/.empe-chain/validator.json { "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", "key": "<your_pubkey>" }, "amount": "1000000uempe", "moniker": "BITNODES_guide", "identity": "<your_identify?", "security": "<your_email>", "details": "<your_details>", "website": "<your_website>", "commission-rate": "0.10", "commission-max-rate": "0.20", "commission-max-change-rate": "0.01", "min-self-delegation": "1" } emped --home /root/.empe-chain tx staking create-validator /root/.empe-chain/validator.json --from WalletName --chain-id empe-testnet-2 -y
(OPTIONAL) Tx staking edit validator:
emped tx staking edit-validator --new-moniker "your_moniker" --identity "Keybase_ID" --details "Your_Description" --website "Your_Website" --security-contact "Your_Email" --chain-id empe-testnet-2 --commission-rate 0.05 --from WalletName --gas 0.003 -y