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
The default chain ID for wallet connection. Must be registered in the initia-registry.
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:
The
TESTNET
constant automatically sets the correct registryUrl
, routerApiUrl
, and usernamesModuleAddress
for Initia’s testnet environment.When switching between testnet and mainnet environments, clear your browser’s
localStorage
to avoid conflicts. InterwovenKit stores chain information locally, and cached values from different networks can cause connection errors.