0.27.2-alpha • Published 3 years ago

@taqueria/plugin-tezos-client v0.27.2-alpha

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Taqueria Tezos Client Plugin

The Tezos Client plugin provides tasks to analyze contracts including type checking and simulating of Michelson (.tz) smart contracts. They both execute against a protocol (currently kathmandu). We'll enable a --protocol flag in the future to allow users to specify a protocol to use

Requirements

  • Taqueria v0.24.2 or later
  • Node.js v16.17.1 or later
  • Docker v20.10.12 or later

Installation

To install the Tezos Client plugin on a Taqueria project, navigate to the project folder and run:

taq install @taqueria/plugin-tezos-client

:page_with_curl: Note

You can override the Tezos-Client version used by the plugin by creating the environment variable TAQ_TEZOS_CLIENT_IMAGE and setting it to your desired Tezos-Client Docker image

The taq typecheck task

Basic usage is:

taq typecheck <contractName>

Basic description

This task typechecks a Michelson file in artifacts and reports a failure or success

The taq simulate task

Basic usage is:

taq simulate <contractName> <--param paramFileName>

Basic description

This task runs a Michelson file in artifacts as a simulation and ouputs a result suggesting a failure or success. If it's a success, it shows the updated storage value, emitted operations, and big map differences

Options

  • By default, the storage file it will use to simulate the contract is CONTRACT.default_storage.tz where CONTRACT is the name of the contract. If you wish to specify another storage file in artifacts, use the --storage flag

  • The --param flag is mandatory and you must supply the filename, in artifacts, that contains the actual parameter value

  • By default, the entrypoint is default, which points to no specific annotated entrypoint. Use --entrypoint to specify an annotated entrypoint to call. E.g. if the parameter type of a Michelson contract is (or (or (int %decrement) (int %increment)) (unit %reset)), then there are two ways to call the increment entrypoint, with parameter (Left (Right 14)) or with parameter 14 if your command contains --entrypoint increment

The taq client task

Basic usage is:

taq client --command <command to pass to the underlying octez-client binary>

Wrap the value for the --command flag with quotes.

:page_with_curl: Note

This task allows you to run arbitrary octez-client native commands, but they might not benefit from the abstractions provided by Taqueria

Plugin Architecture

This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK and distributed via NPM

0.39.13

3 years ago

0.39.16

3 years ago

0.39.12

3 years ago

0.39.17

3 years ago

0.39.18

3 years ago

0.39.19

3 years ago

0.37.50

3 years ago

0.33.1

3 years ago

0.37.45

3 years ago

0.37.44

3 years ago

0.37.46

3 years ago

0.37.49

3 years ago

0.37.48

3 years ago

0.31.1

3 years ago

0.37.2

3 years ago

0.37.0

3 years ago

0.37.34

3 years ago

0.37.36

3 years ago

0.37.31

3 years ago

0.37.37

3 years ago

0.37.21

3 years ago

0.37.20

3 years ago

0.37.12

3 years ago

0.37.14

3 years ago

0.37.13

3 years ago

0.37.10

3 years ago

0.35.1

3 years ago

0.37.16

3 years ago

0.39.1

3 years ago

0.39.0

3 years ago

0.39.4

3 years ago

0.32.1

3 years ago

0.30.1

3 years ago

0.28.23

3 years ago

0.28.22

3 years ago

0.28.26

3 years ago

0.28.18

3 years ago

0.28.17

3 years ago

0.36.4

3 years ago

0.36.0

3 years ago

0.36.9

3 years ago

0.36.8

3 years ago

0.36.7

3 years ago

0.36.6

3 years ago

0.36.5

3 years ago

0.36.12

3 years ago

0.36.11

3 years ago

0.34.1

3 years ago

0.38.2

3 years ago

0.38.1

3 years ago

0.38.0

3 years ago

0.28.6

3 years ago

0.28.5

3 years ago

0.28.4

3 years ago

0.28.3

3 years ago

0.28.2

3 years ago

0.28.1

3 years ago

0.27.1-rc

3 years ago

0.27.16-rc

3 years ago

0.26.28-rc

3 years ago

0.27.1-alpha

3 years ago

0.27.12-rc

3 years ago

0.27.8-rc

3 years ago

0.25.3-alpha

3 years ago

0.25.16-rc

3 years ago

0.27.6-rc

3 years ago

0.25.19-rc

3 years ago

0.25.30-rc

3 years ago

0.25.29-rc

3 years ago

0.28.0

3 years ago

0.27.2-alpha

3 years ago

0.25.22-rc

3 years ago

0.25.4-alpha

3 years ago

0.27.4-rc

3 years ago

0.27.0-rc

3 years ago

0.26.27-rc

3 years ago

0.27.2-rc

3 years ago

0.27.15-rc

3 years ago

0.25.17-rc

3 years ago

0.25.13-rc

3 years ago

0.27.9-rc

3 years ago

0.27.5-rc

3 years ago

0.25.31-rc

3 years ago

0.27.10-rc

3 years ago

0.25.11-rc

3 years ago

0.27.7-rc

3 years ago

0.27.3-rc

3 years ago

0.25.23-rc

3 years ago

0.25.6-alpha

3 years ago

0.27.17-rc

3 years ago

0.27.0-alpha

3 years ago

0.25.21-rc

3 years ago

0.23.16-rc

3 years ago

0.23.5-rc.1

3 years ago

0.25.0-alpha

3 years ago

0.22.2

3 years ago

0.23.14-rc

3 years ago

0.23.8-rc.1

3 years ago

0.23.18-rc

3 years ago

0.24.2

3 years ago

0.24.1

3 years ago

0.23.21-rc

3 years ago

0.21.30

3 years ago

0.23.4-rc.1

3 years ago

0.21.29

3 years ago

0.21.23

3 years ago

0.23.6-rc.1

3 years ago

0.21.14

3 years ago

0.21.12

3 years ago

0.21.13

3 years ago

0.21.11

3 years ago

0.23.11-rc

3 years ago

0.23.23-rc

3 years ago

0.21.7

3 years ago

0.21.5

3 years ago

0.23.15-rc

3 years ago

0.21.0

3 years ago

0.23.3-rc.1

3 years ago

0.23.0-rc.2

3 years ago

0.23.0-rc.1

3 years ago

0.23.19-rc

3 years ago

0.23.1-rc.1

3 years ago

0.23.24-rc

3 years ago

0.23.2-rc.1

3 years ago

0.20.1

3 years ago

0.20.0

3 years ago

0.20.2

3 years ago

0.13.16

4 years ago

0.19.2

4 years ago

0.19.3

3 years ago

0.19.4

3 years ago

0.19.5

3 years ago

0.19.6

3 years ago

0.19.7

3 years ago

0.14.2

4 years ago

0.14.3

4 years ago

0.14.4

4 years ago

0.18.0

4 years ago

0.16.0

4 years ago

0.13.10

4 years ago

0.5.6-rc1

4 years ago

0.7.6-rc5

4 years ago

0.13.0

4 years ago

0.5.8-rc1

4 years ago

0.7.2-rc2

4 years ago

0.5.9-rc1

4 years ago

0.7.5-rc4

4 years ago

0.8.4

4 years ago

0.10.0

4 years ago

0.8.0

4 years ago

0.8.3

4 years ago

0.6.2

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.11.1-rc2

4 years ago

0.5.0-rc1

4 years ago

0.12.0

4 years ago

0.7.0-rc1

4 years ago

0.5.2-rc1

4 years ago

0.5.3-rc1

4 years ago

0.5.4-rc1

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.4.0

4 years ago

0.4.2

4 years ago

0.4.0-rc3

4 years ago

0.4.0-rc2

4 years ago

0.4.0-rc1

4 years ago