Skip to content

Commit

Permalink
feat: CosmosKit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlm-devico committed Mar 18, 2024
1 parent 40edead commit 216354c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions developers/cosmoskit-xdefi-integration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# CosmosKit XDEFI Integration

First, your app need to install 2 packages for the XDEFI:
### Get started

Best way to get started with CosmosKit is to scaffold new app from terminal with [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app)

```bash
yarn create cosmos-app
```

Next, you will need to install 2 packages for the XDEFI:

- `@cosmos-kit/xdefi`
- `@cosmos-kit/xdefi-extension`
Expand All @@ -25,7 +33,7 @@ import { wallets as xdefi } from "@cosmos-kit/xdefi";

### add to your provider

```js
```javascript
function MyCosmosApp({ Component, pageProps }: AppProps) {
return (
<ChainProvider
Expand All @@ -41,3 +49,11 @@ function MyCosmosApp({ Component, pageProps }: AppProps) {

export default MyCosmosApp;
```

### we're done!

![image](images/cosmos-kit/cosmos-kit-xdefi-integration.jpg)

### Additional resources

- [CosmosKit docs](https://docs.cosmoskit.com/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 216354c

Please sign in to comment.