Website - https://selfchain.xyz/
Twitter - https://twitter.com/selfchainxyz
Telegram - https://t.me/selfchainxyz
Discord -https://discord.com/invite/selfchainxyz?ref=blog.selfchain.xyz
Docs: https://docs.selfchain.xyz/
Staking: https://staking.selfchain.xyz/
Self Chain Incentivized Testnet 2: https://blog.selfchain.xyz/self-chain-incentivized-testnet-2/
4 Cores, 8G Ram, 200G SSD, Ubuntu 22.04
sudo apt install curl -y && source <(curl -s https://nodesync.top/selfchain_auto)
Add New Wallet Key
selfchaind keys add wallet
Recover existing key
selfchaind keys add wallet --recover
List All Keys
selfchaind keys list
selfchaind q bank balances $(selfchaind keys show wallet -a)
False is synced
selfchaind status 2>&1 | jq .SyncInfo.catching_up
Change your info
selfchaind tx staking create-validator \
--amount 1000000uself \
--pubkey $(selfchaind tendermint show-validator) \
--moniker "MONIKER" \
--identity="YOUR_KEYBASE_ID" \
--details="YOUR_DETAILS" \
--website="YOUR_WEBSITE_URL" \
--chain-id self-dev-1 \
--commission-rate="0.05" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation "1" \
--gas-prices="0.005uself" \
--gas="auto" \
--gas-adjustment="1.5" \
--from wallet \
-y
selfchaind tx staking edit-validator \
--new-moniker="MONIKER" \
--identity="YOUR_KEYBASE_ID" \
--details="YOUR_DETAILS" \
--website="YOUR_WEBSITE_URL" \
--chain-id self-dev-1 \
--commission-rate=0.05 \
--gas-prices="0.005uself" \
--gas="auto" \
--gas-adjustment="1.5" \
--from wallet \
-y
selfchaind tx staking delegate $(selfchaind keys show wallet --bech val -a) 1000000uself --from wallet --chain-id self-dev-1 --gas-prices=0.005uself --gas-adjustment 1.5 --gas auto -y
selfchaind tx distribution withdraw-rewards $(selfchaind keys show wallet --bech val -a) --commission --from wallet --chain-id self-dev-1 --gas-prices=0.005uself --gas-adjustment 1.5 --gas auto -y
selfchaind tx slashing unjail --from wallet --chain-id self-dev-1 --gas-prices=0.005uself --gas-adjustment 1.5 --gas auto -y
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable selfchaind
# Disable Service
sudo systemctl disable selfchaind
# Start Service
sudo systemctl start selfchaind
# Stop Service
sudo systemctl stop selfchaind
# Restart Service
sudo systemctl restart selfchaind
# Check Service Status
sudo systemctl status selfchaind
# Check Service Logs
sudo journalctl -u selfchaind -f --no-hostname -o cat
Important
cat $HOME/.selfchain/config/priv_validator_key.json
sudo systemctl stop selfchaind && sudo systemctl disable selfchaind && sudo rm /etc/systemd/system/selfchaind.service && sudo systemctl daemon-reload && rm -rf $HOME/.selfchain && sudo rm -rf $(which selfchaind)
cd $HOME
peers=$(curl -s https://raw.githubusercontent.com/nodesynctop/Self-Chain/main/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.selfchain/config/config.toml
sudo systemctl restart selfchaind && sudo journalctl -u selfchaind -f --no-hostname -o cat