Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubhamprajapati7748/ecdsa-node
https://github.com/shubhamprajapati7748/ecdsa-node
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shubhamprajapati7748/ecdsa-node
- Owner: shubhamprajapati7748
- Created: 2023-05-10T09:20:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-10T09:20:44.000Z (over 1 year ago)
- Last Synced: 2024-12-08T13:29:25.825Z (about 2 months ago)
- Language: JavaScript
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 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. We won't worry about distributed consensus for this project.
However, something that we 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.
### Video instructions
For an overview of this project as well as getting started instructions, check out the following video:https://www.loom.com/share/0d3c74890b8e44a5918c4cacb3f646c4
### ClientThe client folder contains a [react app](https://reactjs.org/) using [vite](https://vitejs.dev/). 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](https://expressjs.com/). 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 serverThe application should connect to the default server port (3042) automatically!
_Hint_ - Use [nodemon](https://www.npmjs.com/package/nodemon) instead of `node` to automatically restart the server on any changes.