Loading...
Loading...
Use Light Token client SDKs (TypeScript and Rust) to create mints, associated token accounts, transfer, approve, burn, wrap, and more. Cookbook for @lightprotocol/compressed-token and light_token_client.
npx skill4agent add lightprotocol/skills light-token-client@lightprotocol/compressed-tokenlight_token_clientAskUserQuestionAskUserQuestionTaskSkillTodoWriteReadGlobGrepskills/ask-mcp| Task | Reference |
|---|---|
| Create a mint | create-mint.md |
| Create SPL interface PDA | create-interface-pda.md |
| Create associated token account | create-associated-token-account.md |
| Create token account | create-token-account.md |
| Mint tokens | mint-to.md |
| Transfer tokens | transfer-interface.md |
| Transfer checked | transfer-checked.md |
| Approve delegate | approve.md |
| Revoke delegate | revoke.md |
| Wrap SPL to Light | wrap.md |
| Unwrap Light to SPL | unwrap.md |
| Load associated token account | load-associated-token-account.md |
| Burn tokens | burn.md |
| Burn checked | burn-checked.md |
| Freeze token account | freeze.md |
| Thaw token account | thaw.md |
| Close token account | close-token-account.md |
| Mint SPL, wrap, and transfer | spl-mint-wrap-transfer.md |
| Operation | TypeScript | Rust | Docs |
|---|---|---|---|
| Create Light mint | | | create-mint |
| Create SPL mint w/ interface PDA | | — | create-mint |
| Create T22 mint w/ interface PDA | | — | create-mint |
| Add interface PDA to existing mint | | — | create-mint |
| Create associated token account | | | create-ata |
| Create token account | — | | create-token-account |
| Mint to | | | mint-to |
| Transfer | | | transfer-interface |
| Transfer checked | — | | transfer-checked |
| Approve | | | approve-revoke |
| Revoke | | | approve-revoke |
| Burn | — | | burn |
| Burn checked | — | | burn |
| Wrap SPL to Light | | | wrap-unwrap |
| Unwrap Light to SPL | | | wrap-unwrap |
| Load associated token account (cold to hot) | | — | load-ata |
| Freeze | — | | freeze-thaw |
| Thaw | — | | freeze-thaw |
| Close | — | | close-token-account |
| Criteria | TypeScript | Rust |
|---|---|---|
| Environment | Browser, Node.js, Deno | Server-side, CLI tools, on-chain tests |
| Package | | |
| Pattern | | |
| Freeze/Thaw/Close/Burn | Not yet in TS SDK | Available |
| Resource | Link |
|---|---|
| Docs cookbook | zkcompression.com/light-token/cookbook |
| TypeScript examples | examples-light-token/typescript-client |
| Rust examples | examples-light-token/rust-client |
| API docs |
| API docs |
| docs.rs |
| docs.rs |
| docs.rs |