This integration is perfect if you’re already using RainbowKit in your application or prefer its UI components over the default InterwovenKit interface.
Overview
RainbowKit integration with InterwovenKit provides:- Familiar UI: Keep using RainbowKit’s polished wallet connection interface
- Full Compatibility: All InterwovenKit hooks and features work exactly the same
- Easy Migration: Drop-in replacement for the default connect UI
- Customization: Full access to RainbowKit’s theming and customization options
Integration Steps
1
Install RainbowKit
Add RainbowKit to your project dependencies:
2
Configure Providers
Update your provider configuration to include RainbowKit:
Configuration Requirements:
- Replace
YOUR_CHAIN_ID
with your target blockchain network:"interwoven-1"
for Initia mainnet (default)"initiation-2"
for Initia testnet- Or any valid chain ID from the initia-registry
- Update
appName
andprojectId
to match your application details
defaultChainId
sets the primary network for all Initia Wallet operations. See InterwovenKitProvider reference for details.3
Use RainbowKit Components
Replace InterwovenKit’s connect UI with RainbowKit’s
ConnectButton
:4
Custom Fee Handling (Optional)
The custom fee handling feature allows you to bypass the “Confirm tx” modal and provide pre-calculated fees directly, giving you more control over transaction speed and UX. The requestTx functions are still available, so you can choose the workflow that fits your app best.