Skip to main content
Not yet released. The packages on this page are not published to npm yet, so the install commands below will not resolve. The documented interface is stable and the code exists; only publication is outstanding. To use KeyStone from a frontend today, call the REST API or the TypeScript SDK, which is published. Contact us if you need early access.
KeyStone Elements is a set of packages that let platforms integrate settlement functionality into their applications with minimal code. Think Stripe Elements, but for settlement orchestration.

Packages

Integration Tiers

Elements supports three integration patterns depending on how your platform handles custody and signing:

Tier 1: View-Only

Your backend handles everything via the SDK and webhooks. The frontend only displays settlement status.

Tier 2: Interactive + Custody (Most Common)

The widget collects user decisions (confirm, deposit). Deposit execution routes through your backend to a custody provider like Fireblocks or BitGo.

Tier 3: Full Self-Service

End-users connect their own wallets. The widget handles on-chain transactions directly via wagmi.

How It Works

Getting Started

Install and set up your first integration in 5 minutes.

Hooks Reference

Full API reference for all React hooks.