Skip to main content

  • Wrap: Move tokens from SPL/T22 account → Light Token ATA (hot balance)
  • Unwrap: Move tokens from Light Token ATA (hot balance) → SPL/T22 account
Find the source code: wrap.ts | unwrap.ts
Install the agent skill:
See the AI tools guide for dedicated skills.
1

Wrap SPL Tokens to Light Token ATA

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