module
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Oct 26, 2023
License: MIT
Opens a new window with license information.
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
¶
Click to show internal directories.
Click to hide internal directories.