Skip to content

Shubhamkunwar10/ethereum-signature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth_signer

This project demonstrates how to sign and verify data using ECDSA (Elliptic Curve Digital Signature Algorithm) in Node.js with TypeScript.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (version 14.x or later)
  • npm (version 6.x or later)

Installation

Install dependencies using npm:

npm install

Usage

Development

To run the project in development mode with automatic rebuilds on file changes, use:

npm run dev

Production

To build the project and run the compiled JavaScript code, use:

npm start

Testing

To run tests, first build the project, then run the tests:

npm test

Project Structure

eth_signer/
├── dist/              # Compiled TypeScript code
├── src/               # Source files
│   ├── dataTypes/
│   │   ├── interfaces.ts
│   ├── utils/
│   │   ├── keyGeneration.ts
│   │   ├── signing.ts
│   │   └── verification.ts
│   └── index.ts       # Main application entry point
├── tests/             # Unit tests
│   └── signAndVerify.test.ts
├── .gitignore
├── package.json
├── README.md          # Project documentation
└── tsconfig.json      # TypeScript configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published