Ethereum Public Key Verification For ECDSA
This project is an example of verifying a private key to a public key verification to for a public address. This makes use of the React framework, Axios, ethereum-cryptography components among others.
There are two parts. The client and the server.
Here are the installation steps.
A project folder must be created to store the files.
This connects the Vite SSR (Server Side Rendering) front-end for React.
- From a terminal window open your project folder.
- Go to the
/client
folder. - Run
npm install
which installs the dependencies needed. - Run
npm run dev
to start application in development mode, - The app can be opened at http://127.0.0.1:5173/ (localhost).
This starts the node server running at port 3042.
- From a terminal window open your project folder.
- Go to the
/server
folder - Run
npm install
to install all the depedencies - Run
npx nodemon index
to start the server
Note: To use nodemon, you must install it first (npm i nodemon)
There is also a test transaction that allows accounts to send funds to another account. Must be defined in the index.js file (in the server folder).