Skip to content

docs(digital-assets): restructure digital assets reference and add chain-key token pages#149

Merged
marc0olo merged 2 commits into
mainfrom
docs/icrc-standards-reference
Apr 27, 2026
Merged

docs(digital-assets): restructure digital assets reference and add chain-key token pages#149
marc0olo merged 2 commits into
mainfrom
docs/icrc-standards-reference

Conversation

@marc0olo
Copy link
Copy Markdown
Member

Summary

  • New reference/chain-key-canister-ids.md: canonical reference for all chain-key token canister IDs (ckBTC, ckETH, ckERC20, ckDOGE, ckSOL) — mainnet and testnet; single source of truth
  • New reference/icrc-standards.md: index of all adopted ICRC standards with external spec links for digital asset and wallet signer standards
  • chain-key-tokens.mdx rewritten: ckDOGE and ckSOL deposit/withdrawal flows added; duplicate canister ID tables removed (now point to reference page); CLI flag corrections (-n ic)
  • token-ledgers.mdxledgers.mdx: rewritten with ledger suite concept, ICRC-3 transaction history section, CLI/language tab separation (CLI first as standalone, language tabs after)
  • token-standards.mddigital-asset-standards.md: renamed to match brand voice preference for "asset" over "token"
  • protocol-canisters.md rewritten: minter APIs and protocol reference only; ckDOGE, ckSOL, ckERC20 sections added; deposit/withdrawal flows and duplicate ID tables removed
  • Sidebar reordered: Digital Assets now above Chain Fusion; Reference section ordered to match reference/index.md grouping (canisters → ICRC standards → costs → errors → specs)
  • decisions.md: CLI/language tab separation convention recorded

Cross-reference map (no page overlaps primary content of another)

Reader goal Page
Architecture / "how does ckBTC work?" guides/chain-fusion/bitcoin.mdx
Deposit / withdraw / transfer any ck-token guides/digital-assets/chain-key-tokens.mdx
Canister IDs for any ck-token reference/chain-key-canister-ids.md
Minter API, parameters, Candid interface reference/protocol-canisters.md
ICRC standard specs reference/icrc-standards.md → external links

Sync recommendation

informed by dfinity/ic rs/bitcoin/ckbtc, rs/dogecoin/ckdoge, rs/ethereum/cketh; dfinity/cksol; dfinity/icskills skills/ckbtc, skills/icrc-ledger; dfinity/portal docs/defi/chain-key-tokens, docs/defi/token-standards

Follow-up (separate PR)

  • Mermaid diagrams on bitcoin.mdx, ethereum.mdx, solana.mdx, dogecoin.md
  • Trim chain-fusion pages to brief overview + pointer to chain-key-tokens.mdx
  • Remove "No ckSOL yet" note from solana.mdx; remove "upcoming" label from dogecoin.md

…ain-key token pages

- Rename token-ledgers.mdx → ledgers.mdx; rewrite with ledger suite concept,
  ICRC-3 transaction history section, CLI + language tab separation convention
- Rewrite chain-key-tokens.mdx: add ckDOGE and ckSOL deposit/withdrawal flows,
  slim canister IDs section to pointer, remove duplicate CLI balance checks
- Add reference/chain-key-canister-ids.md: canonical canister IDs for all
  chain-key tokens (ckBTC, ckETH, ckERC20, ckDOGE, ckSOL) with mainnet and testnet
- Add reference/icrc-standards.md: index of all adopted ICRC standards with
  external spec links for both digital asset and wallet signer standards
- Rename token-standards.md → digital-asset-standards.md; update description
- Rewrite protocol-canisters.md: minter APIs and protocol reference only;
  add ckDOGE, ckSOL, ckERC20 sections; remove duplicate canister ID tables
  and deposit/withdrawal flows (now in chain-key-tokens.mdx)
- Reorder sidebar: Digital Assets before Chain Fusion; fix reference section
  order to match index.md grouping (canisters → token standards → costs → errors → specs)
- Record CLI/language tab separation convention in decisions.md
@marc0olo marc0olo merged commit dfe3938 into main Apr 27, 2026
2 checks passed
@marc0olo marc0olo deleted the docs/icrc-standards-reference branch April 27, 2026 17:31
marc0olo added a commit that referenced this pull request Apr 29, 2026
## Summary

Follow-up to #149 as noted in that PR's description.

**Diagrams added:**
- \`bitcoin.mdx\`: ckBTC deposit and withdrawal flow diagrams, now
including Bitcoin Checker (KYT), ckBTC Ledger, and the 4-confirmation
note
- \`ethereum.mdx\`: EVM RPC canister request flow diagram (fan-out to
providers, consensus check, cycle refund)
- \`dogecoin.md\`: ckDOGE deposit and withdrawal diagrams
- \`solana.mdx\`: SOL RPC canister flow diagram; ckSOL deposit and
withdrawal diagrams; removed stale "No ckSOL token" limitation

**Diagram styling (global, \`plugins/remark-plantuml.mjs\` +
\`src/styles/custom.css\`):**
- ICP brand skin injected into all PlantUML diagrams (terracotta arrows,
parchment fills, muted strokes)
- Diagrams wrapped in \`<figure class="plantuml-diagram">\` with
elevated background and \`border-radius: 6px\`
- Dark mode: \`filter: invert(1) hue-rotate(180deg)\` on the image
preserves hue relationships while flipping luminance

**Factual corrections:**
- \`bitcoin.mdx\`, \`dogecoin.md\`: replaced "management canister" with
"Bitcoin canister" for \`bitcoin_*\` API calls; management canister
Bitcoin API is deprecated (already noted in \`management-canister.md\`)
- \`bitcoin.mdx\`, \`chain-key-tokens.mdx\`: updated ckBTC minimum
confirmations from 6 to 4 (current mainnet value)
- \`bitcoin.mdx\`: ckBTC deposit and withdrawal diagrams updated with
KYT check step, Bitcoin Checker and Ledger participants, and async note
on withdrawal
- \`dogecoin.md\`: removed status labels from Bitcoin/Dogecoin
comparison table; corrected all "management canister's Bitcoin API"
references to "Bitcoin canister"

## Sync recommendation

\`informed by dfinity/ic rs/bitcoin/ckbtc/minter/README.adoc,
rs/dogecoin/ckdoge/minter/README.adoc,
rs/ethereum/cketh/docs/cketh.adoc; dfinity/cksol README.md;
dfinity/bitcoin-canister INTERFACE_SPECIFICATION.md;
wiki.internetcomputer.org/wiki/Chain-key_Bitcoin\`
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