Go library for streaming batches from Espresso into Optimism L2 nodes. It provides an EspressoStreamer interface that handles batch fetching, buffering, and synchronization against Ethereum L1.
- Go 1.25+
- just
- golangci-lint
- abigen (for generating Go bindings)
Or with Nix:
nix developimport "github.com/EspressoSystems/espresso-streamers/op"| Command | Description |
|---|---|
just test |
Run tests |
just vet |
Run go vet |
just lint |
Run golangci-lint |
just fmt |
Format code |
just check |
Run all of the above |
just gen-bindings |
Regenerate Go bindings from ABI |
just testCopyright (c) 2022 Espresso Systems espresso-network was developed by Espresso Systems. While we plan to adopt an open source license, we have not yet selected one. As such, all rights are reserved for the time being. Please reach out to us if you have thoughts on licensing.
DISCLAIMER: This software is provided "as is" and its security has not been externally audited. Use at your own risk.
DISCLAIMER: The Go packages provided in this repository are intended primarily for use by the binary targets in this repository. We make no guarantees of public API stability. If you are building on these packages, reach out by opening an issue to discuss the APIs you need.