Remove Light Token + Light PDA, restore Compressed Tokens#33
Conversation
|
Important Review skippedToo many files! This PR contains 300 files, which is 150 over the limit of 150. To get a review, narrow the scope: ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (300)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
🚩 Many removed pages have no redirect — intentional but may cause 404s for external links
This PR removes dozens of pages (all of light-token/, pda/light-pda/, faq.mdx, resources/cli.mdx, resources/whitepaper.mdx, etc.) and also removes many redirects that previously pointed to those now-deleted pages. However, no new redirects were added for the deleted source paths themselves. For example, /light-token/welcome, /light-token/cookbook/create-mint, /faq, /pda/light-pda/overview, and /resources/cli will all return 404. Any external sites or bookmarks pointing to these URLs will break. This appears intentional for a major restructuring, but the scope of breakage is significant. The PR does correctly add redirects for the renamed pages (e.g., compressed-pdas paths).
Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
🚩 Old /token-distribution path has no redirect to new /compressed-tokens/token-distribution
The file token-distribution.mdx was renamed to compressed-tokens/token-distribution.mdx. The redirects from /airdrop and /compressed-tokens/airdrop were updated to point to the new location. However, the old path /token-distribution (which was the actual page path in the previous docs.json) has no redirect to the new location. Anyone with a bookmark or external link to zkcompression.com/token-distribution would get a 404.
Was this helpful? React with 👍 or 👎 to provide feedback.
| title="Combine multiple instructions in a single transaction" | ||
| icon="chevron-right" | ||
| color="#0066ff" | ||
| href="/compressed-tokens/combine-instructions" |
There was a problem hiding this comment.
🟡 Broken internal link to non-existent page /compressed-tokens/integration
The "Next Steps" card in the delegate guide links to /compressed-tokens/integration, but this page does not exist in docs.json or as a file on disk. The docs.json navigation has an "Integration Guides" group containing pages like compressed-tokens/privy, compressed-tokens/token-distribution, etc., but no standalone /compressed-tokens/integration page. Clicking this card would result in a 404.
| href="/compressed-tokens/combine-instructions" | |
| href="/compressed-tokens/overview" |
Was this helpful? React with 👍 or 👎 to provide feedback.
| // 3. Create decompress instruction with CompressedTokenProgram.decompress() and submit transaction | ||
|
|
||
| // Step 1: Setup RPC connection and define decompression parameters | ||
| const connection: Rpc = createRpc("https://mainnet.helius-rpc.com?api-key=<api_key>";); |
There was a problem hiding this comment.
🟡 Stray semicolon causes TypeScript syntax error in decompress code example
The createRpc() call has a stray semicolon between the closing quote and closing parenthesis: createRpc("...api_key>";). This is invalid TypeScript — any developer copying this example would get a syntax error. The compress example in the same file (compressed-tokens/wallet-integration.mdx:567-569) does not have this issue.
| const connection: Rpc = createRpc("https://mainnet.helius-rpc.com?api-key=<api_key>";); | |
| const connection: Rpc = createRpc("https://mainnet.helius-rpc.com?api-key=<api_key>"); |
Was this helpful? React with 👍 or 👎 to provide feedback.
Reverses the Light Token rebrand: removes the Light Token standard and the Light PDA primitive, restores the compressed-token docs as the general token primitive, and reconciles the nav restructure.
Removed
light-token/section,pda/light-pda/,learn/light-token-standard.mdx,api-reference/solana-to-light-comparison.mdx,api-reference/anchor.mdx,resources/whitepaper.mdx,resources/cli.mdx,faq.mdx, all light-token snippets, and orphaned cost-tables.Restored / repositioned
examples-zk-compression.pda/compressed-pdas/*→compressed-pdas/*;learn/core-concepts/*→learn/*.Cleanup
llms.txtregenerated to mirror docs.json nav (H3 subgroups); generator de-stale'd; cost table corrected (5,000 vs 2,000,000 lamports).Verification
llms.txtidempotent (generate-llms-txt.js --checkpasses); 29/29 OpenAPI specs.npm run ci(prettier/eslint/cspell) — dev deps not installed locally.skill.mdfact-checked clean.🤖 Generated with Claude Code