Bitcoin Transaction Watcher Slack Bot
Slack bot that will watch the bitcoin transactions based on ID
- can watch on mainnet/testnet/signet, will use mainnet as default
- has a dependency on mempool.space to keep track of the transactions and be notified when a new block comes in
Follow along with this tutorial for how to include this bot into your channel & get the required .env values (the needed permissions will be the same as the ‘Slack Events API Call’ bot): https://www.bacancytechnology.com/blog/develop-slack-bot-using-golang
Install:
git clone [email protected]:tee8z/tx-tracker.git
go mod tidy
Run (make sure to change default.env to .env & update the values first):
go run cmd/main.go
NOTE:
- If the bot goes down, the state of all transactions being watched will be saved in a .bin file & it will be reloaded on the next successful startup