Learn how to combine the Para Modal with Cosmos wallets.
Install dependencies
Import components
@getpara/graz/chains
, you’ll need to generate the chain files. You can:npx graz --generate
manually after installationConfigure chains
Configure the provider
ParaCosmosProvider
component by wrapping your application content in the ParaCosmosProvider
component. Pass in the required configuration props:ParaCosmosProvider
is built on top ofgraz's GrazProviderand supports all of its configuration options.'use client'
directive in Next.js 13+:
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.
Optionally, you can pass the createLinkedEmbeddedForExternalWallets
prop to include full Para authentication for specific wallets.
This will add a signature verification step for these wallets and will setup a full Para account for the user, including creating Para wallets according to your APi key settings.
Set the modal props
CosmJS
.