• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

coinmetrics/haskell-tools: Tools for exporting blockchain data to analytical dat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

coinmetrics/haskell-tools

开源软件地址(OpenSource Url):

https://github.com/coinmetrics/haskell-tools

开源编程语言(OpenSource Language):

Haskell 95.8%

开源软件介绍(OpenSource Introduction):

Haskell-based CoinMetrics.io tools

These tools are used by CoinMetrics.io team for exporting data from blockchains into analytical databases and monitoring full nodes synchronization state.

Utilities

  • coinmetrics-export - utility for exporting data from blockchains in formats suitable for inserting into analytics databases (SQL, Avro).
  • coinmetrics-monitor - utility for monitoring blockchain nodes and providing Prometheus-compatible metrics.

Status

The project is being used in production at Coin Metrics, but many things are in flux or fragile, and docs may be outdated. Command line interface is more or less stable but may change. Please use with caution.

Supported blockchains:

Binaries

There're no stable releases yet. All binaries are "bleeding edge".

One easy way to run the tools is to use docker.

Pull the latest version:

docker pull coinmetrics/haskell-tools

Run e.g. coinmetrics-export tool:

docker run -it --rm --net host coinmetrics/haskell-tools coinmetrics-export <arguments>

Building from source

Building with Nix is recommended, because dependencies are fetched and built automatically.

With Nix

nix build -Lf ./release.nix bins

With Stack + Nix

stack build --nix

With Stack

stack build

Required dependencies: zlib, libpq.

Stellar export also requires xdrpp and Stellar XDR headers built with XDR compiler, which may be hard to build manually. By default Stellar support is enabled, so build will fail without them. You can disable Stellar support if you don't need it: stack build --flag coinmetrics-all-blockchains:-stellar. If you do need it, please use one of the Nix build methods above (with Stack or without).

The code is only tested on Linux (but maybe works on other OSes too).




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap