Pytezos CLI¶
Tutorials¶
Check out this guide by Vadim from Airalab: https://blog.aira.life/tezos-dont-forget-the-mother-console-fd2001261e50?gi=2fe6dfe4fd7f
Examples¶
See how PyTezos CLI is used in a Travis CI pipeline: https://github.com/atomex-me/atomex-fa12-ligo/blob/master/.travis.yml
Reference¶
-
class
pytezos.cli.cli.
PyTezosCli
[source]¶ -
activate
(path, network='edo2net')[source]¶ Activates and reveals key from the faucet file.
- Parameters
path – Path to the .json file downloaded from https://faucet.tzalpha.net/
network – Default is Babylonnet
-
deploy
(path, storage=None, network='edo2net', key=None, github_repo_slug=None, github_oauth_token=None, dry_run=False)[source]¶ Deploy contract to the specified network.
- Parameters
path – Path to the .tz file
storage – Storage in JSON format (not Micheline)
network –
key –
github_repo_slug –
github_oauth_token –
dry_run – Set this flag if you just want to see what would happen
-