axiom-cli-0.1.17 is not a library.
Axiom CLI
The official command-line interface for TruthLinked, a post-quantum secure blockchain.
Installation
# Build from source
# Binary location
Quick Start
Generate a Wallet
# Creates ~/.truthlinked/default.keys
Check Your Balance
Get Testnet Funds
# Request testnet TLKD tokens (15,000 TLKD limit)
Send TLKD
# By account ID
# By .tl name
Network Configuration
Axiom connects to TruthLinked Testnet by default:
- RPC Endpoint:
https://testnet.truthlinked.org - No
--rpcflag needed for testnet operations
Override RPC (Optional)
# Use environment variable
# Or use --rpc flag
Core Commands
Account Management
# Generate new keypair
# Derive account ID from keys
# Show balance
# Show full status (balance, compute, staking)
Send Transactions
# Send native TLKD
# Examples
# Batch transfer to multiple recipients
NFT Operations
# Mint NFT
# Transfer NFT
# Send NFT (alias)
# View NFT info
Name Registry (.tl Names)
# Propose a .tl name
# Example
# Vote on name proposal (validators only)
# Renew name registration
# Transfer name ownership
Staking
# Stake TLKD
# Unstake (initiates cooldown)
# Withdraw after cooldown
# View staking info
Compute Credits
# Deposit TLKD for compute
# Withdraw compute credits
Smart Cells (Contracts)
# Deploy a cell
# Call a cell
# Upgrade cell (owner only)
# Transfer cell ownership
# Make cell immutable (permanent)
Chain Information
# Chain status
# Token info
# Network health
# List validators
# Transaction status
Output Formats
# Human-readable (default)
# JSON output (for scripts)
# Compact output
Key Management
Key File Format
Axiom uses Dilithium5 post-quantum cryptography. Key files contain:
- Secret key (private)
- Public key
- Account ID (derived from public key)
⚠️ Security Warning: Keep your .keys files secure. Never share them or commit to version control.
Multiple Keys
# Use specific key for transaction
# Use different key per command
Configuration File
Create ~/.truthlinked/config.json:
Advanced Usage
Transaction Signing
All transactions require a signature from your key:
# Explicit keyfile
# Default key (from config)
Gas and Fees
- Gas is automatically estimated
- Fees are paid in TLKD
- View fee in transaction output
Name Resolution
Recipients support multiple formats:
- Account ID:
fdf65cef48cc4c7f6f256ccc0b28173c64d18eb3e882cdc960474bc24c1890e8 - .tl names:
alice.tl,bob.tl - Public key (for some commands)
SDK Generation
Generate a project template with embedded SDK:
# Follow instructions in generated README
Common Workflows
New User Setup
# 1. Generate wallet
# 2. Get your account ID
# 3. Get testnet funds
# 4. Check balance
Register a Name
# 1. Propose your name
# 2. Wait for validator approval (automatic)
# 3. Verify registration
# 4. Now others can send to you via name
# Others: axiom send native myname.tl 100
Deploy and Use a Cell
# 1. Deploy cell
# 2. Call cell function
# 3. Check cell state
Troubleshooting
Connection Issues
# Check network status
# Verify RPC endpoint
Transaction Failures
# Check transaction status
# Common issues:
# - Insufficient balance (need TLKD for amount + fees)
# - Invalid recipient address
# - Name not registered yet
Key File Issues
# Verify key file format
# If corrupted, generate new wallet
Environment Variables
TRUTHLINKED_RPC: Override default RPC endpointRUST_LOG: Set log level (debug, info, warn, error)
Examples
Simple Transfer
Batch Transfer
Mint and Send NFT
# Mint
# Transfer
Name Registration Flow
# Propose
# Vote (validators only)
# Use
Support
- Documentation: https://docs.truthlinked.org
- Explorer: https://explorer.truthlinked.org
- RPC API: https://testnet.truthlinked.org
License
Copyright © 2026 TruthLinked
Version
Check version:
Current default network: Testnet (https://testnet.truthlinked.org)