WDK logoWDK documentation
Solana

Gasless Solana wallet

Overview of the @tetherto/wdk-wallet-solana-gasless module.

The @tetherto/wdk-wallet-solana-gasless module manages Solana accounts that send transactions through a Kora-compatible paymaster. It wraps the standard Solana wallet module and adds paymaster-funded native SOL sends, SPL token transfers, fee quotes, message signing, and read-only account support.

These pages document the published @tetherto/wdk-wallet-solana-gasless@1.0.0-beta.1 package. Test your Solana RPC and Kora-compatible paymaster configuration on the target network before production use.

This module requires a Solana RPC endpoint and a Kora-compatible paymaster endpoint. The paymaster address becomes the transaction fee payer, and fees are quoted in the configured paymaster token's base units.

Features

  • Gasless Solana Transactions: Quote, sign, and send native SOL transfers through a paymaster.
  • SPL Token Transfers: Transfer SPL tokens and create the recipient associated token account when needed.
  • Paymaster Fee Quotes: Estimate paymaster token fees before sending.
  • Per-Operation Overrides: Override the paymaster token for one quote, sign, send, or transfer call; use transactionMaxFee for send/sign caps and transferMaxFee for transfer caps.
  • SLIP-0010 Derivation Paths: Use the same Solana derivation path behavior as @tetherto/wdk-wallet-solana.
  • Read-Only Accounts: Check balances, quote fees, read receipts, and verify signatures for an address without a private key.
  • Message Signing: Sign and verify messages with Ed25519 account keys.
  • Provider Failover: Pass ordered RPC or paymaster endpoint lists with retry behavior.
  • TypeScript Support: Use bundled type declarations for the module classes and config types.

Supported Networks

The module works with Solana RPC providers and Kora-compatible paymasters on networks where your paymaster is deployed and funded:

  • Solana Mainnet Beta
  • Solana Devnet
  • Solana Testnet

Key Exports

ExportPurpose
WalletManagerSolanaGaslessDefault export for deriving and caching gasless Solana accounts from a seed.
WalletAccountSolanaGaslessOwned account with signing, transfer, quote, and paymaster send methods.
WalletAccountReadOnlySolanaGaslessRead-only account for balances, quotes, receipts, and signature verification.

Next Steps


Need Help?

On this page