Para with Solana Signers V2
Learn how to integrate Para with Solana using the Solana Signers V2 library to sign transactions and interact with the Solana blockchain.
Solana Signers V2 is a modern approach to handling transaction signing on Solana. This guide will show you how to integrate Para’s wallet and signing capabilities with Solana using our Signers V2 integration package.
Prerequisites
To use Para, you need an API key. This key authenticates your requests to Para services and is essential for integration. Before integrating Para with your application, ensure you have:
- Completed Para authentication setup in your application (see one of our Setup Guides)
- A valid Para API key
- An RPC endpoint for your desired network
Need an API key? Visit the Developer Portal to create API keys, manage billing, teams, and more.
Installation
Choose your preferred package manager to install the required dependencies:
Setting Up the Signer
Initialize the Para Solana V2 signer using the createParaSolanaSigner
function:
Message Signing
Sign messages using the signer:
Transaction Signing and Sending
Sign and Send Transactions
The Para Solana Signer provides a convenient signAndSendTransactions
method that handles both signing and sending in one step:
Signing Transactions Only
If you need to sign transactions without sending them immediately:
Key Properties and Methods
The ParaSolanaSigner
provides the following key properties and methods:
address
: Get the wallet address as a stringsender
: Get the wallet public key buffersignMessages()
: Sign messagesmodifyAndSignTransactions()
: Sign transactions without sendingsignAndSendTransactions()
: Sign and send transactions in one step
Server-Side Signing
Para’s signers can also be used on the server-side using pregen wallets or an active client side session. To learn more about using para on the server, check out these guides:
Examples
If you’d like to learn more about how to use the ParaSolanaSigner
for different transaction types, check out this example in our Examples Hub: