UNPKG

micro-sr25519

Version:

Minimal implementation of sr25519 (polkadot) cryptography, with Merlin and Strobe

58 lines (57 loc) 1.51 kB
{ "name": "micro-sr25519", "version": "0.1.3", "description": "Minimal implementation of sr25519 (polkadot) cryptography, with Merlin and Strobe", "files": [ "lib", "index.ts" ], "main": "lib/index.js", "module": "lib/esm/index.js", "types": "lib/index.d.ts", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/index.js" } }, "dependencies": { "@noble/curves": "~1.8.0", "@noble/hashes": "~1.7.1" }, "devDependencies": { "@paulmillr/jsbt": "0.3.3", "micro-bmark": "0.4.0", "micro-should": "0.5.1", "prettier": "3.5.2", "typescript": "5.8.2" }, "sideEffects": false, "author": "Paul Miller (https://paulmillr.com)", "license": "MIT", "homepage": "https://github.com/paulmillr/micro-sr25519", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/micro-sr25519.git" }, "scripts": { "build": "tsc && tsc -p tsconfig.cjs.json", "build:release": "npx jsbt esbuild test/build", "bench": "cd test/benchmark; npm i; node index.js", "lint": "prettier --check index.ts test/*.test.js", "format": "prettier --write index.ts test/*.test.js", "test": "node test/index.js", "test:bun": "bun test/index.js", "test:deno": "deno --allow-env --allow-read test/index.js" }, "keywords": [ "sr25519", "polkadot", "merlin", "strobe", "schnorr", "schnorrkel", "ristretto" ], "funding": "https://paulmillr.com/funding/" }