Skip to main content
  1. loadAta unifies tokens from multiple sources to a single ATA:
    • Compressed tokens (cold Light Tokens) -> Decompresses -> light ATA
    • SPL balance (if wrap=true) -> Wraps -> light ATA
    • T22 balance (if wrap=true) -> Wraps -> light ATA
  2. Returns null if there’s nothing to load (idempotent)
  3. Creates the ATA if it doesn’t exist
Find the source code here.
Install the agent skill:
See the AI tools guide for dedicated skills.
1

Unify Tokens to Light-ATA Balance

Install packages in your working directory:
Install the CLI globally:
In the code examples, use createRpc() without arguments for localnet.