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.
Coming from Ethereum? wagmi for Canton maps the hooks you already know onto these, and is blunt about the places the analogy breaks.
Transfers follow Canton's Token Standard (CIP-56), the current protocol for Amulet and other token transfers. See the Token Transfers guide for the full flow.
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.