Just another simple blockchain implementation.
GET /balance GET /transactions POST /transactions| Parameter | Type | Description |
|---|---|---|
node_id |
int |
Required. Id of the receiver node |
amount |
int |
Required. Amount of BTC to send |
To run this project, you will need to add the following environment variables to your .env file or change the config.py file.
ENV
HOST
PORT
IS_BOOTSTRAP
BOOTSTRAP_HOST
BOOTSTRAP_PORT
MAX_USER_COUNT
BLOCK_CAPACITY
MINING_DIFFICULTY
Clone the project
git clone https://github.com/mariosker/noobcashor
gh repo clone mariosker/noobcashGo to the project directory
cd noobcashInstall dependencies
pip install -r backend/requirements.txt
pip install -r cli/requirements.txtChange the env/ config file and start the server
python backend/app.pyYou can also install it via docker:
cd infra
docker compose up
