Docs

Integrate a wallet provider

Build a Wallet interface

To use a wallet provider with thirdweb's TypeScript SDK, you have to create a wallet class which extends AbstractClientWallet class

export class MyWallet extends AbstractClientWallet {
// ....
}

Build a wallet interface


Integrate with ConnectWallet

If you also want to integrate this wallet with ConnectWallet component in React SDK or React Native SDK, You have to create a Wallet Configurator function which can be passed to ThirdwebProvider component

function myWallet(): WalletConfig<MyWallet> {
// ...
}
<ThirdwebProvider supportedWallets={[myWallet()]}>
<App />
</ThirdwebProvider>;

Integrate with ConnectWallet