Learn how to combine the Para Modal with EVM wallets.
ParaProvider
with external wallet support, Para automatically creates and manages the Wagmi provider internally. This means:
externalWalletConfig
ParaProvider
component by wrapping your application content in the QueryClientProvider
and ParaProvider
components. Pass in the required configuration props:
ParaProvider
automatically creates and manages the Wagmi provider internally. You only need to provide the QueryClientProvider
- Para handles all Wagmi setup for you.getWagmiConfig
function when you need the configuration inside the ParaProvider context but outside of React hooks:
createParaWagmiConfig
:
createParaWagmiConfig
function creates the same configuration that ParaProvider would create internally. This enables you to use the config with @wagmi/core
actions before your React app renders.@getpara/evm-wallet-connectors
, this indicates that Wagmi’s store hydration is happening too eagerly. Since Para uses Wagmi internally, all apply:
'use client'
directive in Next.js 13+:createLinkedEmbeddedForExternalWallets
prop to indicate which external wallets this setting should be applied to.
externalWallets
and authLayout
configuration options
to the ParaModal component to control which of the wallets show in the modal that were specified in the provider
configuration.
externalWalletConfig
of your ParaProvider
:
externalWalletConfig
of your ParaProvider
:
Ethers.js
.