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