The Swig TypeScript SDK provides a robust interface for interacting with Solana smart contracts and wallets.
@swig-wallet/coder
- Low-level encoding/decoding utilities@swig-wallet/lib
- Core functionality@swig-wallet/classic
- High-level wrapper functions for Web3.js 1.x compatibility@swig-wallet/kit
- High-level wrapper functions for Web3.js 2.0 (Solana Kit) compatibility@swig-wallet/classic
TransactionInstruction[]
Connection
@swig-wallet/lib
@swig-wallet/kit
KitInstruction[]
Rpc<GetAccountInfoApi>
@swig-wallet/lib
Actions
class for permission managementSwig
class for wallet representation@swig-wallet/coder
TransactionInstruction[]
instead of single instructions@swig-wallet/lib
@solana-program/token
instead of @solana/spl-token
@swig-wallet/classic
)Connection
, PublicKey
, TransactionInstruction
@swig-wallet/kit
)Rpc
, Address
, KitInstruction