Skip to main content

Overview

This guide covers sending SOL, building transactions, and signing transactions on Solana.

Prerequisites

Send SOL

SolanaWeb3 Dependency: Add the SolanaWeb3 package from solana-mobile/SolanaSwift to build Solana transactions.

Sign Transaction

Sign a base64-encoded transaction without sending:

Sign and Send Pre-Built Transaction

If you already have a base64-encoded transaction:

Complete Send SOL View

Lamports Conversion

Solana uses lamports as its smallest unit (1 SOL = 10^9 lamports):

Signer Methods

Error Handling

Devnet Faucet

For testing, get free devnet SOL from the Solana Faucet.

Next Steps

Last modified on February 2, 2026