https://github.com/r3drun3/crypto-balance-app
💎 PERSONAL CRYPTOCURRENCY BALANCE APP 💰
https://github.com/r3drun3/crypto-balance-app
bitcoin cryptocurrency docker-compose ethereum fastapi
Last synced: 10 months ago
JSON representation
💎 PERSONAL CRYPTOCURRENCY BALANCE APP 💰
- Host: GitHub
- URL: https://github.com/r3drun3/crypto-balance-app
- Owner: R3DRUN3
- License: mit
- Archived: true
- Created: 2022-10-13T14:57:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-13T15:16:21.000Z (over 3 years ago)
- Last Synced: 2025-04-21T10:03:10.468Z (about 1 year ago)
- Topics: bitcoin, cryptocurrency, docker-compose, ethereum, fastapi
- Language: Python
- Homepage:
- Size: 371 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💎 PERSONAL CRYPTOCURRENCY BALANCE APP 💰
## Abstract
This repo contains a PoC for a web app through which you can check the real-time balance and value of your cryptocurrency assets.
This PoC in particular focuses on *Bitcoin* (₿) and *Ethereum* (⟠).
This can be a usefull app to have running 24/24 - 7/7 (for example) on a raspberrypi
and ready to to be consulted whenever you need it through a web browser.
## Prerequisites
* At least one *Bitcoin* wallet with some balance in it
* At least one *Ethereum* wallet with some balance in it
* A CoinMarketCap API KEY (register for free)
## Usage
Clone this repo:
```console
git clone https://github.com/R3DRUN3/crypto-balance-app.git && cd crypto-balance-app
```
Edit the *app.py* file with your editor of choice and modify `BTC_ADDRESS_LIST`
and `ETH_ADDRESS_LIST` to add your wallets addresses (you can put one or many as they are lists).
Launch the app with docker compose:
```console
docker-compose up
```
Or launch the app with python:
```console
python3 app.py
```
Next go to `http://localhost:4321/wallet` and check your balance! 💰

Refresh the page whenever you want to see the updated balance.
## To do next
* Treat the wallet addresses and the api key as secrets and inject them by following best practices
* Implement proper authentication to the web-app
* Expand on this template to build a production grade crypto balance app!