Skip to content

Example of using Ethers JS and MetaMask for ECDSA signature creation and verification

License

Notifications You must be signed in to change notification settings

web-dev-examples/ecdsa-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECDSA Tools

Example of using Ethers JS and MetaMask for ECDSA signature creation and verification

Byte size of Ecdsa Tools Open Issues Open Pull Requests Latest commits ecdsa-tools Demos GitHub Actions Build Status License



Requirements

Access to GitHub Actions if using on GitHub, or manually assigning environment variables prior to running npm test. NodeJS dependencies may be installed via NPM...

npm install

Quick Start

Clone this project...

Linux/MacOS

mkdir -vp ~/git/hub/web-dev-examples

cd ~/git/hub/web-dev-examples

git clone git@github.com:web-dev-examples/ecdsa-tools.git

Usage

  • Transpile TypeScript source code into JavaScript
    npm run ts-build
  • Transpile TypeScript and move third-party dependencies from node_modules/ to dist/
    npm run ci-build
  • Lint TypeScript source code
    npm run ts-lint
  • Start development server on http://localhost:8080
    npm run serve

Notes

This repository may not be feature complete and/or fully functional, Pull Requests that add features or fix bugs are certainly welcomed.


Contributing

Options for contributing to ecdsa-tools and web-dev-examples


Forking

Start making a Fork of this repository to an account that you have write permissions for.

  • Add remote for fork URL. The URL syntax is git@github.com:<NAME>/<REPO>.git...
cd ~/git/hub/web-dev-examples/ecdsa-tools

git remote add fork git@github.com:<NAME>/ecdsa-tools.git
  • Commit your changes and push to your fork, eg. to fix an issue...
cd ~/git/hub/web-dev-examples/ecdsa-tools


git commit -F- <<'EOF'
:bug: Fixes #42 Issue


**Edits**


- `<SCRIPT-NAME>` script, fixes some bug reported in issue
EOF


git push fork master

Note, the -u option may be used to set fork as the default remote, eg. git push -u fork master however, this will also default the fork remote for pulling from too! Meaning that pulling updates from origin must be done explicitly, eg. git pull origin master

  • Then on GitHub submit a Pull Request through the Web-UI, the URL syntax is https://github.com/<NAME>/<REPO>/pull/new/<BRANCH>

Note; to decrease the chances of your Pull Request needing modifications before being accepted, please check the dot-github repository for detailed contributing guidelines.


Sponsor

Thanks for even considering it!

Via Liberapay you may sponsor__shields_io__liberapay on a repeating basis.

Regardless of if you're able to financially support projects such as ecdsa-tools that web-dev-examples maintains, please consider sharing projects that are useful with others, because one of the goals of maintaining Open Source repositories is to provide value to the community.


Attribution


License

This project is licensed based on use-case

Commercial and/or proprietary use

If a project is either commercial or (||) proprietary, then please contact the author for pricing and licensing options to make use of code and/or features from this repository.


Non-commercial and FOSS use

If a project is both non-commercial and (&&) published with a license compatible with AGPL-3.0, then it may utilize code from this repository under the following terms.

Example of using Ethers JS and MetaMask for ECDSA signature creation and verification
Copyright (C) 2024 S0AndS0

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

For further details review full length version of AGPL-3.0 License.

About

Example of using Ethers JS and MetaMask for ECDSA signature creation and verification

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project