Introduction
PartyLayer is an open-source SDK for integrating Canton Network wallets into your dApp. It provides a unified interface across every Canton wallet — registry-backed, verified, and type-safe — so you can focus on building your application, not wrestling with wallet APIs.
PartyLayerKit and ConnectButton, you can add full wallet connectivity to a React app in under 10 lines of code.Key Features
Why PartyLayer?
Without PartyLayer, integrating wallets on Canton means handling each wallet's proprietary API, managing CIP-0103 compliance, building your own connection UI, and handling errors across different transport layers (PostMessage, deep links, QR codes, injected providers).
With PartyLayer, you get a single, consistent interface that works with every Canton wallet. The SDK handles registry discovery, adapter negotiation, session management, and provides ready-to-use React components — all with TypeScript types and meaningful error messages.
Before PartyLayer
With PartyLayer
Packages
@partylayer/sdk— Core SDK withcreatePartyLayer, client, adapters, and events@partylayer/react— React hooks (useSession,useConnect, ...) and components (PartyLayerKit,ConnectButton,WalletModal)@partylayer/core— Shared types, errors, and CIP-0103 type definitions@partylayer/provider— CIP-0103 native Provider implementation and bridge
Getting Started
Ready to integrate? Head to the Installation guide to set up PartyLayer, or jump straight to the Quick Start for a complete working example.