InterwovenKitProvider is the root component that enables wallet connectivity and transaction signing.
All applications using InterwovenKit must be wrapped with
InterwovenKitProvider at the root level to enable wallet functionality.Basic Configuration
Chain Connection
Sets the primary blockchain network that InterwovenKit uses as its default throughout the application. This chain is used for transactions, balance queries, appears first in asset displays, and serves as a fallback when no specific chain is provided.
defaultChainId parameter accepts chain ID strings that correspond to chains in the Initia registry. Common values include:
Mainnet:
"interwoven-1"- The main Initia network (default for mainnet)
"initiation-2"- The Initia testnet (default for testnet)
When no
defaultChainId is provided, the system automatically defaults to "interwoven-1" (mainnet). For testnet development, use the TESTNET configuration which includes defaultChainId: "initiation-2".Custom Chain Support
Custom chain configuration for chains not registered in the initia-registry. Use this when connecting to private or development chains.
UI Theme
Controls the visual theme of wallet modals and components.
Advanced Configuration
Custom Message Types
For applications that use custom transaction types beyond the standard Cosmos and Initia modules, you’ll need to configure protobuf types and amino converters.Protobuf message types for custom transaction signing. Only required when using message types not included in default modules.
Amino converters for encoding/decoding custom messages. Required for Amino-compatible messages not covered by default converters.
Testnet Configuration
Infrastructure Endpoints
The following props are automatically configured for Initia’s mainnet infrastructure and typically don’t need to be set for rollup configurations:URL for the chain registry service
URL for the router API service
Contract address for the usernames module
Testnet Setup
For testnet development, use the exportedTESTNET constant which automatically configures all required endpoints: