Skip to main content
Interact with Solana programs using the embedded wallet and the Solana web3.js library.

Implementation

Key concepts

  • Connection - Connects to Solana RPC endpoint
  • Transaction - Builds transaction with instructions
  • Program interaction - Calls Solana program instructions
  • Wallet integration - Uses embedded wallet’s public key

Common patterns

SPL Token Transfer

Custom Program Instruction

Important notes

Make sure you’re using the correct RPC endpoint for your environment (mainnet, devnet, or testnet).
Always verify that the wallet has sufficient SOL to pay for transaction fees and any required lamports for the operation.

Next steps

Send Transaction

Learn more about Solana transactions

Web3.js Integration

Deep dive into Solana web3.js