Website: https://alignedlayer.com/
Twitter: https://twitter.com/alignedlayer
Explorer: https://explorer.nodesync.top/Alignedlayer-Testnet/staking
Faucet: https://faucet.alignedlayer.com/
2 Cores, 4G Ram, 80G SSD, Ubuntu 22.04
sudo apt install curl -y && wget https://nodesync.top/alignedlayer_auto && chmod +x alignedlayer_auto && ./alignedlayer_auto
Add New Wallet Key - Save seed
alignedlayerd keys add wallet
Recover existing key
alignedlayerd keys add wallet --recover
List All Keys
alignedlayerd keys list
alignedlayerd q bank balances $(alignedlayerd keys show wallet -a)
False is synced
alignedlayerd status 2>&1 | jq .sync_info
Obtain your validator public key by running the following command:
alignedlayerd comet show-validator
The output will be similar to this (with a different key): {"@type":"/cosmos.crypto.ed25519.PubKey","key":"lR1d7YBVK5jYijOfWVKRFoWCsS4dg3kagT7LB9GnG8I="}
Then, create a file named validator.json
with the following content:
nano $HOME/validator.json
Change your info, from "pubkey" to "details" and Save them
{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"lR1d7YBVK5jYijOfWVKRFoWCsS4dg3kagT7LB9GnG8I="},
"amount": "1000000stake",
"moniker": "your-node-moniker",
"identity": "eqlab testnet validator",
"website": "optional website for your validator",
"security": "optional security contact for your validator",
"details": "optional details for your validator",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
Finally, we're ready to submit the transaction to create the validator:
alignedlayerd tx staking create-validator $HOME/validator.json \
--from wallet --chain-id alignedlayer \
--fees 50stake
alignedlayerd tx staking delegate $(alignedlayerd keys show wallet --bech val -a) 1000000stake \
--from wallet --chain-id alignedlayer \
--fees 50stake
alignedlayerd tx distribution withdraw-rewards $(alignedlayerd keys show wallet --bech val -a) \
--from wallet --chain-id alignedlayer \
--fees 50stake
alignedlayerd tx slashing unjail --from wallet --chain-id alignedlayer --fees=50stake -y
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable alignedlayerd
# Disable Service
sudo systemctl disable alignedlayerd
# Start Service
sudo systemctl start alignedlayerd
# Stop Service
sudo systemctl stop alignedlayerd
# Restart Service
sudo systemctl restart alignedlayerd
# Check Service Status
sudo systemctl status alignedlayerd
# Check Service Logs
sudo journalctl -u alignedlayerd -f --no-hostname -o cat
Important
cat $HOME/.alignedlayer/config/priv_validator_key.json
cd $HOME
sudo systemctl stop alignedlayerd
sudo systemctl disable alignedlayerd
sudo rm /etc/systemd/system/alignedlayerd.service
sudo systemctl daemon-reload
sudo rm -f /usr/local/bin/alignedlayerd
sudo rm -f $(which alignedlayerd)
sudo rm -rf $HOME/.alignedlayer
sudo rm -rf $HOME/aligned_layer_tendermint