taiko-client

module
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT

README

taiko-client

CI Codecov

Taiko protocol's client software implementation in Go. Learn more about Taiko nodes with the docs.

Project structure

Path Description
bindings/ Go contract bindings for Taiko smart contracts, and few related utility functions
cmd/ Main executable for this project
docs/ Documentation
driver/ Driver sub-command
integration_test/ Scripts to do the integration testing of all client software
metrics/ Metrics related
pkg/ Library code which used by all sub-commands
proposer/ Proposer sub-command
prover/ Prover sub-command
scripts/ Helpful scripts
testutils/ Test utils
version/ Version information

Build the source

Building the taiko-client binary requires a Go compiler. Once installed, run:

make build

Usage

Review all available sub-commands:

bin/taiko-client --help

Review each sub-command's command line flags:

bin/taiko-client <sub-command> --help

Testing

Ensure you have Docker running, and pnpm installed.

Then, run the integration tests:

  1. Start Docker locally
  2. Perform a pnpm install in taiko-mono/packages/protocol
  3. Replace <PATH_TO_TAIKO_MONO_REPO> and execute:
TAIKO_MONO_DIR=<PATH_TO_TAIKO_MONO_REPO> make test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL