Skip to main content
Para offers a lightweight version of the @getpara/react-sdk called @getpara/react-sdk-lite which reduces the need to install dependencies for networks that you do not plan to use. So for Cosmos-compatible blockchains, you can use the React SDK Lite along with the Cosmos wallet connectors package to integrate with just Cosmos wallets without needing to have Solana or EVM dependencies. At minimum, you will need to install the following packages:
npm install @getpara/react-sdk-lite@alpha @getpara/cosmos-wallet-connectors@alpha graz @cosmjs/cosmwasm-stargate @cosmjs/launchpad @cosmjs/proto-signing @cosmjs/stargate @cosmjs/tendermint-rpc @leapwallet/cosmos-social-login-capsule-provider long starknet --save-exact
Once installed, you’ll want to update your postinstall scripts to stub out the unneeded dependencies for other chains. Para provides the setup-para CLI tool to help with this, and is available automatically in ./node_modules/.bin/setup-para after installing the React SDK Lite package. The tool will stub out those chains so that your bundler does not attempt to include them in your final build. In your package.json, add the following postinstall script:
"scripts": {
  "postinstall": "setup-para"
}
If you already have a postinstall script, just append && setup-para to the end of it.
If you are migrating from @getpara/react-sdk, you will need to remove any existing dependencies that are not needed for Cosmos wallets, such as wagmi, viem, or @solana/web3.js.

Next Steps

Proceed to the to finish setting up your Cosmos wallet integration.