| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Embeddable Go package that ships a gzipped NDJSON snapshot of Swarm postage batches (exported from the Postage Stamp contract on Gnosis Chain). Importing this package gives a Bee node access to the historical batch state without re-fetching it from the chain.
The snapshot is refreshed periodically via the chore: update snapshot to block number … commits.
go get github.com/ethersphere/batch-archivepackage main
import (
archive "github.com/ethersphere/batch-archive"
)
func main() {
data := archive.GetBatchSnapshot() // gzipped NDJSON bytes
_ = data
}The snapshot is generated by batch-export.
| Back | FazBrowse Home | New Git URL |