Skip to content

Commit 313a1fb

Browse files
author
tilo-14
committed
update skill,md
1 parent 39ed801 commit 313a1fb

2 files changed

Lines changed: 21 additions & 14 deletions

File tree

api-reference/solana-to-light-comparison.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ let client = RpcClient::new(rpc_url.to_string());
9797

9898
<Info>
9999
The Light Token SDK calls RPC methods internally via interface functions like `transferInterface` and `getAtaInterface`. Call them directly for custom indexing, block explorers, or debugging.
100-
See [API reference](/api-reference/json-rpc-methods/overview).
100+
See [JSON RPC Methods](/api-reference/json-rpc-methods/overview).
101101
</Info>
102102

103103
<Accordion title="Get balance">

skill.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Light Token allows agents to build scalable Solana applications with rent-free t
4242

4343
### Creation cost
4444

45-
<<<<<<< HEAD
4645
| | Light | Standard Solana |
4746
| :----------------------- | --------------: | --------------: |
4847
| **Mint Account** | **~0.00001 SOL** | ~0.0015 SOL |
@@ -61,8 +60,6 @@ Light Token allows agents to build scalable Solana applications with rent-free t
6160
| **Transfer** | **312 CU** | 4,645 CU |
6261
| **Transfer** (rent-free) | **1,885 CU** | 4,645 CU |
6362

64-
> > > > > > > 9d61adf (Reorganize docs: restructure navigation, add AI prompts, update examples tables, consolidate pages)
65-
6663
### Install
6764

6865
```bash theme={null}
@@ -99,7 +96,6 @@ This skill does not pull, store, or transmit external secrets. It provides code
9996

10097
## Skills
10198

102-
<<<<<<< HEAD
10399
| Use case | Skill |
104100
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
105101
| For Solana program development with tokens and PDAs, Light is 200x cheaper than SPL/ Solana and has minimal code differences | [light-sdk](skills/light-sdk/) |
@@ -112,7 +108,6 @@ This skill does not pull, store, or transmit external secrets. It provides code
112108
| For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation | [testing](skills/testing/) |
113109
| For questions about compressed accounts, Light SDK, Solana development, Claude Code features, or agent skills | [ask-mcp](skills/ask-mcp/) |
114110

115-
=======
116111
| Use case | Skill |
117112
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
118113
| Build rent-free Solana programs with Light SDK (Anchor or Pinocchio). Includes router integration. | [light-sdk](https://github.com/Lightprotocol/skills/tree/main/skills/light-sdk) |
@@ -125,8 +120,6 @@ This skill does not pull, store, or transmit external secrets. It provides code
125120
| For per-user state, DePIN nodes, and infrequently accessed app state with compressed PDAs | [solana-compression](https://github.com/Lightprotocol/skills/tree/main/skills/solana-compression) |
126121
| Help with Debugging and Questions via DeepWiki MCP | [ask-mcp](https://github.com/Lightprotocol/skills/tree/main/skills/ask-mcp) |
127122

128-
> > > > > > > 9d61adf (Reorganize docs: restructure navigation, add AI prompts, update examples tables, consolidate pages)
129-
130123
### Install to Claude Code
131124

132125
Add the marketplace and install:
@@ -204,6 +197,15 @@ Use rent-free PDAs for: user state, app state, nullifiers for payments, DePIN no
204197

205198
## Examples
206199

200+
### Toolkits
201+
202+
| | Description |
203+
|---------|-------------|
204+
| [Payments and Wallets](https://github.com/Lightprotocol/examples-light-token/tree/main/toolkits/payments-and-wallets) | All you need for wallet integrations and payment flows. Minimal API differences to SPL. |
205+
| [Streaming Tokens](https://github.com/Lightprotocol/examples-light-token/tree/main/toolkits/streaming-tokens/) | Stream mint events using Laserstream |
206+
| [Sign with Privy](https://github.com/Lightprotocol/examples-light-token/tree/main/toolkits/sign-with-privy/) | Light-token operations signed with Privy wallets (Node.js + React) |
207+
| [Sponsor Rent Top-Ups](https://github.com/Lightprotocol/examples-light-token/tree/main/toolkits/sponsor-rent-top-ups/) | Sponsor rent top-ups for users by setting your application as the fee payer |
208+
207209
### TypeScript client (`@lightprotocol/compressed-token`)
208210

209211
| Operation | Docs guide | GitHub example |
@@ -240,12 +242,17 @@ Use rent-free PDAs for: user state, app state, nullifiers for payments, DePIN no
240242

241243
### Program examples (`light_token`)
242244

243-
| | Description |
244-
| --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
245-
| [cp-swap-reference](https://github.com/Lightprotocol/cp-swap-reference) | Fork of Raydium AMM that creates markets without paying rent-exemption |
246-
| [create-and-transfer](https://github.com/Lightprotocol/examples-light-token/tree/main/programs/anchor/create-and-transfer) | Create account via macro and transfer via CPI |
247-
| [pinocchio-swap](https://github.com/Lightprotocol/examples-light-token/tree/main/pinocchio/swap) | Light Token swap reference implementation |
248-
| [spl-to-light](https://github.com/Lightprotocol/examples-light-token/blob/main/rust-client/instructions/spl_to_light_transfer.rs) | Transfer SPL tokens to Light Token |
245+
246+
| | Description |
247+
|---------|-------------|
248+
| [escrow](https://github.com/Lightprotocol/examples-light-token/tree/main/programs/anchor/escrow) | Peer-to-peer light-token swap with offer/accept flow |
249+
| [fundraiser](https://github.com/Lightprotocol/examples-light-token/tree/main/programs/anchor/fundraiser) | Token fundraiser with target, deadline, and refunds |
250+
| [light-token-minter](https://github.com/Lightprotocol/examples-light-token/tree/main/programs/anchor/light-token-minter) | Create light-mints with metadata, mint tokens |
251+
| [token-swap](https://github.com/Lightprotocol/examples-light-token/tree/main/programs/anchor/token-swap) | AMM with liquidity pools and swaps (Anchor) |
252+
| [cp-swap-reference](https://github.com/Lightprotocol/cp-swap-reference) | Fork of Raydium AMM that creates markets without paying rent-exemption |
253+
| [pinocchio-swap](https://github.com/Lightprotocol/examples-light-token/tree/main/pinocchio/swap) | AMM with liquidity pools and swaps (Pinocchio) |
254+
| [create-and-transfer](https://github.com/Lightprotocol/examples-light-token/tree/main/programs/anchor/create-and-transfer) | Create account via macro and transfer via CPI |
255+
| | |
249256

250257
### Program macros (`light_token`)
251258

0 commit comments

Comments
 (0)