docs(website): add Use Cases section with Light Wallets, Bridges; add Case Studies section with Daedalus#3200
docs(website): add Use Cases section with Light Wallets, Bridges; add Case Studies section with Daedalus#3200dalibran wants to merge 20 commits into
Conversation
- Add Use Cases dropdown to navbar (between Manual and Protocol) - Rename navbar labels: "User manual" → "Manual", "About Mithril" → "Protocol" - Add Wallets use case page covering developer and end-user audiences - Add useCasesSideBar to sidebars.js and versioned sidebars - Wallet page includes: security caution admonition, integration guide, Discord CTA button, and note on server membership Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Test Results 5 files ± 0 203 suites +4 54m 12s ⏱️ - 25m 40s Results for commit 1166231. ± Comparison against base commit c064115. This pull request removes 157 and adds 285 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Wrap button text in a span to prevent MDX from injecting a paragraph element with inherited margin-bottom, and use explicit height on the anchor for reliable vertical centering. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jean-Philippe Raynaud <jp.raynaud@gmail.com>
Co-authored-by: Jean-Philippe Raynaud <jp.raynaud@gmail.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
- Rename page/sidebar label to "Light wallets" (sentence case) - Move Use Cases dropdown to end of left navbar - Remove unused spoCta note about IOG Discord membership - Update browser support paragraph with compatibility link, example, and Rust crate link - Remove "For wallet developers" title casing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove specific security caveat content from the caution admonition, replacing it with a neutral info admonition pointing to the Protocol security page. Drop the Swift/Kotlin mobile bindings paragraph. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Maybe we just need a .md file here as this is only static content?
There was a problem hiding this comment.
If we want to keep the styled discord button, then we need .mdx. I can remove the button if you don't think it adds much.
Adds a Bridges page under Use Cases following the same structure as Light wallets. Wires it into the Use Cases navbar dropdown and mirrors the page into the maintained docs version. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Introduce a Case Studies docs section with a Daedalus entry covering Mithril-based initial sync, including navbar dropdown, sidebar, and wordmark styling. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| The easiest path for most bridge teams to integrate is using the official WASM package: | ||
|
|
||
| ```bash | ||
| npm install @mithril-dev/mithril-client-wasm | ||
| ``` | ||
|
|
||
| It works in Node.js and in the browser, making it suitable for relayers, monitoring services, and validator software. All major browsers are supported — see the [Browser Compatibility](https://www.npmjs.com/package/@mithril-dev/mithril-client-wasm#browser-compatibility) section of the npm package for details. A [Rust crate](https://crates.io/crates/mithril-client) is also available for native services. |
There was a problem hiding this comment.
This should primarily be the Rust client library or the Client CLI.
|
|
||
| ## How Mithril helps | ||
|
|
||
| Fresh installations of Daedalus now download a Mithril-certified snapshot of the Cardano node database and restore it locally, rather than replaying the chain. The snapshot's integrity is verified against the Mithril certificate chain, anchored in Cardano's stake distribution — so users get the same trust guarantees as a chain-replayed node, without the wait. |
There was a problem hiding this comment.
Maybe you can specify how long it takes with Mithril: usually 30min to 1h depending on hardware and internet connection.
| sidebar_label: Bridges | ||
| --- | ||
|
|
||
| # Using Mithril for bridges |
There was a problem hiding this comment.
This can also be applied to other layer 2 solutions I guess.
|
|
||
| When a user locks assets on Cardano, the bridge needs to confirm that the lock transaction was included on-chain before authorizing the corresponding action on the destination chain. With Mithril, the bridge can verify this using a Merkle proof linked to a certificate signed by a stake-weighted quorum of SPOs. The proof can be checked locally, without trusting the source of the data. | ||
|
|
||
| This changes the bridge's security posture. The integrity of cross-chain transfers no longer depends on the honesty of any single data provider or on the operational security of any one node. A compromised API, a misconfigured indexer, or a hostile relayer cannot produce a valid Mithril proof — and a bridge that verifies proofs will reject anything that fails verification. |
There was a problem hiding this comment.
This part is not very clear: "and a bridge that verifies proofs will reject anything that fails verification."
|
|
||
| ### How it fits into existing bridge architectures | ||
|
|
||
| Most bridges have an off-chain component — relayers, validators, or watchers — that observes events on the source chain and submits attestations to the destination chain. Mithril does not replace this component. It strengthens it: instead of trusting whatever endpoint the relayer happens to query, the relayer verifies a Mithril proof against the current certificate chain before treating a Cardano transaction as final. |
There was a problem hiding this comment.
"final": it'd be better to say "certified".
| 1. Observe the lock or burn transaction on Cardano | ||
| 2. Query the Mithril aggregator for a transaction proof once the tx hash is known | ||
| 3. Verify the proof against the current Mithril certificate chain | ||
| 4. Treat the transaction as final and authorize the corresponding action on the destination chain. |
There was a problem hiding this comment.
Finality is a bit more complex:
- with the legacy certification the transcactions are considered very likely final after
100blocks. This may be enough for small transactions but not for bigger ones - with the upcoming certification, the criterion to determine if a transaction is considered final is left to the end user (who can use the depth from the tip of the chain at snapshot time to make a choice).
This also applies to the next paragraph.
|
|
||
| ## For bridge users | ||
|
|
||
| When a bridge supports Mithril, cross-chain transfers from Cardano are more secure. Whether you interact with the bridge directly, or through a wallet or aggregator that abstracts the swap behind a simpler interface, the underlying assertion is the same: that your Cardano transaction was actually included on-chain before the bridge took action on the other side. |
There was a problem hiding this comment.
The term aggregator is ambiguous here.
There was a problem hiding this comment.
By aggregator I meant something like Jumper / Li.Fi that is aggregating different routes across various exchanges, bridges, etc. I will update the language
Co-authored-by: Jean-Philippe Raynaud <jp.raynaud@gmail.com>
Co-authored-by: Jean-Philippe Raynaud <jp.raynaud@gmail.com>
Replace the standalone Light Wallets page with a Wallets landing that introduces both wallet shapes and surfaces the Light wallets integration guide and the Daedalus case study as cards. Merge the separate Case Studies section into Use Cases so the Daedalus study lives under Wallets in the sidebar. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
/use-cases/wallets) covering two audiences:useCasesSideBartosidebars.jsandversion-maintained-sidebars.jsonversioned_docs/version-maintained/to support the version dropdownNotes for reviewers
Test plan
🤖 Generated with Claude Code