Skip to content

cyio/blockchain-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockchain-monitor

功能

监视指定 BSV/BCH/BTC 地址,有新收歀时,发一条通知,支持微信和 Telegram

image

安装

$ git clone https://github.com/cyio/block-monitor
$ npm install

配置

  1. 复制配置模板
$ cp config.json.template config.json

配置说明

  • address_type 要监视的地址类型,bsv 或 bch 或 btc
  • server_chan_key 需要你配置 Server酱,并提到专属 key ,默认为空。配置方生效
  • telegram_bot_keytelegram_chat_id",请参考 Telegram Bot Api 文档设置
{
  "address_type": "bsv",
  "server_chan_key": "",
  "telegram_bot_key": "",
  "telegram_chat_id": ""
}
  1. 创建文件./node_modules/addresses.txt 一行一个地址,支持 legacy 和 cashAddress

持久运行(需另行配置 pm2 或类似工具)

pm2 start index.js --watch --name 'blockchain-monitor'

About

监视指定 BSV/BCH/BTC 地址,有新收歀时,发一条微信或 Telegram 通知

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published