Skip to main content

Send SOL

With UI Feedback

With Retry Logic

Vanilla JavaScript

Send SOL (@solana/kit)

When to use Kit for transactions:
  • Building modern Solana applications with @solana/kit
  • Need type-safe instruction building
  • Want better tree-shaking and smaller bundle sizes
  • Working with Kit-native programs and libraries
Key differences from web3.js:
  • Uses address() type instead of PublicKey
  • Uses lamports() for amounts (native BigInt support)
  • createKitTransaction handles blockhash automatically
  • transactionSigner combines sign + send in one call
  • Instructions come from @solana-program/system instead of SystemProgram