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 | – |
rdns | string | – |
shortName | string | undefined | – |
iconUrl* | string | (() => Promise<string>) | – |
iconAccent | string | – |
iconBackground* | string | – |
installed | boolean | undefined | – |
downloadUrls | DownloadUrls | undefined | – |
hidden | (args) => boolean | undefined | – |
createConnector* | RainbowKitConnector | – |
mobile | object | – |
desktop | object | – |
qrCode | object | – |
extension | object | – |
createConnector* | (details: WalletDetailsParams) => CreateConnectorFn | – |
Prop | Type | Default |
---|---|---|
android | string | – |
ios | string | – |
mobile | string | – |
qrCode | string | – |
chrome | string | – |
edge | string | – |
firefox | string | – |
opera | string | – |
safari | string | – |
browserExtension | string | – |
For example, to create a custom wallet using WalletConnect:
You can then add your custom wallet in the wallet list.