Skip to main content

Examples

End-to-end SDK examples for real-world use cases. Each example shows the full flow — from key derivation to on-chain confirmation — using the White Rabbit component library.


Smart Accounts

ExampleDescription
Gnosis Safe — Lazy Deploy + Gas SponsorshipCreate a smart account per user that auto-deploys on first use. A relayer MPC key sponsors all gas.

DeFi & Token Operations

ExampleDescription
Gasless Transfer with Permit2Transfer ERC-20 tokens without a prior approve() using a Permit2 signature signed by an MPC key.

Key Management

PageDescription
Institution-Grade MPC Key ManagementOverview and role definitions for the full custody guide
Key Generation CeremonyGenerate 2-of-3 threshold shares and persist keyId
Custodian Setup & Shamir Secret SharingLocal age key generation, AES-256-GCM protection, SSS split
Export, Rotation & RestoreJIT node model, local re-wrap, import/sign/delete cycle
Disaster Recovery & Attack Prevention5 failure scenarios, 6 threat vectors, pre-launch checklist

Component reference

Every component used in these examples is documented in the Component Library. Click any component name in the examples to jump to its full spec.