不知道有没有人需要 (~~并没有~~)
地址: https://github.com/HydroProtocol/nights-watch
内部好几个 production 的服务用到了这个组件,对有类似需求的同学,用起来应该挺顺手的

不知道有没有人需要 (~~并没有~~)
地址: https://github.com/HydroProtocol/nights-watch
内部好几个 production 的服务用到了这个组件,对有类似需求的同学,用起来应该挺顺手的
方便上手,加了个 docker image,来展示这个 lib 能做些什么
比如监控 USDT 的转账事件
docker run diveinto/nights-watch:master /bin/nights-watch usdt-transfer 
更多见 help
docker run diveinto/nights-watch:master /bin/nights-watch help 
1 ob Dec 27, 2019 via Android 数据来源哪个节点? |
2 diveinto OP @ob 需要自己配置以太坊节点,可以用 [infura]( https://infura.io/) 提供的免费节点,也可以自己跑以太坊的 Node |
4 diveinto OP 比如我们需要监控特定合约里新产生的交易事件,用我们这个库只需要配置好合约地址和事件 Hash 即可,这样用这个库的人就可以专注写自己的业务逻辑。 例如这里 https://github.com/HydroProtocol/nights-watch/blob/master/watcher_with_receipt_logs_plugin_test.go#L22:L28 |
5 lxzhtxh13 Dec 29, 2019 看起来都好高深的样子 |
6 pynix Oct 16, 2020 交易所充值监控。。 |