A basic implementation of a blockchain and cryptocurrency application
Python- version 3.12pycryptodomex- cryptorequests- connection between network nodesFlaskfor APIVue3: SPA frontend onViteDocker- containerizationDocker-Compose- infrastructure for networkBlockchain- core blockchain and transaction logic
blockchain-cryptocurrency/
├── app.py # Flask API
├── compose.yml # Docker Compose
├── Dockerfile # Docker config
├── src/ # Blockchain logic
| ├── utils # Helpers
│ ├── block.py
│ ├── blockchain.py
│ ├── transaction.py
│ ├── wallet.py
│ └── __init__.py
└── templates/ # Vue frontend
├── src/
│ ├── components/
│ ├── assets/
│ ├── main.js
│ ├── App.vue
│ └── style.css
├── public/
├── package.json
├── vite.config.js
├── index.html
└── .env
docker-compose up --buildOpen in browser:
http://localhost:5001
http://localhost:5002
http://localhost:5003
Anatoly Dudko