Prerequisites
Coinbase CDP
Get your embedded wallet project ID
Reown Dashboard
Get your WalletConnect project ID
Ensure your development URL is added to the domain allowlist for both project IDs before continuing.
Installation
Aurum is a React-only SDK — install@aurum-sdk/core together with @aurum-sdk/hooks.
Requires React 18 or 19. If you’d rather skip the hooks package and manage state yourself, see Using core without hooks below.
Setup
Pick your framework — both end up at the same three-file layout: anaurum instance, an AurumProvider at the root, and a component that uses the hooks.
- Next.js (App Router)
- Vite
1. Create the Aurum instance in 2. Wrap the app in a client-component provider. Create Then in 3. Connect, disconnect, and read state with hooks. Any component that uses Aurum needs
lib/aurum.ts:app/providers.tsx:app/layout.tsx:'use client':Aurum is browser-only (Shadow DOM +
localStorage). Keep AurumProvider and any component that calls Aurum hooks inside a 'use client' boundary. Server Components must not import from @aurum-sdk/core or @aurum-sdk/hooks.Sign a Message
Aurum exposes an EIP-1193 provider viaaurum.rpcProvider that works with any web3 library.
Using core without hooks
If you’d rather not install@aurum-sdk/hooks, you can drive @aurum-sdk/core directly with manual state.
Next Steps
Customization
Theme the modal
Core SDK
Full API reference
React Hooks
Hooks API Reference