@coinbase/onchainkit with standalone wagmi and viem components.
Install
Terminal
What the skill covers
The migration follows five sequential steps, each with a validation gate before proceeding:| Step | What changes |
|---|---|
| Detection | Scan for OnchainKit imports and identify components in use |
| Provider | Replace OnchainKitProvider with WagmiProvider + QueryClientProvider |
| Wallet | Build a WalletConnect component using wagmi hooks |
| Transactions | Replace Transaction components with useWriteContract and receipt hooks |
| Cleanup | Remove remaining OnchainKit imports and optionally uninstall the package |
Example prompts
- “Migrate my app off OnchainKit”
- “Replace OnchainKitProvider with wagmi”
- “Convert my OnchainKit Transaction component to use wagmi hooks”