Choose a package
What these packages cover
- instruction building
- wallet account fetching
- PDA derivation
- authority and action helpers
- version-aware handling for v1 and v2 Swig accounts
Classic vs Kit
@swig-wallet/classic and @swig-wallet/kit cover the same product area, but
they target different Solana client stacks.
classicreturnsTransactionInstruction[]and works withConnectionkitreturns Kit instructions and works withRpc<GetAccountInfoApi>
API reference
The generated API docs live here: anagrambuild.github.io/swig-ts/modules.htmlRelated pages
- Use Kit Package for the Solana Kit-specific path
- Use Action Helpers for action and permission helpers

