Custom Wallets
Create a custom wallet
The Wallet
function type is provided to help you define your own custom wallets. The following properties can be configured on the return value of your Wallet
function:
Prop | Type | Default |
---|---|---|
id* | string | – |
name* | string | – |
shortName | string | undefined | – |
iconUrl* | string | (() => Promise<string>) | – |
iconAccent | string | – |
iconBackground* | string | – |
installed | boolean | undefined | – |
downloadUrls | DownloadUrls | undefined | – |
hidden | (args) => boolean | undefined | – |
createConnector* | RainbowKitConnector | – |
Prop | Type | Default |
---|---|---|
android | string | – |
ios | string | – |
mobile | string | – |
qrCode | string | – |
chrome | string | – |
edge | string | – |
firefox | string | – |
opera | string | – |
safari | string | – |
browserExtension | string | – |
The following properties are defined on the return value of the createConnector
function.
Prop | Type | Default |
---|---|---|
mobile | object | – |
desktop | object | – |
qrCode | object | – |
extension | object | – |
For example, to create a custom wallet using WalletConnect:
You can then add your custom wallet in the wallet list.