OnchainKit (Coinbase)
This page summarizes the integration + application steps. For full details, see docs/ONCHAINKIT_INTEGRATION_GUIDE.md.
Why OnchainKit?
Coinbase-native components (FundCard, Earn, Swap)
Gasless Smart Wallet onboarding
Base-first UX with pre-built React components
Application Checklist
Request developer access via https://docs.base.org/onchainkit/getting-started (CTA at top).
Provide DecaFlow URLs, GitHub repo, and usage description.
Request CDP API + Smart Wallet scopes in the same form.
Follow up in Base Discord
#onchainkitif no response after 5 business days.
Integration Steps (Once Approved)
Create a project in Coinbase Developer Portal (CDP).
Generate
CDP_API_KEY(scoped).Create WalletConnect project →
WALLETCONNECT_PROJECT_ID.Install package:
npm install @coinbase/onchainkit wagmi viemWrap app with
OnchainKitProviderand drop in components like<Swap />,<FundCard />,<Earn />inside onboarding flows.Configure Paymaster if sponsoring gas via Smart Wallet.
Compliance
Ensure docs.decaflow.xyz lists privacy policy + support channels.
Capture telemetry opt-in if using Coinbase analytics.
Prepare screenshots of integration for Coinbase review.
Last updated
