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:
Wallet Properties
Prop | Type | Default |
---|---|---|
id* | string | – |
name* | string | – |
shortName | string | – |
iconUrl* | string | (() => Promise<string>) | – |
iconBackground* | string | – |
installed | boolean | undefined | – |
downloadUrls | DownloadUrls | undefined | – |
createConnector* | Connector | – |
RainbowKitConnector properties
The following properties are defined on the return value of the createConnector
function.
Prop | Type | Default |
---|---|---|
mobile | object | – |
qrCode | object | – |
downloadUrls | object | – |
Examples
For example, to create a custom wallet using WalletConnect:
You can then add your custom wallet in the wallet list.