Embedded Wallet Provider
For embedded wallet to work, use need to use the Embedded wallet provider.
Last updated
For embedded wallet to work, use need to use the Embedded wallet provider.
Last updated
Embedded wallet provider takes care of wallet connections, chains enabled to view balances - all within embedded wallet.
If your dApp supports web3 wallet connect, you must pass in the walletConnectOptions
prop.
If your dApp supports social login via capsule, you must pass in the capsuleConfig
prop.
* Denotes required props
Prop | Type | Description |
---|---|---|
primaryChainId
string
The primary chain your dApp's user will connect to.
connectWallet
*
() => void
Method to trigger your dApps' connect wallet flow.
disconnectWallet
*
() => void
Method to trigger your dApps' disconnect wallet flow.
connectedWalletType
*
WalletType
Wallet which is intended to be connected on the dApp.
walletConnectOptions
Wallet Connect (WC) options.
capsuleConfig
Social Login options.
chains
string[]
.List of chain IDs for which you want to show balances