Skip to main content

Developer

Explore how to build dApps and on-chain programs with Solana. Learners will understand Solana architecture, wallet integration, transactions, accounts, programs, and the resources used to continue building.

Open the interactive course to enroll, track progress and use your learning tools.

Transactions

Solana transactions package one or more instructions for atomic execution. Developers need to account for signatures, blockhash expiry, compute limits, fees, submission, and confirmation.

Key points

  • Solana transactions can confirm quickly and at low cost, but latency, inclusion, and fees depend on network demand, account contention, RPC quality, and the transaction's compute and priority-fee settings.
  • A transaction contains one or more instructions, account addresses, a recent blockhash, and signatures from the accounts that authorize changes. All instructions execute atomically: if one fails, state changes are reverted, although fees are still charged.
  • Optimization means simulating transactions, requesting an appropriate compute-unit limit, setting priority fees deliberately, minimizing unnecessary writable-account locks, and handling blockhash expiry and retries. Batching is useful only when it stays within transaction size and compute limits.

Further reading

Video

Watch the supporting video