zkSend Integration
DApp Kit provides out-of-the-box opt-in support for zkSend wallets.
Setup
To enable support for zkSend wallets, you need to pass the zkSend
object to the WalletProvider
component. This object has the following properties:
name
- The name of your dApp. This will be shown to the user when connecting to the dApp.
function App({ children }) {
return (
<WalletProvider
zkSend={{
name: 'Your dApp name',
}}
>
{children}
</WalletProvider>
);
}