Skip to content

Commit

Permalink
Merge pull request #275 from reown-com/chore/delete-tokens-options
Browse files Browse the repository at this point in the history
fix: delete tokens options as it is not working
  • Loading branch information
rohit-710 authored Feb 3, 2025
2 parents d67d546 + e85999c commit a4c941d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
18 changes: 0 additions & 18 deletions docs/appkit/react-native/core/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,6 @@ createAppKit({
})
```

## tokens

You can select tokens for AppKit to show the user's balance of. Each key represents the chain id of the token's blockchain.

```ts
createAppKit({
//...
tokens: {
1: {
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
},
137: {
address: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619'
}
}
})
```

## customWallets

Add custom wallets to the modal's main view. `customWallets` is an array of objects, where each object contains specific information of a custom wallet.
Expand Down
21 changes: 0 additions & 21 deletions docs/appkit/shared/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,27 +113,6 @@ createAppKit({
})
```

## tokens

Tokens for AppKit to show the user's balance of. Each key represents the chain id of the token's blockchain.

```ts
createAppKit({
//...
tokens: {
"eip155:1": {
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
image: 'token_image_url' //optional
},
"eip155:137": {
address: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619',
image: 'token_image_url' //optional
}
}
})
```

If you would like to remove default wallets completely, you can set the `featuredWalletIds` property to an empty array.

## chainImages

Expand Down

0 comments on commit a4c941d

Please sign in to comment.