Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.39 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.39 KB

Verifiable Build CLI

Install

Using the Git repository

cargo install --git https://github.com/web3labs/ink-verifier-image.git

or from source

cargo install --path .

Run

If you built the docker image locally, you can run the tool by specifying the tag you used for building. For example:

❯ cd </path/to/contract>
❯ build-verifiable-ink -t develop .

You can also run the tool without building the docker image. In this case, specify the published image using the --image or -i flag. For example:

build-verifiable-ink -i ghcr.io/web3labs/ink-verifier /path/to/contract

Notes

To avoid problems with file system permissions we recommend the use of Podman as container engine.

You can specify the container engine in the command line tool options:

❯ build-verifiable-ink --help
A command line interface to generate verifiable source code packages.

Usage: build-verifiable-ink [OPTIONS] <SOURCE>

Arguments:
  <SOURCE>  Source directory, can be relative; e.g. '.'

Options:
  -i, --image <IMAGE>        ink! verifier image name [default: ink-verifier]
  -t, --tag <TAG>            ink! verifier image tag [default: latest]
      --engine <ENGINE>      Container engine [default: docker]
      --env-file <ENV_FILE>  Environment file
  -h, --help                 Print help information
  -V, --version              Print version information