Skip to main content
Use this quickstart if you want to integrate with the Protocol SDK from TypeScript.
The tutorial code is available in the swig-ts repository.
- For the Classic version (compatible with @solana/web3.js ), see: examples/tutorial/classic
- For the Kit version (compatible with @solana/kit), see: examples/tutorial/kit

Choose your stack

  • Classic uses @solana/web3.js 1.x and @swig-wallet/classic
  • Kit uses @solana/kit and @swig-wallet/kit
Each tutorial page shows both variants where they differ.

What this quickstart covers

  • environment setup
  • creating a wallet
  • managing authorities and actions
  • signing transactions

Read in this order

  1. Environment Setup
  2. Create a Wallet
  3. Manage Authorities and Actions
  4. Sign Transactions