Skip to main content

CLI Overview & Subcommands

To view available subcommands, run:

open-token voucher --help

Subcommands:

  • create – Create vouchers and deposit tokens into the vault.
  • redeem – Redeem a voucher code and transfer tokens to the user.
  • withdraw – Withdraw tokens from the vault to the vault owner.
  • info – Query information for a specific voucher by its Public Key.
  • vault – Query overall vault balances and stats for a token mint.
  • help – Print help information.