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