Wallet Adapter React
How to use#
Install the sdk#
In case you are using Next.js, install below module add this to your next.config.js file
next.config.js:
Integrate#
Import css
Add provider
- Require
- isMainnet: Choose either
trueorfalseto select the mainnet or testnet. - autoConnect: Set the value to
trueorfalseto 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