Overview
This guide shows you how to sign Solana transactions using Dynamic’s Node SDK. You’ll learn how to create, sign, and send Solana transactions.Prerequisites
Step 1: Install Dependencies
Step 2: Create and Sign a Transaction
The approach for signing transactions depends on how you created your wallet:With Automatic Backup (Recommended)
If you created your wallet withbackUpToClientShareService: true
, you can sign directly without retrieving key shares:
With Manual Backup
If you created your wallet withbackUpToClientShareService: false
, you must retrieve and provide external key shares:
- If your wallet was created without a password, omit the
password
parameter - If your wallet was created with a password, you must provide it for all operations
- The password parameter is always optional in the API, but required if the wallet is password-protected