Setting Up your Dapp
First make sure you have created a Sequence account, if you don’t have one, you can create one here, you will need yourProject Access Key
in order to use the Web SDK.
To utilize the SequenceConnect
wrapper for connecting web3 wallets to your application, follow these steps:
Web SDK is built on top of wagmi, so for advanced configurations, sending
transactions, calling contracts, etc., please refer to the wagmi
documentation.
2
Install the Web SDK dependencies
3
Create a Config
Next, create the configuration.If you want to allow WalletConnect you will also need a walletConnectProjectId.
To setup Google Login follow the Google Configuration for Embedded Wallet.In order to customize further, you can view additional configuration parameters.
[config.ts]
4
Setup Provider Component
The configuration we created in step 3 needs to be passed into the providers below in the
main.tsx
.[main.tsx]
5
Trigger the Connection Modal
[App.tsx]