
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
github.com/star2478/go-ethereum-blockchain-parser
Advanced tools
go get github.com/ethereum/go-ethereumgo get github.com/deckarep/golang-setgeth --rpc启动geth的http服务器go run synBlockTime.go,将本地所有block的编号和时间写入blocktime文件。当我们使用后面功能时,脚本会从blocktime中读取出生成于[timeFrom]到[timeTo]间的所有block编号,再根据block编号获取block详细信息。因此,如果不执行该操作,blocktime文件可能未记录最新block,使用后面功能时就无法获取最新block的详细信息go run getAccount.go [timeFrom] [timeTo], 比如go run getAccount.go 2018-01-01-00-00-00 2018-02-01-00-00-00。结果会存到accounts目录下,文件名为[timeFrom]-[timeTo]go run getBalance.go [timeFrom] [timeTo], 比如go run getBalance.go 2018-01-01-00-00-00 2018-02-01-00-00-00。结果会存到balance目录下,文件名为[timeFrom]-[timeTo]。注意:执行此命令前需要先执行go run getAccount.go [timeFrom] [timeTo]go run getTxByTime.go [timeFrom] [timeTo], 比如go run getTxByTime.go 2018-01-01-00-00-00 2018-02-01-00-00-00。结果会存到tx目录下,文件名为[timeFrom]-[timeTo]。同时还会产生另外两个文件[timeFrom]-[timeTo]-from-sort和[timeFrom]-[timeTo]-to-sort,分别存放以交易卖出账户和买进账户排序后的结果go run getTxTimelineGroupByAccount.go [timeFrom] [timeTo], 比如go run getTxTimelineGroupByAccount.go 2018-01-01-00-00-00 2018-02-01-00-00-00。结果会存到tx目录下,文件名为[timeFrom]-[timeTo]-timeline。注意:执行此命令前需要先执行go run getTxByTime.go [timeFrom] [timeTo]go run getTxCountGroupByAccount.go [timeFrom] [timeTo], 比如go run getTxCountGroupByAccount.go 2018-01-01-00-00-00 2018-02-01-00-00-00。结果会存到tx目录下,文件名为[timeFrom]-[timeTo]-count。注意:执行此命令前需要先执行go run getTxByTime.go [timeFrom] [timeTo]FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers