Skip to content

Remove Light Token + Light PDA, restore Compressed Tokens#33

Merged
tilo-14 merged 2 commits into
mainfrom
cleanup/remove-light-token-restore-compressed-tokens
Jun 9, 2026
Merged

Remove Light Token + Light PDA, restore Compressed Tokens#33
tilo-14 merged 2 commits into
mainfrom
cleanup/remove-light-token-restore-compressed-tokens

Conversation

@tilo-14

@tilo-14 tilo-14 commented Jun 9, 2026

Copy link
Copy Markdown
Member

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

  • Entire 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

  • Compressed-token docs (overview, cookbook, Privy, wallet-integration, token-2022, token-distribution) — Privy snippets ported verbatim from examples-zk-compression.
  • Compressed PDA section with nullifier-pda re-added to nav + landing-page guide cards.
  • pda/compressed-pdas/*compressed-pdas/*; learn/core-concepts/*learn/*.

Cleanup

  • "token pool" → "interface PDA" (prose only; SDK identifiers kept).
  • Stale "Light Token" prose reframed/removed across home, learn, resources, terminology, api-reference, snippets — real code identifiers, Cargo crates, Program IDs preserved.
  • docs.json nav rebuilt (Compressed Tokens / Compressed PDA / Custom ZK Applications) + redirects remediated (no shadowing/broken).
  • llms.txt regenerated to mirror docs.json nav (H3 subgroups); generator de-stale'd; cost table corrected (5,000 vs 2,000,000 lamports).

Verification

  • docs.json valid JSON; every nav page resolves on disk; no redirect shadows a live page.
  • No internal Light Token / Light-PDA references remain (keeper-filtered sweep clean).
  • llms.txt idempotent (generate-llms-txt.js --check passes); 29/29 OpenAPI specs.

⚠️ Not run: npm run ci (prettier/eslint/cspell) — dev deps not installed locally. skill.md fact-checked clean.

🤖 Generated with Claude Code


Open in Devin Review

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 300 files, which is 150 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 7929b948-6357-4321-bba9-beeeb1ae7b09

📥 Commits

Reviewing files that changed from the base of the PR and between 282e04b and bdf7e6d.

📒 Files selected for processing (300)
  • README.md
  • ai-tools/agent-skills.mdx
  • ai-tools/prompts.mdx
  • api-reference/anchor.mdx
  • api-reference/json-rpc-methods/overview.mdx
  • api-reference/overview.mdx
  • api-reference/sdk.mdx
  • api-reference/solana-to-light-comparison.mdx
  • compressed-pdas/guides.mdx
  • compressed-pdas/guides/client-guide.mdx
  • compressed-pdas/guides/how-to-burn-compressed-accounts.mdx
  • compressed-pdas/guides/how-to-close-compressed-accounts.mdx
  • compressed-pdas/guides/how-to-create-compressed-accounts.mdx
  • compressed-pdas/guides/how-to-reinitialize-compressed-accounts.mdx
  • compressed-pdas/guides/how-to-update-compressed-accounts.mdx
  • compressed-pdas/nullifier-pda.mdx
  • compressed-pdas/overview.mdx
  • compressed-pdas/program-examples.mdx
  • compressed-pdas/solana-attestation-service.mdx
  • compressed-tokens/combine-instructions.mdx
  • compressed-tokens/guides.mdx
  • compressed-tokens/guides/add-token-pools-to-mint-accounts.mdx
  • compressed-tokens/guides/compress-decompress.mdx
  • compressed-tokens/guides/compress-spl-token-account.mdx
  • compressed-tokens/guides/create-compressed-token-accounts.mdx
  • compressed-tokens/guides/create-mint-with-token-pool.mdx
  • compressed-tokens/guides/delegate.mdx
  • compressed-tokens/guides/merge-compressed-token-accounts.mdx
  • compressed-tokens/guides/mint-compressed-tokens.mdx
  • compressed-tokens/guides/transfer-compressed-tokens.mdx
  • compressed-tokens/overview.mdx
  • compressed-tokens/privy.mdx
  • compressed-tokens/token-2022.mdx
  • compressed-tokens/token-distribution.mdx
  • compressed-tokens/wallet-integration.mdx
  • docs.json
  • faq.mdx
  • home.mdx
  • learn/compressed-account-model.mdx
  • learn/considerations.mdx
  • learn/core-concepts.mdx
  • learn/light-token-standard.mdx
  • learn/merkle-trees-validity-proofs.mdx
  • learn/overview.mdx
  • learn/transaction-lifecycle.mdx
  • light-token/cookbook/add-interface-pda.mdx
  • light-token/cookbook/approve-revoke.mdx
  • light-token/cookbook/burn.mdx
  • light-token/cookbook/close-token-account.mdx
  • light-token/cookbook/create-ata.mdx
  • light-token/cookbook/create-mint.mdx
  • light-token/cookbook/create-token-account.mdx
  • light-token/cookbook/freeze-thaw.mdx
  • light-token/cookbook/load-ata.mdx
  • light-token/cookbook/mint-to.mdx
  • light-token/cookbook/transfer-checked.mdx
  • light-token/cookbook/transfer-delegated.mdx
  • light-token/cookbook/transfer-interface.mdx
  • light-token/cookbook/wrap-unwrap.mdx
  • light-token/defi/programs-pinocchio.mdx
  • light-token/defi/programs.mdx
  • light-token/defi/routers.mdx
  • light-token/examples/client.mdx
  • light-token/examples/program.mdx
  • light-token/extensions/overview.mdx
  • light-token/payments/basic-payment.mdx
  • light-token/payments/batch-payments.mdx
  • light-token/payments/overview.mdx
  • light-token/payments/payment-with-memo.mdx
  • light-token/payments/production-readiness.mdx
  • light-token/payments/receive-payments.mdx
  • light-token/payments/spend-permissions.mdx
  • light-token/payments/verify-payments.mdx
  • light-token/payments/verify-recipient-address.mdx
  • light-token/payments/wrap-unwrap.mdx
  • light-token/quickstart.mdx
  • light-token/streaming/mints.mdx
  • light-token/streaming/tokens.mdx
  • light-token/wallets/gasless-transactions.mdx
  • light-token/wallets/overview.mdx
  • light-token/wallets/privy.mdx
  • light-token/wallets/wallet-adapter.mdx
  • light-token/welcome.mdx
  • llms.txt
  • pda/light-pda/overview.mdx
  • pda/overview.mdx
  • resources/addresses-and-urls.mdx
  • resources/cli.mdx
  • resources/legacy-compressed-tokens.mdx
  • resources/migration-v1-to-v2.mdx
  • resources/terminology.mdx
  • resources/whitepaper.mdx
  • scripts/generate-llms-txt.js
  • skill.md
  • snippets/accounts-list/close-account-infos-accounts-list.mdx
  • snippets/accounts-list/light-mint-system-accounts-list.mdx
  • snippets/accounts-list/light-mint-to-light-token-accounts-list.mdx
  • snippets/accounts-list/light-token-create-accounts-list-client.mdx
  • snippets/accounts-list/light-token-create-accounts-list.mdx
  • snippets/accounts-list/light-token-create-ata-accounts-list.mdx
  • snippets/accounts-list/transfer-interface-accounts-list-light-token-1.mdx
  • snippets/accounts-list/transfer-interface-accounts-list-spl-2.mdx
  • snippets/ai-prompts/all-prompts.mdx
  • snippets/ai-prompts/anchor-program-template.mdx
  • snippets/ai-prompts/anchor-programs/defi-anchor.mdx
  • snippets/ai-prompts/cpi-program-template.mdx
  • snippets/ai-prompts/cpi-programs/burn.mdx
  • snippets/ai-prompts/cpi-programs/client-guide.mdx
  • snippets/ai-prompts/cpi-programs/close.mdx
  • snippets/ai-prompts/cpi-programs/create.mdx
  • snippets/ai-prompts/cpi-programs/reinitialize.mdx
  • snippets/ai-prompts/cpi-programs/update.mdx
  • snippets/ai-prompts/defi/defi-anchor.mdx
  • snippets/ai-prompts/defi/defi-pinocchio.mdx
  • snippets/ai-prompts/defi/routers.mdx
  • snippets/ai-prompts/light-token-prompts.mdx
  • snippets/ai-prompts/light-token-recipes.mdx
  • snippets/ai-prompts/program-cookbook/approve-revoke.mdx
  • snippets/ai-prompts/program-cookbook/burn.mdx
  • snippets/ai-prompts/program-cookbook/close-token-account.mdx
  • snippets/ai-prompts/program-cookbook/create-ata-cpi.mdx
  • snippets/ai-prompts/program-cookbook/create-ata-macros.mdx
  • snippets/ai-prompts/program-cookbook/create-mint-cpi.mdx
  • snippets/ai-prompts/program-cookbook/create-mint-macros.mdx
  • snippets/ai-prompts/program-cookbook/create-token-account-cpi.mdx
  • snippets/ai-prompts/program-cookbook/create-token-account-macros.mdx
  • snippets/ai-prompts/program-cookbook/freeze-thaw.mdx
  • snippets/ai-prompts/program-cookbook/light-pda.mdx
  • snippets/ai-prompts/program-cookbook/mint-to.mdx
  • snippets/ai-prompts/program-cookbook/transfer-checked.mdx
  • snippets/ai-prompts/program-cookbook/transfer-interface.mdx
  • snippets/ai-prompts/rust-cookbook/approve-revoke.mdx
  • snippets/ai-prompts/rust-cookbook/burn.mdx
  • snippets/ai-prompts/rust-cookbook/close-token-account.mdx
  • snippets/ai-prompts/rust-cookbook/create-ata.mdx
  • snippets/ai-prompts/rust-cookbook/create-mint.mdx
  • snippets/ai-prompts/rust-cookbook/create-token-account.mdx
  • snippets/ai-prompts/rust-cookbook/freeze-thaw.mdx
  • snippets/ai-prompts/rust-cookbook/mint-to.mdx
  • snippets/ai-prompts/rust-cookbook/transfer-checked.mdx
  • snippets/ai-prompts/rust-cookbook/transfer-interface.mdx
  • snippets/ai-prompts/rust-cookbook/wrap-unwrap.mdx
  • snippets/ai-prompts/rust-template.mdx
  • snippets/ai-prompts/streaming/mints.mdx
  • snippets/ai-prompts/streaming/tokens.mdx
  • snippets/ai-prompts/template.mdx
  • snippets/ai-prompts/toolkits/airdrop.mdx
  • snippets/ai-prompts/toolkits/nullifiers.mdx
  • snippets/ai-prompts/toolkits/payments.mdx
  • snippets/ai-prompts/toolkits/wallets.mdx
  • snippets/ai-prompts/ts-cookbook/add-interface-pda.mdx
  • snippets/ai-prompts/ts-cookbook/approve-revoke.mdx
  • snippets/ai-prompts/ts-cookbook/create-ata.mdx
  • snippets/ai-prompts/ts-cookbook/create-mint.mdx
  • snippets/ai-prompts/ts-cookbook/mint-to.mdx
  • snippets/ai-prompts/ts-cookbook/transfer-interface.mdx
  • snippets/ai-prompts/ts-cookbook/wrap-unwrap.mdx
  • snippets/ai-prompts/wallets/gasless-transactions.mdx
  • snippets/ai-prompts/wallets/privy.mdx
  • snippets/ai-prompts/wallets/wallet-adapter.mdx
  • snippets/code-snippets/compressed-token/approve/action.mdx
  • snippets/code-snippets/compressed-token/compress-spl-account/action.mdx
  • snippets/code-snippets/compressed-token/compress/action.mdx
  • snippets/code-snippets/compressed-token/create-mint/action.mdx
  • snippets/code-snippets/compressed-token/create-mint/instruction.mdx
  • snippets/code-snippets/compressed-token/create-token-pool/action.mdx
  • snippets/code-snippets/compressed-token/decompress/action.mdx
  • snippets/code-snippets/compressed-token/merge-token-accounts/action.mdx
  • snippets/code-snippets/compressed-token/mint-to/action.mdx
  • snippets/code-snippets/compressed-token/mint-to/instruction.mdx
  • snippets/code-snippets/compressed-token/revoke/action.mdx
  • snippets/code-snippets/compressed-token/transfer/action.mdx
  • snippets/code-snippets/light-token/approve-revoke/approve-action.mdx
  • snippets/code-snippets/light-token/approve-revoke/revoke-action.mdx
  • snippets/code-snippets/light-token/approve-revoke/rust-client/approve-action.mdx
  • snippets/code-snippets/light-token/approve-revoke/rust-client/approve-full.mdx
  • snippets/code-snippets/light-token/approve-revoke/rust-client/approve-instruction.mdx
  • snippets/code-snippets/light-token/approve-revoke/rust-client/revoke-action.mdx
  • snippets/code-snippets/light-token/approve-revoke/rust-client/revoke-full.mdx
  • snippets/code-snippets/light-token/approve-revoke/rust-client/revoke-instruction.mdx
  • snippets/code-snippets/light-token/approve-revoke/token-interface-approve-instruction.mdx
  • snippets/code-snippets/light-token/approve-revoke/token-interface-revoke-instruction.mdx
  • snippets/code-snippets/light-token/approve/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/approve/native-program/full-example.mdx
  • snippets/code-snippets/light-token/burn-checked/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/burn/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/burn/native-program/full-example.mdx
  • snippets/code-snippets/light-token/burn/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/close-token-account/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/close-token-account/native-program/full-example.mdx
  • snippets/code-snippets/light-token/close-token-account/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/counter/anchor-macro/full-example.mdx
  • snippets/code-snippets/light-token/create-ata/action.mdx
  • snippets/code-snippets/light-token/create-ata/anchor-macro/full-example.mdx
  • snippets/code-snippets/light-token/create-ata/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/create-ata/instruction.mdx
  • snippets/code-snippets/light-token/create-ata/native-program/full-example.mdx
  • snippets/code-snippets/light-token/create-ata/rust-client/action.mdx
  • snippets/code-snippets/light-token/create-ata/rust-client/idempotent.mdx
  • snippets/code-snippets/light-token/create-ata/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/create-ata/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/create-mint/action.mdx
  • snippets/code-snippets/light-token/create-mint/anchor-macro/full-example.mdx
  • snippets/code-snippets/light-token/create-mint/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/create-mint/native-program/full-example.mdx
  • snippets/code-snippets/light-token/create-mint/rust-client/action.mdx
  • snippets/code-snippets/light-token/create-mint/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/create-mint/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/create-spl-mint/instruction.mdx
  • snippets/code-snippets/light-token/create-spl-mint/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/create-t22-mint/action.mdx
  • snippets/code-snippets/light-token/create-t22-mint/instruction.mdx
  • snippets/code-snippets/light-token/create-t22-mint/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/create-token-account/anchor-macro/full-example.mdx
  • snippets/code-snippets/light-token/create-token-account/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/create-token-account/native-program/full-example.mdx
  • snippets/code-snippets/light-token/create-token-account/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/create-token-pool/action.mdx
  • snippets/code-snippets/light-token/create-token-pool/instruction.mdx
  • snippets/code-snippets/light-token/create-token-pool/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/delegate-transfer/action.mdx
  • snippets/code-snippets/light-token/freeze-thaw/rust-client/freeze-full.mdx
  • snippets/code-snippets/light-token/freeze-thaw/rust-client/freeze-instruction.mdx
  • snippets/code-snippets/light-token/freeze-thaw/rust-client/thaw-full.mdx
  • snippets/code-snippets/light-token/freeze-thaw/rust-client/thaw-instruction.mdx
  • snippets/code-snippets/light-token/freeze/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/freeze/native-program/full-example.mdx
  • snippets/code-snippets/light-token/gasless-transactions/rust-instruction.mdx
  • snippets/code-snippets/light-token/gasless-transactions/ts-instruction.mdx
  • snippets/code-snippets/light-token/load-ata/action.mdx
  • snippets/code-snippets/light-token/load-ata/instruction.mdx
  • snippets/code-snippets/light-token/load-ata/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/mint-spl-and-wrap/action.mdx
  • snippets/code-snippets/light-token/mint-to-checked/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/mint-to-checked/native-program/full-example.mdx
  • snippets/code-snippets/light-token/mint-to/action.mdx
  • snippets/code-snippets/light-token/mint-to/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/mint-to/native-program/full-example.mdx
  • snippets/code-snippets/light-token/mint-to/rust-client/action.mdx
  • snippets/code-snippets/light-token/mint-to/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/mint-to/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/revoke/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/revoke/native-program/full-example.mdx
  • snippets/code-snippets/light-token/thaw/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/thaw/native-program/full-example.mdx
  • snippets/code-snippets/light-token/transfer-checked/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/transfer-checked/native-program/full-example.mdx
  • snippets/code-snippets/light-token/transfer-checked/rust-client/action.mdx
  • snippets/code-snippets/light-token/transfer-checked/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/transfer-interface/action.mdx
  • snippets/code-snippets/light-token/transfer-interface/anchor-program/create-and-transfer-example.mdx
  • snippets/code-snippets/light-token/transfer-interface/anchor-program/full-example.mdx
  • snippets/code-snippets/light-token/transfer-interface/instruction.mdx
  • snippets/code-snippets/light-token/transfer-interface/native-program/full-example.mdx
  • snippets/code-snippets/light-token/transfer-interface/rust-client/action.mdx
  • snippets/code-snippets/light-token/transfer-interface/rust-client/instruction.mdx
  • snippets/code-snippets/light-token/transfer-interface/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/unwrap/action.mdx
  • snippets/code-snippets/light-token/unwrap/instruction.mdx
  • snippets/code-snippets/light-token/unwrap/rust-client/action.mdx
  • snippets/code-snippets/light-token/unwrap/token-interface-instruction.mdx
  • snippets/code-snippets/light-token/wrap/action.mdx
  • snippets/code-snippets/light-token/wrap/instruction.mdx
  • snippets/code-snippets/light-token/wrap/rust-client/action.mdx
  • snippets/code-snippets/light-token/wrap/token-interface-instruction.mdx
  • snippets/code-snippets/payments/interop/register-spl-mint.mdx
  • snippets/code-snippets/payments/interop/unwrap.mdx
  • snippets/code-snippets/payments/interop/wrap.mdx
  • snippets/code-snippets/privy/balances/nodejs.mdx
  • snippets/code-snippets/privy/balances/react.mdx
  • snippets/code-snippets/privy/compress/nodejs.mdx
  • snippets/code-snippets/privy/decompress/nodejs.mdx
  • snippets/code-snippets/privy/helpers/sign-and-send-batches.mdx
  • snippets/code-snippets/privy/receive/nodejs.mdx
  • snippets/code-snippets/privy/receive/react.mdx
  • snippets/code-snippets/privy/transaction-history/nodejs.mdx
  • snippets/code-snippets/privy/transaction-history/react.mdx
  • snippets/code-snippets/privy/transfer/nodejs.mdx
  • snippets/code-snippets/privy/transfer/react.mdx
  • snippets/code-snippets/privy/unwrap/nodejs.mdx
  • snippets/code-snippets/privy/unwrap/react.mdx
  • snippets/code-snippets/privy/wrap/nodejs.mdx
  • snippets/code-snippets/privy/wrap/react.mdx
  • snippets/code-snippets/streaming/find-closed-accounts.mdx
  • snippets/code-snippets/wallet-adapter/balances/react.mdx
  • snippets/code-snippets/wallet-adapter/helpers/sign-and-send-batches.mdx
  • snippets/code-snippets/wallet-adapter/receive/react.mdx
  • snippets/code-snippets/wallet-adapter/transaction-history/react.mdx
  • snippets/code-snippets/wallet-adapter/transfer/react.mdx
  • snippets/code-snippets/wallet-adapter/unwrap/react.mdx
  • snippets/code-snippets/wallet-adapter/wrap/react.mdx
  • snippets/compressible-vs-solana-rent.mdx
  • snippets/cost-tables/cu-performance.mdx
  • snippets/cost-tables/light-pda-cost.mdx
  • snippets/cost-tables/mint-account-cost.mdx
  • snippets/cost-tables/token-account-cost.mdx
  • snippets/cost-tables/token-creation-cost.mdx
  • snippets/jsx/light-token-vs-spl-calculator.jsx
  • snippets/light-token-configure-rent.mdx
  • snippets/light-token-guides/cata-intro.mdx

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cleanup/remove-light-token-restore-compressed-tokens

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mintlify

mintlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightprotocol-cc5545c6 🟢 Ready View Preview Jun 9, 2026, 1:31 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@tilo-14 tilo-14 merged commit 47c5d20 into main Jun 9, 2026
7 checks passed
@tilo-14 tilo-14 deleted the cleanup/remove-light-token-restore-compressed-tokens branch June 9, 2026 01:32

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 4 potential issues.

View 3 additional findings in Devin Review.

Open in Devin Review

Comment thread docs.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 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).

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread docs.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 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.

Open in Devin Review

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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Suggested change
href="/compressed-tokens/combine-instructions"
href="/compressed-tokens/overview"
Open in Devin Review

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>";);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Suggested change
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>");
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant