π Odiseo
Enpoint
RPC URL: https://daodiseo-testnet-rpc.validator247.com
API URL: https://daodiseo-testnet-api.validator247.com
Install Node
cd $HOME
rm -rf Achilles
git clone https://github.com/daodiseomoney/Achilles.git
cd $HOME/Achilles/achilles
make install
Initialize Node
achillesd init <your_nodename> --chain-id=ithaca-1
Download genesis & addrboook
wget -O genesis.json https://raw.githubusercontent.com/Validator247/Odiseo-testet/main/genesis.json --inet4-only && mv genesis.json $HOME/.achilles/config/
wget -O addrbook.json https://raw.githubusercontent.com/Validator247/Odiseo-testet/main/addrbook.json --inet4-only && mv addrbook.json $HOME/.achilles/config/
Set min gas:
sed -i -e 's|^minimum-gas-prices *=.*|minimum-gas-prices = "0.25uodis"|' $HOME/.achilles/config/app.toml
Set indexer:
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.achilles/config/config.toml
Pruning:
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.achilles/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.achilles/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"50\"/" $HOME/.achilles/config/app.toml
Create Service:
sudo tee /etc/systemd/system/achillesd.service > /dev/null <<EOF
[Unit]
Description=Achilles Node
After=network-online.target
[Service]
User=$USER
ExecStart=$(which achillesd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable achillesd
Command
Wallet:
Add New Wallet:
achillesd keys add wallet
Restore executing wallet:
achillesd keys add wallet --recover
List All Wallets:
achillesd keys list
Delete wallet:
achillesd keys delete wallet
Check Balance:
achillesd q bank balances $(achillesd keys show wallet -a)
Validator:
Create Validator:
Create file: validator.json
{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxxxxxxxxxxxxx"},
"amount": "1000000uodis",
"moniker": "Your_nodename",
"identity": "",
"website": "",
"security": "",
"details": ",
"commission-rate": "0.05",
"commission-max-rate": "0.05",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
Create Validator
achillesd tx staking create-validator /path/to/validator.json \
--from wallet \
--chain-id ithaca-1 \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices=0.25uodis \
--node=https://daodiseo-testnet-rpc.validator247.com:443 \
Edit Validator
achillesd tx staking edit-validator \
--identity=xxxx \
--details="xxxx" \
--chain-id=ithaca-1 \
--commission-rate=0.1 \
--from=wallet \
--gas-prices=0.25uodis \
--gas-adjustment=1.5 \
--gas=auto \
-y
Check sync | False -> done.
achillesd status 2>&1 | jq .SyncInfo.catching_up
Delegate:
achillesd tx staking delegate $(achillesd keys show wallet --bech val -a) 1000000uodis \
--from wallet \
--chain-id=ithaca-1 \
--gas-prices 0.025uodis \
--node=https://daodiseo-testnet-rpc.validator247.com:443 \
-y
Withdraw rewards and commission:
achillesd tx distribution withdraw-rewards $(achillesd keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=ithaca-1 \
--gas-prices 0.025uodis \
--node=https://daodiseo-testnet-rpc.validator247.com:443 \
-y
Unjail:
--from wallet \
--chain-id=ithaca-1 \
--gas-prices 0.025uodis \
--node=https://daodiseo-testnet-rpc.validator247.com:443 \
-y
Unbond:
achillesd tx staking unbond $(achillesd keys show wallet --bech val -a) 1000000uodis \
--from wallet \
--chain-id=ithaca-1 \
--gas-prices 0.025uodis \
--node=https://daodiseo-testnet-rpc.validator247.com:443 \
-y
Vote:
yes/no/no_with_veto/abstain
achillesd tx gov vote 1 yes \
--from wallet \
--chain-id ithaca-1 \
--gas-prices 0.025uodis \
--node=https://daodiseo-testnet-rpc.validator247.com:443 \
-y
System:
Reload Service:
sudo systemctl daemon-reload
Enable Service:
sudo systemctl enable achillesd
Disable Service:
sudo systemctl disable achillesd
Start Service:
sudo systemctl start achillesd
Stop Service:
sudo systemctl stop achillesd
Restart Service:
sudo systemctl restart achillesd
Check Service Status:
sudo systemctl status achillesd
Check Service Logs:
sudo journalctl -u achillesd -fo cat
Last updated