cosmology-tech / cosmos-kit

Universal wallet connector for the Cosmos βš›οΈ
https://cosmology.zone/products/cosmos-kit
BSD 3-Clause Clear License
182 stars 133 forks source link

cosmos-kit


Cosmos Kit is a univeral wallet adapter for developers to build apps that quickly and easily interact with Cosmos blockchains and wallets.

🏁 Quickstart

Get started quickly by using create-cosmos-app to help you build high-quality Cosmos apps fast!

βš™οΈ Configuration

Check out our docs here to configure CosmosKit.

βš›οΈ CosmJS Signers

If you want to get a cosmjs stargate or cosmwasm signer, here are docs for our hooks

πŸ“¦ Packages

Name Description
cosmos-kit Single package for React developers to install Cosmos Kit
@cosmos-kit/core Core Cosmos Kit functionality
@cosmos-kit/walletconnect Mobile WalletConnect support for the Cosmos ecosystem
@cosmos-kit/react React integration with Interchain UI Modal for simple usage
@cosmos-kit/react-lite A lightweight version of React integration without UI for customization

πŸ“¦ Wallets

Explore the range of wallet adapters available in our wallets directory.



πŸ”Œ Integrating Wallets

See our docs on integrating your wallet

πŸš€ Running Example

For high-level examples suitable for most developers, explore our create-cosmos-app. For a deeper, more technical understanding, this repository contains an example, which is also useful when integrating new wallets.

yarn build
cd packages/example
yarn dev

Basic Next.js Example

This example demonstrates a Next.js project that integrates the @cosmos-kit/react wallet adapter. Note that this example has historically been used by multiple teams to test PRs.

"vanilla" example showing how WalletManager works

This example is ideal for developers looking to create integrations for Vue.js, Svelte, or other frameworks. It uses a basic Next.js setup without relying on React-specific hooks, providing a clear model for building custom integrations.

πŸ›  Developing

Checkout the repository and bootstrap the yarn workspace:

# Clone the repo.
git clone https://github.com/cosmology-tech/cosmos-kit
cd cosmos-kit
yarn

Building

yarn build

Publishing

lerna publish
# lerna publish minor
# lerna publish major

Related

Checkout these related projects:

Credits

πŸ›  Built by Cosmology β€”Β if you like our tools, please consider delegating to our validator βš›οΈ

Disclaimer

AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED β€œAS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.

No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.