Jstz CLI
The Jstz CLI allows you to interact with Jstz, including managing accounts, starting the sandbox, and deploying and interacting with smart functions. It provides these main commands:
account
- Work with Jstz accountsbridge
- Bridge XTZ tokens from Tezos to Jstz and backdeploy
- Deploy smart functionskv
- Get data from the key-value storelogin
- Set the account that the CLI uses to send requests to Jstzlogout
- Deselect the current accountlogs
- Get smart function logsrun
- Send requests to smart functionssandbox
- Start and interact with the local sandbox environmenttransfer
- Transfer XTZ between Jstz accountswhoami
- Print the current account
tip
-
jstz help
: Displays a general help message or help information for specific subcommands. -
jstz --version (-V)
: Displays the current version of Jstz.
tip
Many of these commands require the -n
or --network
argument to specify which Jstz environment to interact with, such as -n dev
to interact with the Jstz sandbox or a network that is listed in your Jstz config file.
For more information, see Networks.
You can add the local sandbox as the default network by opening the Jstz config file at ~/.config/jstz/config.json
and adding the line "default_network": "dev"
.