Cosmos Kit
repository·main·Indexed 42 days ago
https://github.com/hyperweb-io/cosmos-kitA universal wallet adapter for developers to build applications that interact with Cosmos blockchains and wallets. It provides a modular ecosystem including @cosmos-kit/core for core functionality, @cosmos-kit/react for React integration, and @cosmos-kit/walletconnect for mobile support. Note: Cosmos Kit 3.0 and Create Cosmos App 2.0 have been succeeded by interchain-kit.
What's inside Cosmos Kit
- @cosmos-kit/shell is a Shell integration for Cosmos Kit. Cosmos Kit itself is a universal wallet adapter designed to help developers build applications that interact with Cosmos blockchains and wallets quickly and easily.
Overview of @cosmos-kit/react
mainThe@cosmos-kit/reactpackage provides the React integration for Cosmos Kit, a universal wallet adapter designed to help developers build applications that interact with Cosmos blockchains and wallets quickly and easily.Overview of Cosmos Kit
mainCosmos Kit is a universal wallet adapter designed for developers to build applications that interact with Cosmos blockchains and wallets. It provides a standardized way to integrate various wallet providers into your application.
⚠️ IMPORTANT UPGRADE NOTICE Cosmos Kit 3.0 and Create Cosmos App 2.0 have been superseded by interchain-kit. It is highly recommended to use interchain-kit for improved tooling, broader compatibility, and full Interchain ecosystem support. You can also use create-interchain-app as an official starter kit.
Overview of @cosmos-kit/fin
main@cosmos-kit/fin is a specific wallet integration for Cosmos Kit. Cosmos Kit itself serves as a universal wallet adapter that allows developers to build applications that interact with Cosmos blockchains and various wallet providers.Overview of available CosmosKit hooks
mainCosmosKit provides several hooks for managing chains, wallets, and identity. Note that most hooks require the
ChainProviderto be configured first.useChain: Provides properties and methods related tochainWallet. Supports multiple chains connected simultaneously. Calling this hook activates the correspondingchainWallets.useChainWallet: Provides properties and methods related tochainWallet. Supports multiple chains and wallets connected simultaneously. Calling this hook activates the correspondingchainWallet.useManager: Used to manage all chains and wallets.useModalTheme: Used to manage default modal themes.useNameService: Retrieves the alias name of an address from a specific name server.useWallet: Manages allchainWalletsand the global status for a specific wallet.useWalletClient: Retrieves the wallet client for a specific wallet.useIframe: Sets up an iframe that can automatically access the currently connected wallet.
Overview of @cosmos-kit/react components and hooks
mainThe
@cosmos-kit/reactpackage provides the necessary React primitives to integrate Cosmos wallets into your application. Key features include:- Provider: Use
ChainProviderto wrap your application and provide chain context. - Hooks: Use
useChainto access chain information within your components.
- Provider: Use
Overview of @cosmos-kit/cosmostation
mainThe
@cosmos-kit/cosmostationpackage provides the integration for the Cosmostation wallet within the Cosmos Kit ecosystem.Cosmos Kit itself acts as a universal wallet adapter, allowing developers to build applications that interact with various Cosmos blockchains and wallets through a single, streamlined interface.
Overview of CosmosKit
mainCosmosKit is a wallet adapter designed for developers to build applications that interact quickly and easily with Cosmos blockchains and wallets. It provides a unified interface for connecting to various Cosmos-compatible wallets and managing blockchain interactions.Overview of @cosmos-kit/core
main@cosmos-kit/core is a wallet adapter for React that provides mobile WalletConnect support for the Cosmos ecosystem. It allows developers to connect their applications to a variety of web3 wallets through a single, streamlined interface.Overview of @cosmos-kit/web3auth
mainThe@cosmos-kit/web3authpackage is a Cosmos Kit integration for Web3Auth. It allows developers to use Web3Auth as a wallet connector within the Cosmos Kit ecosystem, enabling users to interact with Cosmos blockchains using Web3Auth's authentication and wallet management services.Use @cosmos-kit/leap-metamask-cosmos-snap for MetaMask integration
mainThe
@cosmos-kit/leap-metamask-cosmos-snappackage provides a MetaMask integration for Cosmos Kit. It allows developers to enable MetaMask users to interact with Cosmos blockchains via theleap-metamask-cosmos-snaptechnology.⚠️ IMPORTANT UPGRADE NOTICE
Cosmos Kit 3.0 and Create Cosmos App 2.0 have been superseded. For improved tooling, broader compatibility, and full Interchain ecosystem support, you should migrate to:
- interchain-kit: The official successor to Cosmos Kit.
- create-interchain-app: The official starter kit that supports Interchain Kit.
Use @cosmos-kit/ctrl-extension for ctrl wallet integration
main@cosmos-kit/ctrl-extension is a specific integration for the
ctrlwallet within the Cosmos Kit ecosystem. It allows developers to includectrlas a connection option for users in their decentralized applications.⚠️ IMPORTANT UPGRADE NOTICE
This package is part of the legacy Cosmos Kit ecosystem. For new projects, it is highly recommended to migrate to Interchain Kit and Create Interchain App, which are the official successors providing improved tooling, broader compatibility, and full Interchain ecosystem support.