thru-cli wthru when the task involves wrapped Thru rather than generic token-account operations.
Commands
| Command | Use it for |
|---|---|
initialize | Initialize 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
| Flag | Why it matters |
|---|---|
--program | Override the configured wrapped Thru program ID. |
--token-program | Override the token program ID used by wrapped Thru flows. |
--skip-transfer | On deposit, skip the native transfer and only run the deposit instruction. |
Minimal Pattern
Notes
- Use this family instead of
tokenwhen the goal is wrapping or unwrapping native Thru. - The program and token program IDs can both be overridden explicitly.