Skip to content

ohanovdmytro/ecdsa-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ECDSA Node

This project is an example of using a client and server to facilitate transfers between different addresses. Since there is just a single server on the back-end handling transfers, this is clearly very centralized. Consensus is not important by this part of project.

However, something that I would like to incoporate is Public Key Cryptography. By using Elliptic Curve Digital Signatures we can make it so the server only allows transfers that have been signed for by the person who owns the associated address.

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!

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

PRIVATE KEYS (WALLETS) FOR THIS APP

  1. 93717cbae487c72b37cc8abbffae6b05df35d96c5664e580ab854ac423965867
  2. 94dc9cb30ee066d6daac89aa2a338cdd49f1d21e6689cd33eb078461bb0b4fca
  3. e844e9d11d536935e77a69e012c263b493bbbf729988282c0e06daaf2353d9aa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.1%
  • SCSS 20.6%
  • HTML 5.3%