Integrate claimr widget into dApp
Use this tutorial to integrate the claimr widget with a custom wallet connection in your dApp, including instructions for anonymous or privacy-preserving setups.
Introduction
Run the project
Build for production (optional)
claimr widget integration
App Bootstrapping (example_app.tsx)
Wallet integration (wagmi.ts)
Connecting external wallets to claimr widget
Two-way Integration
window.claimr.connect_wallet(address, signature, message)
window.claimr.on_request = async (...) => { ... }
Example flows
When user opens the app:
When user signs the message:
When the widget needs to interact with blockchain:
Campaign configuration: required settings
Summary
Last updated
Was this helpful?
