AURA

treasury

Create, inspect, propose, pause, and cancel AURA treasuries.

Pre-alpha — not production ready

@aura-protocol/cli targets Solana devnet only. APIs and commands may change without notice. Do not use for real funds until a stable release and audit are published.

aura treasury create

Create a new agent treasury. Prompts for any missing required values.

aura treasury create \
  --agent-id agent-1 \
  --daily-limit 10000 \
  --per-tx-limit 1000
Example output:
$ aura treasury create --agent-id agent-1 --daily-limit 10000 --per-tx-limit 1000
╭─ Create treasury ───────────────────────────────────────────╮
│ network    [devnet] https://api.devnet.solana.com           │
│ agent      agent-1                                          │
│ treasury   9mTq…Wr4K                                        │
│ daily      $10000                                           │
│ per-tx     $1000                                            │
╰──────────────────────────────────────────────────────────────╯
✓ Simulation ok (38,420 compute units)
✓ Create treasury — 3xKp…mF9z
ℹ https://explorer.solana.com/tx/3xKp…mF9z?cluster=devnet
treasury  9mTq…Wr4K
FlagDescription
--agent-id <id>Unique agent identifier
--daily-limit <usd>Daily spending limit in USD
--per-tx-limit <usd>Per-transaction limit in USD
--daytime-hourly-limit <usd>Daytime hourly limit in USD
--nighttime-hourly-limit <usd>Nighttime hourly limit in USD
--velocity-limit <usd>Velocity limit in USD
--max-slippage-bps <bps>Max slippage in basis points
--max-quote-age <secs>Max quote age in seconds
--ttl <secs>Pending transaction TTL in seconds
--ai-authority <pubkey>AI authority pubkey (defaults to wallet)

aura treasury show

Show full treasury state including policy, pending proposal, and dWallets.

aura treasury show --agent-id agent-1
aura treasury show --treasury <pda>
aura treasury show --agent-id agent-1 --watch          # refresh every 5s
aura treasury show --agent-id agent-1 --interval 10    # refresh every 10s
aura treasury show --agent-id agent-1 --json
Example output:
$ aura treasury show
AURA :: Treasury: agent-1

┌─────────────┬──────────────────────────────────────────────┐
│ Field       │ Value                                        │
├─────────────┼──────────────────────────────────────────────┤
│ PDA         │ 9mTq…Wr4K                                    │
│ Agent ID    │ agent-1                                      │
│ Owner       │ 7mNv…QrSt                                    │
│ AI Authority│ 7mNv…QrSt                                    │
│ Status      │ Active                                       │
│ Total tx    │ 4                                            │
│ Created     │ Jan 15, 2025, 10:32:01 AM                    │
│ Updated     │ Jan 15, 2025, 02:14:47 PM                    │
└─────────────┴──────────────────────────────────────────────┘

┌──────────────────┬────────────┐
│ Policy           │ Value      │
├──────────────────┼────────────┤
│ Daily limit      │ $10,000.00 │
│ Per-tx limit     │ $1,000.00  │
│ Daytime hourly   │ —          │
│ Nighttime hourly │ —          │
│ Velocity limit   │ —          │
│ Shared pool      │ —          │
│ Max slippage     │ —          │
│ Max quote age    │ —          │
│ Max risk score   │ —          │
└──────────────────┴────────────┘
FlagDescription
--agent-id <id>Look up by agent ID
--treasury <pda>Look up by treasury PDA
--watchRefresh every 5 seconds (clears screen on each refresh)
--interval <secs>Custom refresh interval in seconds (default: 5)

aura treasury list

List all treasuries owned by the configured wallet.

aura treasury list
aura treasury list --json
Example output:
$ aura treasury list
AURA :: Treasuries (2)

┌──────────┬───────────┬────────┬──────────┐
│ Agent ID │ PDA       │ Status │ Total Tx │
├──────────┼───────────┼────────┼──────────┤
│ agent-1  │ 9mTq…Wr4K │ Active │ 4        │
│ agent-2  │ 4pRx…Hn8L │ Paused │ 1        │
└──────────┴───────────┴────────┴──────────┘

aura treasury propose

Propose a public transaction. Prompts for any missing required values.

aura treasury propose \
  --agent-id agent-1 \
  --amount 250 \
  --chain ethereum \
  --recipient 0xdeadbeef...
Example output:
$ aura treasury propose --agent-id agent-1 --amount 250 --chain ethereum --recipient 0xdead…
╭─ Propose transaction ───────────────────────────────────────╮
│ network    [devnet] https://api.devnet.solana.com           │
│ amount     $250                                             │
│ recipient  0xdead…beef                                      │
╰──────────────────────────────────────────────────────────────╯
✓ Simulation ok (61,204 compute units)
✓ Propose transaction — 5vBn…Kx2P
ℹ https://explorer.solana.com/tx/5vBn…Kx2P?cluster=devnet
FlagDescription
--agent-id <id>Treasury agent ID
--treasury <pda>Treasury PDA
--amount <usd>Amount in USD
--chain <name|number>Target chain (e.g. ethereum, solana, 2)
--recipient <address>Recipient address or contract
--tx-type <type>Transaction type
--protocol-id <id>Protocol ID for DeFi whitelisting
--expected-output <usd>Expected output for slippage check
--actual-output <usd>Actual output for slippage check
--quote-age <secs>Quote age in seconds
--counterparty-risk <score>Counterparty risk score 0–100

aura treasury cancel

Cancel the current pending transaction. Prompts for confirmation (it discards the pending proposal); pass the global --yes to skip the prompt.

aura treasury cancel --agent-id agent-1
aura treasury cancel --agent-id agent-1 --yes    # skip confirmation
Example output:
$ aura treasury cancel --agent-id agent-1
╭─ Cancel pending transaction ────────────────────────────────╮
│ network    [devnet] https://api.devnet.solana.com           │
│ #1 auraEgX8…W1ce (3 accts · 1 signer · 2 writable)          │
╰──────────────────────────────────────────────────────────────╯
? Confirm "Cancel pending transaction"? (y/N) y
✓ Cancel pending transaction — 2wQj…Tz7R

aura treasury pause

Pause or unpause treasury execution. Prompts for confirmation; pass --yes to skip.

aura treasury pause --agent-id agent-1            # pause
aura treasury pause --agent-id agent-1 --unpause  # unpause
aura treasury pause --agent-id agent-1 --yes      # skip confirmation
Example output:
$ aura treasury pause --agent-id agent-1
? Confirm "Pause treasury"? (y/N) y
✓ Pause treasury — 4hLm…Vp3N

On this page