Skip to content

julienbrs/minimal-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub LinkedIn


Table of Contents

About the project

Simple blockchain project node using ECDSA technology that demonstrates the power of public key cryptography in securing transactions between local accounts. With this project, you can safely transfer funds locally from one account to another using digital signatures, which ensure that only the user with the appropriate private key can authorize a transaction.

Logo

Features

  • Public key cryptography: Transactions are secured using digital signatures that verify the identity of the sender.
  • Private key ownership verification: Users must verify that they own the private key corresponding to the address that is sending funds.
  • Centralized server: Transactions are processed by a single server, which ensures consistency and security.
  • Local Wallet: Users can create a wallet and store their private key locally.
  • Transaction history: Users can view their transaction history and balances: To be implemented

Limitations

  • Trust in server operator: Since the server is centralized, users must trust the operator not to act maliciously.
  • Centralization: The centralized nature of the server may limit scalability and decentralization efforts.
  • Simplified implementation: This project is intended as a learning exercise and does not include all the features or complexities of a real-world blockchain.

How to get started

Client

The client folder contains a react app using vite. To get started, follow these steps:

  1. Open up a terminal in the /client folder
  2. Run npm install to install all the depedencies
  3. Run npm run dev to start the application
  4. Now you should be able to visit the app at http://127.0.0.1:5173/

Server

The server folder contains a node.js server using express. To run the server, follow these steps:

  1. Open a terminal within the /server folder
  2. Run npm install to install all the depedencies
  3. Run node index to start the server

The application should connect to the default server port (3042) automatically!

  • Use nodemon instead of node to automatically restart the server on any changes.

Ressources

License

This project is licensed under the MIT License

Contact

Bourseau Julien - 2nd year student at Ensimag, 2022 - Linkedin

Project Link: Minimal-blockchain

About

Simple centralized blockchain running on a single node using ECDSA technology

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published