TransactionInstruction[] that work directly with @solana/web3.js.
Setup
Complete Transfer
Native SOL Transfers
For native SOL (not wrapped tokens), use the default public key:Wallet Adapter Integration
For frontend apps using@solana/wallet-adapter:
SPL Token Support
The SDK supports both SPL Token and Token-2022 programs automatically:PDA Derivation
The builder provides methods to derive Program Derived Addresses:Receiving on Solana (From Other Chains)
When tokens arrive on Solana from another chain, the transfer finalizes automatically if relayer fees were paid. The tokens appear in your associated token account. For manual finalization, you need the Wormhole VAA:Differences from EVM
Error Handling
Next Steps
Pay Relayer Fees
Automatic finalization on destination
Track Status
Monitor your transfer’s progress