This package provides tools and interfaces for working with the Espresso sequencer in Go. It should (eventually) provide everything needed to integrate a rollup written in Go with the Espresso sequencer.
-
Obtain code:
git clone [email protected]:EspressoSystems/espresso-network-go git submodule update --init --recursive
-
Make sure nix is installed.
-
Activate the environment with
nix-shell
, ornix develop
, ordirenv allow
if using direnv.
Run the following command to download the static library for the current platform.
sudo go run github.com/EspressoSystems/espresso-network-go/download download
Or you can specify the version with -v
flag.
sudo go run github.com/EspressoSystems/espresso-network-go/download download -v 0.0.32
Build the verification library.
go build github.com/EspressoSystems/espresso-network-go/verification
You can also clean the downloaded files with the following command.
sudo go run github.com/EspressoSystems/espresso-network-go/download clean
just lint
just test
just bind-light-client