Skip to main content
Use thru-cli wthru when the task involves wrapped Thru rather than generic token-account operations.

Commands

CommandUse it for
initializeInitialize the wrapped Thru mint and vault accounts.
deposit <dest_token_account> <amount>Wrap native Thru into wrapped Thru.
withdraw <wthru_token_account> <recipient> <amount>Burn wrapped Thru and receive native Thru.

High-Signal Flags

FlagWhy it matters
--programOverride the configured wrapped Thru program ID.
--token-programOverride the token program ID used by wrapped Thru flows.
--skip-transferOn deposit, skip the native transfer and only run the deposit instruction.

Minimal Pattern

thru-cli wthru initialize
thru-cli wthru deposit ta...[dest_token_account] 1000000

Notes

  • Use this family instead of token when the goal is wrapping or unwrapping native Thru.
  • The program and token program IDs can both be overridden explicitly.