near-lake-framework-go

module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2023 License: MIT

README

Near lake framework on Golang

How to install

go get github.com/router-protocol/near-lake-framework-go

How to use

config := core.DefaultLakeConfigBuilder().
		      Mainnet().
	          SetStartBlockHeight(79075963).
	          SetBlocksPreloadPoolSize(100).
	          Build()
channel := core.Streamer(*config)
for {
    select {
    case message := <-channel:
        fmt.Println(message.Shards[0].Chunk.Receipts)
    }
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL