React frontend that communicates with a Node.js server responsible for transferring balances between addresses by creating digital signatures with the appropriate private keys and verifying them on the backend.
It uses the Ethereum Cryptography library, specifically the elliptic curve operations on the curve secp256k1.
Client (React, Vite, Tailwind CSS)
- Open the /clientfolder from terminal.
- Run npm installto install all the dependencies.
- Run npm run devto start the application .
- Visit the application at http://127.0.0.1:5173/.
Server (Express)
- 
Open the /serverfolder from terminal.
- 
Run npm installto install all the dependencies.
- 
Get private key/address pairs by running npm run generateand copy them intoaccounts.config.jsonusing the JSON structure below:{ "address_1": { "label": "Account 1", "balance": 10, "privateKey": "privateKey_1" }, "address_2": { "label": "Account 2", "balance": 20, "privateKey": "privateKey_2" } }
- 
Run npm run devto start the server.
