Skip to content

aDudko/blockchain-cryptocurrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Cryptocurrency

A basic implementation of a blockchain and cryptocurrency application

Technologies

  • Python - version 3.12
  • pycryptodomex - crypto
  • requests - connection between network nodes
  • Flask for API
  • Vue3: SPA frontend on Vite
  • Docker - containerization
  • Docker-Compose - infrastructure for network
  • Blockchain - core blockchain and transaction logic

Structure of the project

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

Run in Docker

docker-compose up --build

Open in browser:

http://localhost:5001
http://localhost:5002
http://localhost:5003

Author:

Anatoly Dudko