Epix Logo

Epix

Active

The world's first blockchain powering a completely decentralized internet where websites are hosted by everyone, controlled by no one.

Epix Cheat Sheet and Key Management

This guide provides essential commands for managing wallets, nodes, and validators on the Epix network. Make sure the environment variables mentioned at the end are correctly configured before using these commands.

1. Key Management

Create a New Wallet

epixd keys add $WALLET

Keep the generated seed phrase safe. It is the only way to recover your wallet.

Recover Wallet from Seed Phrase

epixd keys add $WALLET --recover

You will be prompted to enter your seed phrase.

List Wallets

epixd keys list

Show Wallet Details

epixd keys show $WALLET

Delete Wallet

epixd keys delete $WALLET

2. Wallet Operations

Check Balance

epixd query bank balances $(epixd keys show $WALLET -a)

Send Tokens

epixd tx bank send $(epixd keys show $WALLET -a) <receiver_wallet_address> <amount><denom> --chain-id $EPIX_CHAIN_ID --gas-prices 20000000000aepix --gas-adjustment 1.5 --gas auto -y

Example:

epixd tx bank send $(epixd keys show $WALLET -a) epix1...yyy 1000000aepix --chain-id $EPIX_CHAIN_ID --gas-prices 20000000000aepix --gas-adjustment 1.5 --gas auto -y

Replace <amount> with the number of tokens and <denom> with the token denomination (e.g., aepix).

3. Validator Management

Ensure you have enough aepix tokens for self-delegation and transaction fees before creating a validator.

Create Validator

Configuration

Generated Command

epixd comet show-validator > $HOME/.epixd/validator_pubkey.json
cat <<EOF > $HOME/.epixd/validator.json
{
  "pubkey": $(cat $HOME/.epixd/validator_pubkey.json),
  "amount": "1000000000000000000aepix",
  "moniker": "",
  "identity": "",
  "website": "",
  "security": "",
  "details": "🚀 Built by node runners.",
  "commission-rate": "0.1",
  "commission-max-rate": "0.20",
  "commission-max-change-rate": "0.01",
  "min-self-delegation": "1"
}
EOF
epixd tx staking create-validator $HOME/.epixd/validator.json \
  --from=$WALLET \
  --chain-id=epix_1916-1 \
  --gas-prices 20000000000aepix \
  --gas=auto \
  --gas-adjustment=1.4 \
  --home ~/.epixd \
  -y
Parameter Explanation:
ParameterDetails
--amountTokens self-delegated to the validator. 1000000000000000000aepix = 1 EPIX
--fromWallet used for the transaction.
--commission-rateInitial commission rate.
--commission-max-rateMaximum allowed commission rate.
--commission-max-change-rateMax daily commission change.
--min-self-delegationMinimum tokens for self-delegation.
--pubkeyValidator's public key.
--monikerValidator nickname.
--identityKeybase ID for identity verification.
--websiteValidator's website URL.
--detailsValidator description.
--security-contactEmail for security-related contact.

Edit Validator

epixd tx staking edit-validator \
--moniker "$MONIKER" \
--identity "<new_keybase_id>" \
--website "<new_website>" \
--security-contact "<new_contact_email>" \
--details "<new_description>" \
--commission-rate "0.07" \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

Delegate Tokens

epixd tx staking delegate $(epixd keys show $WALLET --bech val -a) <amount>aepix \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

Withdraw Rewards (Delegator)

epixd tx distribution withdraw-rewards $(epixd keys show $WALLET --bech val -a) \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

Withdraw Rewards (Validator Commission)

epixd tx distribution withdraw-rewards $(epixd keys show $WALLET --bech val -a) --commission \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

Unbond Tokens

epixd tx staking unbond $(epixd keys show $WALLET --bech val -a) <amount>aepix \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

Redelegate Tokens

epixd tx staking redelegate $(epixd keys show $WALLET --bech val -a) <destination_validator_address> <amount>aepix \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

4. Node Status & Info

Check Sync Status

epixd status 2>&1 | jq .result.sync_info

Check Peer Info

epixd status 2>&1 | jq .result.sync_info.catching_up
epixd status 2>&1 | jq .result.node_info.listen_addr

Show Node ID

epixd tendermint show-node-id

Restart Node

sudo systemctl restart epixd

View Node Logs

sudo journalctl -u epixd -fo cat

5. Governance

List Proposals

epixd query gov proposals

View Proposal Details

epixd query gov proposal <proposal_id>

Vote on Proposal

epixd tx gov vote <proposal_id> <yes|no|no_with_veto|abstain> \
--chain-id $EPIX_CHAIN_ID \
--gas-prices 20000000000aepix \
--gas-adjustment 1.5 \
--gas auto \
--from $WALLET \
-y

6. Environment Variables

Make sure to set these in your ~/.bash_profile or equivalent shell config:

export WALLET="wallet"
export MONIKER="YourMoniker"
export EPIX_CHAIN_ID="epix_1916-1"
export EPIX_PORT="14"

Apply the changes with:

source ~/.bash_profile

This cheat sheet is provided to streamline Epix validator and wallet management.