Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

taikoxyz/taiko-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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