0.53.0 • Published 20 days ago

@taqueria/plugin-octez-client v0.53.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
20 days 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.26.0 or later
  • Node.js v16.16 or later. (v17.x.x or later is not supported)
  • 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 typecheck-all task

Basic usage is:

taq typecheck-all

Basic description

Performs the same function as taq typecheck, but performs type-checking for all contracts in the artifacts directory.

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.53.2

20 days ago

0.53.1

21 days ago

0.52.2

22 days ago

0.53.0

22 days ago

0.52.1

29 days ago

0.52.0

29 days ago

0.51.2

1 month ago

0.51.0

1 month ago

0.50.14

1 month ago

0.50.15

1 month ago

0.50.12

1 month ago

0.50.9

2 months ago

0.50.7

2 months ago

0.50.8

2 months ago

0.50.5

2 months ago

0.50.6

2 months ago

0.50.4

2 months ago

0.50.2

2 months ago

0.50.1

2 months ago

0.49.18

2 months ago

0.50.0

2 months ago

0.49.16

2 months ago

0.49.17

2 months ago

0.49.15

2 months ago

0.49.12

2 months ago

0.49.13

2 months ago

0.49.11

3 months ago

0.49.9

3 months ago

0.49.10

3 months ago

0.49.0

3 months ago

0.48.32

3 months ago

0.48.31

4 months ago

0.48.28

4 months ago

0.48.27

4 months ago

0.48.26

4 months ago

0.48.25

4 months ago

0.48.23

4 months ago

0.48.22

4 months ago

0.48.15

4 months ago

0.48.14

4 months ago

0.48.13

4 months ago

0.48.0

4 months ago

0.47.1

4 months ago

0.46.23

4 months ago

0.46.22

4 months ago

0.47.0

4 months ago

0.46.21

4 months ago

0.46.17

5 months ago

0.46.16

5 months ago

0.46.15

5 months ago

0.46.14

5 months ago

0.46.13

5 months ago

0.46.12

5 months ago

0.46.11

5 months ago

0.46.10

5 months ago

0.46.8

5 months ago

0.46.4

5 months ago

0.46.3

5 months ago

0.46.1

5 months ago

0.46.0

6 months ago

0.45.19

6 months ago

0.45.20

6 months ago

0.45.21

6 months ago

0.45.22

6 months ago

0.45.23

6 months ago

0.45.24

6 months ago

0.45.25

6 months ago

0.45.26

6 months ago

0.45.27

6 months ago

0.45.28

6 months ago

0.45.29

6 months ago

0.45.2

6 months ago

0.45.1

6 months ago

0.45.0

6 months ago

0.44.8

6 months ago

0.44.7

6 months ago

0.44.6

6 months ago

0.44.5

6 months ago

0.44.4

6 months ago

0.44.3

6 months ago

0.44.2

6 months ago

0.44.0

7 months ago

0.43.5

7 months ago

0.43.4

7 months ago

0.43.3

7 months ago

0.43.2

7 months ago

0.43.1

7 months ago

0.43.0

7 months ago

0.42.13

7 months ago

0.42.12

7 months ago

0.42.11

7 months ago

0.42.9

7 months ago

0.42.8

7 months ago

0.42.7

7 months ago

0.42.6

7 months ago

0.42.5

7 months ago

0.42.3

7 months ago

0.42.2

7 months ago

0.42.1

7 months ago

0.42.0

7 months ago

0.41.24

7 months ago

0.41.23

7 months ago

0.41.21

7 months ago

0.41.19

7 months ago

0.41.18

7 months ago

0.41.11

7 months ago

0.41.10

7 months ago

0.41.9

7 months ago

0.41.6

7 months ago

0.41.5

7 months ago

0.41.4

7 months ago

0.41.0

7 months ago

0.40.34

7 months ago

0.40.33

8 months ago

0.40.32

8 months ago

0.40.31

8 months ago

0.40.25

8 months ago

0.40.24

8 months ago

0.40.23

8 months ago

0.40.20

8 months ago

0.40.19

8 months ago

0.40.18

8 months ago

0.40.17

8 months ago

0.40.16

8 months ago

0.40.15

8 months ago

0.40.14

8 months ago

0.40.13

8 months ago

0.40.10

8 months ago

0.40.8

8 months ago

0.40.7

8 months ago

0.40.6

8 months ago

0.40.4

8 months ago

0.40.2

8 months ago

0.40.0

8 months ago

0.39.31

8 months ago

0.39.30

8 months ago

0.39.28

8 months ago

0.39.24

8 months ago