Skip to content

nikosevag/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Implementation in TypeScript

A basic blockchain implementation built with TypeScript for learning purposes. This portfolio project demonstrates core blockchain concepts including a cryptocurrency system with wallets, mining, and P2P networking capabilities.

🎯 About This Project

This is an educational project created to understand and demonstrate fundamental blockchain concepts. It serves as a practical way to learn about blockchain technology and cryptocurrency systems while showcasing TypeScript development skills.

🚀 Features

  • Blockchain Core

    • Basic Proof of Work consensus mechanism
    • Block validation and chain integrity verification
    • Difficulty adjustment
    • Cryptographic hashing
  • Cryptocurrency System

    • Simple wallet creation and management
    • Digital signatures using elliptic curve cryptography
    • Basic transaction creation and validation
    • UTXO (Unspent Transaction Output) model implementation
  • Networking

    • Basic P2P network communication
    • Node synchronization
    • Block and transaction propagation
    • REST API for blockchain interaction
  • Mining

    • Basic block mining with rewards
    • Transaction pool management
    • Mining difficulty adjustment

🛠️ Technology Stack

  • TypeScript
  • Node.js
  • Express.js
  • WebSocket (ws)
  • crypto-js
  • elliptic (for cryptographic operations)

📦 Installation

  1. Clone the repository:
git clone https://github.com/nikosevag/blockchain.git
cd blockchain
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start the application:
npm start

📄 License

MIT License

⚠️ Disclaimer

This is a learning project intended for educational purposes and portfolio demonstration. It implements basic blockchain concepts but should not be used in production as it lacks many security features and optimizations found in production blockchain systems.

About

A basic blockchain implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors