Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruanbekker/blockchain-testnet-weekend-project
Weekend Project to tinker with Blockchain and Transactions
https://github.com/ruanbekker/blockchain-testnet-weekend-project
bitcoin blockchain cryptocurrency dash dogecoin grafana groestlcoin litecoin mongodb python
Last synced: 18 days ago
JSON representation
Weekend Project to tinker with Blockchain and Transactions
- Host: GitHub
- URL: https://github.com/ruanbekker/blockchain-testnet-weekend-project
- Owner: ruanbekker
- Created: 2021-10-04T10:00:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T12:06:39.000Z (over 2 years ago)
- Last Synced: 2025-01-01T13:47:27.698Z (24 days ago)
- Topics: bitcoin, blockchain, cryptocurrency, dash, dogecoin, grafana, groestlcoin, litecoin, mongodb, python
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blockchain-testnet-weekend-project
Weekend Project to tinker with Blockchain and Transactions## About
I wanted to host different cryptocurrency full nodes running on the testnet's with wallets enabled on my raspberry pi's:
- node1: bitcoin
- node2: litecoin
- node3: dogecoin
- node4: dash
- node5: groestlcoinThen when all of them were synced (with 2GB pruned to save disk space) create wallets and addresses for each cryptocurrency, then start cpu mining using `generatetoaddress` and build up some funds.
During this process I interacted with the json-rpc interface and used Pushgateway and Prometheus, to graph dashboards on Grafana of the incoming balances over time as well as the current balances:
![image](https://user-images.githubusercontent.com/567298/135833192-2750bae4-245c-4bf2-9d37-6515cd92f5ba.png)
After that I interacted with the `walletnotify` option to notify myself everytime I get a incoming transaction, where the flow would be:
- Wallet notify captures the transaction id with `%s`
- Python script interacts with the blockchain to determine if the tx has more than 2 confirmations
- Once it has enough confirmations, I get the info such as amount, balance, etc then I log it to MongoDB
- Once I have written the transaction details to MongoDB I send myself a notification on Pushover on my phone
- I then decided to develop a small Python Flask WebUI that pulls the information from MongoDBMore information on how i've setup these nodes, scripts and code will be published to this repo.
WIP