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 Solana, you can use the React SDK Lite along with the Solana wallet connectors package to integrate with just Solana wallets without needing to have Cosmos or EVM dependencies. At minimum, you will need to install the following packages:
npm install @getpara/react-sdk-lite@alpha @getpara/solana-wallet-connectors@alpha @solana-mobile/wallet-adapter-mobile @solana/wallet-adapter-base @solana/wallet-adapter-react @solana/wallet-adapter-walletconnect @solana/web3.js --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 Solana wallets, such as wagmi, viem, or @cosmjs/*.

Next Steps

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