Initial version that works

Includes the needed methods to do the full flow:
- newKeyPair
- newRequestParameters
- blind
- blindSign
- unblind
- verify
This commit is contained in:
arnaucube
2021-02-03 23:06:50 +01:00
commit 6b873054d5
7 changed files with 2356 additions and 0 deletions

22
package.json Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "blindsecp256k1",
"version": "0.0.1",
"description": "Blind signatures over secp256k1, compatible with https://github.com/arnaucube/go-blindsecp256k1",
"main": "src/index.js",
"scripts": {
"browserify": "browserify src/index.js --standalone blindsecp256k1 > blindsecp256k1-browser.js",
"test": "mocha"
},
"author": "arnaucube",
"license": "GPL-3.0",
"dependencies": {
"bigi": "^1.1.0",
"bignumber.js": "7.0.2",
"ecurve": "1.0.0",
"@ethersproject/keccak256": "5.0.7"
},
"devDependencies": {
"browserify": "^16.5.0",
"mocha": "^5.2.0"
}
}