Wallet Adapter React
#
How to use#
Install the sdkIn case you are using Next.js, install below module add this to your next.config.js
file
next.config.js
:
#
IntegrateImport css
Add provider
- Require
- isMainnet: Choose either
true
orfalse
to select the mainnet or testnet. - autoConnect: Set the value to
true
orfalse
to enable or disable auto connect feature.
- isMainnet: Choose either
- Optional
- e2eWalletPrivKey: The passphrase of the test wallet used for end-to-end (e2e) testing.
- Require
#
Import button connect- using the button