Skip to content

Commit 18d746a

Browse files
Merge pull request #30 from hippocampus-web3/main
Add Vultisig
2 parents d130d4c + 7d4259c commit 18d746a

File tree

15 files changed

+754
-28
lines changed

15 files changed

+754
-28
lines changed

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,13 @@ Whether you're developing with React or Vue, Interchain Kit offers tools and com
4747
<img height="40" src="public/images/logos/frameworks/vue.svg" alt="Vue" />
4848
</p>
4949

50-
5150
## 📦 Packages
5251

53-
| Name | Description |
54-
| ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
55-
| [@interchain-kit/core](https://github.com/hyperweb-io/interchain-kit/tree/main/packages/core) | Core Interchain Kit functionality
56-
| [@interchain-kit/react](https://github.com/hyperweb-io/interchain-kit/tree/main/packages/react) | React integration with Interchain UI Modal for simple usage |
57-
| [@interchain-kit/vue](https://github.com/hyperweb-io/interchain-kit/tree/main/packages/vue) | Vue integration with Interchain UI Modal for simple usage |
52+
| Name | Description |
53+
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
54+
| [@interchain-kit/core](https://github.com/hyperweb-io/interchain-kit/tree/main/packages/core) | Core Interchain Kit functionality |
55+
| [@interchain-kit/react](https://github.com/hyperweb-io/interchain-kit/tree/main/packages/react) | React integration with Interchain UI Modal for simple usage |
56+
| [@interchain-kit/vue](https://github.com/hyperweb-io/interchain-kit/tree/main/packages/vue) | Vue integration with Interchain UI Modal for simple usage |
5857

5958
## 📦 Wallets
6059

@@ -93,6 +92,9 @@ Explore the range of wallet adapters available in our [wallets directory](https:
9392
<a href="https://chromewebstore.google.com/detail/galaxy-station-wallet/akckefnapafjbpphkefbpkpcamkoaoai?hl=en">
9493
<img width="30px" src="https://raw.githubusercontent.com/hyperweb-io/interchain-kit/main/public/images/logos/wallets/galaxystation.svg" />
9594
</a>
95+
<a href="https://chromewebstore.google.com/detail/vultisig-extension/ggafhcdaplkhmmnlbfjpnnkepdfjaelb?hl=en">
96+
<img width="30px" src="https://raw.githubusercontent.com/hyperweb-io/interchain-kit/main/public/images/logos/wallets/vultisig.svg" />
97+
</a>
9698
</p>
9799

98100
## 🔌 Integrating Wallets
@@ -141,8 +143,8 @@ flowchart TD
141143
142144
```
143145

144-
145146
## UML
147+
146148
```mermaid
147149
classDiagram
148150
class BaseWallet{
@@ -157,7 +159,7 @@ classDiagram
157159
158160
+getAccounts(chainIds: string[])
159161
160-
+getSimpleAccount(chainId: string)
162+
+getSimpleAccount(chainId: string)
161163
162164
+getOfflineSignerAmino(chainId: string)
163165
@@ -197,12 +199,12 @@ classDiagram
197199
ExtensionWallet <|-- KeplrExtensionWallet
198200
ExtensionWallet <|-- LeapExtensionWallet
199201
200-
202+
201203
class KeplrExtensionWallet {
202204
203205
}
204206
class KeplrMobileWallet {
205-
207+
206208
}
207209
208210
```
@@ -233,21 +235,21 @@ lerna publish
233235
# lerna publish major
234236
```
235237

236-
## Interchain JavaScript Stack
238+
## Interchain JavaScript Stack
237239

238240
A unified toolkit for building applications and smart contracts in the Interchain ecosystem ⚛️
239241

240-
| Category | Tools | Description |
241-
|----------------------|------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
242-
| **Chain Information** | [**Chain Registry**](https://github.com/hyperweb-io/chain-registry), [**Utils**](https://www.npmjs.com/package/@chain-registry/utils), [**Client**](https://www.npmjs.com/package/@chain-registry/client) | Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. |
243-
| **Wallet Connectors**| [**Interchain Kit**](https://github.com/hyperweb-io/interchain-kit)<sup>beta</sup>, [**Cosmos Kit**](https://github.com/hyperweb-io/cosmos-kit) | Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. |
244-
| **Signing Clients** | [**InterchainJS**](https://github.com/hyperweb-io/interchainjs)<sup>beta</sup>, [**CosmJS**](https://github.com/cosmos/cosmjs) | A single, universal signing interface for any network |
245-
| **SDK Clients** | [**Telescope**](https://github.com/hyperweb-io/telescope) | Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. |
246-
| **Starter Kits** | [**Create Interchain App**](https://github.com/hyperweb-io/create-interchain-app)<sup>beta</sup>, [**Create Cosmos App**](https://github.com/hyperweb-io/create-cosmos-app) | Set up a modern Interchain app by running one command. |
247-
| **UI Kits** | [**Interchain UI**](https://github.com/hyperweb-io/interchain-ui) | The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. |
248-
| **Testing Frameworks** | [**Starship**](https://github.com/hyperweb-io/starship) | Unified Testing and Development for the Interchain. |
249-
| **TypeScript Smart Contracts** | [**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app) | Build and deploy full-stack blockchain applications with TypeScript |
250-
| **CosmWasm Contracts** | [**CosmWasm TS Codegen**](https://github.com/CosmWasm/ts-codegen) | Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. |
242+
| Category | Tools | Description |
243+
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
244+
| **Chain Information** | [**Chain Registry**](https://github.com/hyperweb-io/chain-registry), [**Utils**](https://www.npmjs.com/package/@chain-registry/utils), [**Client**](https://www.npmjs.com/package/@chain-registry/client) | Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. |
245+
| **Wallet Connectors** | [**Interchain Kit**](https://github.com/hyperweb-io/interchain-kit)<sup>beta</sup>, [**Cosmos Kit**](https://github.com/hyperweb-io/cosmos-kit) | Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. |
246+
| **Signing Clients** | [**InterchainJS**](https://github.com/hyperweb-io/interchainjs)<sup>beta</sup>, [**CosmJS**](https://github.com/cosmos/cosmjs) | A single, universal signing interface for any network |
247+
| **SDK Clients** | [**Telescope**](https://github.com/hyperweb-io/telescope) | Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. |
248+
| **Starter Kits** | [**Create Interchain App**](https://github.com/hyperweb-io/create-interchain-app)<sup>beta</sup>, [**Create Cosmos App**](https://github.com/hyperweb-io/create-cosmos-app) | Set up a modern Interchain app by running one command. |
249+
| **UI Kits** | [**Interchain UI**](https://github.com/hyperweb-io/interchain-ui) | The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. |
250+
| **Testing Frameworks** | [**Starship**](https://github.com/hyperweb-io/starship) | Unified Testing and Development for the Interchain. |
251+
| **TypeScript Smart Contracts** | [**Create Hyperweb App**](https://github.com/hyperweb-io/create-hyperweb-app) | Build and deploy full-stack blockchain applications with TypeScript |
252+
| **CosmWasm Contracts** | [**CosmWasm TS Codegen**](https://github.com/CosmWasm/ts-codegen) | Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. |
251253

252254
## Credits
253255

examples/react/src/main.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import { compassWallet } from '@interchain-kit/compass-extension';
3333
import { trustWallet } from '@interchain-kit/trust-extension';
3434
import { leapCosmosExtensionMetaMask } from '@interchain-kit/leap-cosmos-extension-metamask';
3535
import { xdefinWallet } from '@interchain-kit/xdefi-extension';
36+
import { vultisigWallet } from '@interchain-kit/vultisig-extension';
3637
// import { MockWallet } from "@interchain-kit/mock-wallet";
3738
import { metaMaskWallet } from '@interchain-kit/metamask-extension';
3839
import { exodusWallet } from '@interchain-kit/exodus-extension';
@@ -61,7 +62,7 @@ const chainNames: string[] = [
6162
// "osmosistestnet",
6263
// 'osmosis',
6364
// "juno",
64-
// "cosmoshub",
65+
'cosmoshub',
6566
// "stargaze",
6667
// "noble",
6768
// "seitestnet2",
@@ -216,6 +217,7 @@ const _wallets: BaseWallet[] = [
216217
phantomWallet,
217218
backPackWallet,
218219
solflareWallet,
220+
vultisigWallet,
219221
];
220222

221223
ReactDOM.createRoot(document.getElementById('root')!).render(
@@ -270,9 +272,11 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
270272
>
271273
<BrowserRouter>
272274
<App />
273-
{/* <InterchainWalletModal
274-
modalThemeProviderProps={{ defaultTheme: "light" }}
275-
/> */}
275+
{
276+
<InterchainWalletModal
277+
modalThemeProviderProps={{ defaultTheme: 'light' }}
278+
/>
279+
}
276280
</BrowserRouter>
277281
</ChainProvider>
278282
</React.StrictMode>

examples/react/src/pages/all-wallets.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,11 @@ const WalletConnectTd = ({ wallet }: { wallet: StatefulWallet }) => {
323323
);
324324

325325
const connect = () => {
326-
walletManager.connect(wallet.info?.name as string, 'osmosis');
326+
walletManager.connect(wallet.info?.name as string, 'cosmoshub');
327327
};
328328

329329
const disconnect = () => {
330-
walletManager.disconnect(wallet.info?.name as string, 'osmosis');
330+
walletManager.disconnect(wallet.info?.name as string, 'cosmoshub');
331331
};
332332

333333
const uri = walletManager.walletConnectQRCodeUri;
Lines changed: 65 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)