diff --git a/embed.go b/embed.go new file mode 100644 index 0000000..b4cd0d1 --- /dev/null +++ b/embed.go @@ -0,0 +1,23 @@ +package snapshothashes + +import ( + _ "embed" +) + +//go:embed erigon-snapshots/mainnet.toml +var mainnet []byte + +//go:embed erigon-snapshots/goerli.toml +var goerli []byte + +//go:embed erigon-snapshots/bsc.toml +var bsc []byte + +//go:embed erigon-snapshots/ropsten.toml +var ropsten []byte + +//go:embed erigon-snapshots/mumbai.toml +var mumbai []byte + +//go:embed erigon-snapshots/bor-mainnet.toml +var borMainnet []byte diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..10ddc82 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/ledgerwatch/erigon-snapshot + +go 1.18