Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getpara.com/llms.txt

Use this file to discover all available pages before exploring further.

Para supports multiple Solana libraries. Choose your library below.

Prerequisites

The modern Solana library with the @solana/signers interface. Recommended for new projects.

Install

npm install @getpara/react-native-wallet @getpara/solana-signers-v2-integration @solana/kit
@getpara/solana-signers-v2-integration is a separate package — install it alongside @getpara/react-native-wallet.

Usage

Use the hook to create a Solana signer for your user’s Para embedded wallet or external wallet. The hook wraps transaction signing in a React Query mutation.
import { useParaSolanaSigner } from "@getpara/react-native-wallet/solana";
import { createSolanaRpc } from "@solana/kit";
import { Text } from "react-native";

const rpc = createSolanaRpc("https://api.mainnet-beta.solana.com");

function SolanaExample() {
  const { solanaSigner, isLoading } = useParaSolanaSigner({ rpc });

  if (isLoading) return <Text>Loading...</Text>;
  return <Text>Address: {solanaSigner?.address}</Text>;
}

Wallet Resolution

When no address or walletId is passed, the hook resolves the wallet in this order:
  1. Selected wallet — if the user selected a Solana wallet in the UI. If there is only one Solana wallet in the session, it is already selected by default
  2. First Solana wallet — the first available Solana wallet on the account
To target a specific wallet:
const { solanaSigner } = useParaSolanaSigner({ rpc, address: "SoLaNa..." });

Next Steps