import type { Para as ParaServer } from '@getpara/server-sdk';import { ParaSolanaSigner } from '@getpara/solana-signers-v2-integration';import type { Rpc } from '@solana/rpc-spec';import type { SolanaRpcApi } from '@solana/rpc-api';
declare const para: ParaServer; // An authenticated Para Server client with a loaded Solana wallet.declare const rpc: Rpc<SolanaRpcApi>;const signer = new ParaSolanaSigner({ para, rpc });console.log(signer.address);
The class requires both Para and RPC clients. address is the selected Solana address and sender is its byte representation. This is the Signers v2 integration, not @solana/web3.js v1.