Commands

Implicit accounts

Namada has multiple account types. An implicit account is used for certain transaction types and is generated from a keypair, similar to accounts on most other blockchains.

GENERATE A NEW KEY

namada wallet key gen --hd-path default --alias wallet

RECOVER AN EXISTING KEY FROM MNEMONIC

namada wallet key restore --hd-path default --alias wallet

LIST KEYS

namada wallet key list

# list the implicit account address
namada wallet address find --alias wallet

Established accounts

In Namada, established accounts are created with a transaction on chain. Their address is known after the on-chain transaction completes. Think of these accounts as extensions of your wallet, allowing you to use all the functionality of Namada.

INITIALIZE A NEW ACCOUNT

namada client init-account \
  --public-keys wallet \
  --signing-keys wallet \
  --threshold 1 \
  --alias account

Shielded accounts

MASP (the multi-asset shielded pool) enables zero-knowledge transfers without revealing who is involved in the transaction or how much is being sent. Inside the shielded pool, you use a separate key and address from your transparent account. You will create a spending (private) key, which you use as the sender address. Generating a spending key also derives a viewing key, which can be used to see transaction details. To receive transactions, you create a payment (receiver) address. A single spending key can have multiple associated payment addresses.

GENERATE A NEW SPENDING KEY

CREATE A NEW PAYMENT ADDRESS

LIST ALL KEYS

LIST ALL ADDRESSES

Transactions

QUERY ACCOUNT BALANCE

When checking spending key (shielded account) balance, you see the total across all associated payment addresses.

SEND A TRANSACTION

Generally, the first signing key will be paying the gas fee. A different implicit account can be specified with the --gas-payer keysha option. You can also use your shielded account for fees, by providing the --gas-spending-key shielded-key option, and (optionally) the --disposable-gas-payer option for enhanced privacy (generating a single-use transparent gas payer).

Validator operations

CREATE A NEW VALIDATOR

UNJAIL VALIDATOR

QUERY VALIDATOR STATE

PoS staking

Skip the --source wallet option if self-delegating from validator account.

DELEGATE/BOND TOKENS

QUERY DELEGATIONS/BONDS

UNBOND TOKENS

WITHDRAW UNBONDED TOKENS

Governance

LIST ALL PROPOSALS

VIEW PROPOSAL BY ID

VOTE ‘YES’

VOTE ‘NO’

Maintenance

UPDATE PORTS

UPDATE INDEXING CONFIGURATION

Disable indexer

Enable indexer

UPDATE PRUNING CONFIGURATION

Pruning is currently not configurable. All nodes are full nodes, starting their history from genesis block.

RESET NODE

DELETE NODE

Please, note before proceeding with the next step! All data will be lost! Make sure you have backed up your keys!

Service Management

ENABLE SERVICE START ON BOOT

DISABLE SERVICE START ON BOOT

START SERVICE

STOP SERVICE

RESTART SERVICE

CHECK SERVICE STATUS

CHECK SERVICE LOGS

Last updated