Axiom CLI
Axiom is the TruthLinked command-line tool for accounts, cells, validators, governance, and SDK workflows. It signs transactions, talks to the chain RPC, and prints structured output for automation.
1. Install
Install from the TruthLinked workspace.
2. Quick start
- Create a key file.
- Check the chain and token metadata.
- Get your account ID and balance.
- Request devnet faucet funds.
The faucet uses ./axiom/config when present, then the configured default keyfile, then ~/.truthlinked/default.keys. You can also pass a keyfile directly with --from, or pass a local config file such as --from ./axiom/config. The faucet command defaults to https://faucet.truthlinked.org. Set TLKD_FAUCET_URL to target a local or private faucet.
- Transfer the native token.
3. Output format
Use the output flag for automation.
The JSON output mirrors the RPC response. The pretty output is the same data with indentation.
4. RPC endpoint
The default RPC is https://devnet.truthlinked.org. Override it as needed.
5. Transaction flow
The CLI signs transactions and submits postcard-encoded payloads to the RPC.
Use the transaction hash with tx-status to inspect settlement.
6. Staking and validator actions
Validator actions require the validator key file.
Delegation actions require a delegate key file.
7. Cells, tokens, and names
Deploy a cell from source or a compiled .axiom bytecode file.
Call a cell or a call chain.
Use the name registry for proposals and transfers.
8. NFTs
9. SDK helpers
SDK commands create projects, build bytecode, generate manifests, and deploy cells.
10. Notes on units
The native token uses 9 decimals. Pass whole-token values for user-facing amounts and raw base units only where the command asks for them.
11. Troubleshooting
An invalid genesis fingerprint error means the command was signed for a different network. Run axiom chain-info against the intended RPC before submitting transactions.
A signature verification failure means the signing key, account, or selected RPC network is inconsistent.