UNPKG

@scure/sr25519

Version:

Audited & minimal implementation of sr25519 (polkadot) cryptography, with Merlin and Strobe

59 lines (58 loc) 1.53 kB
{ "name": "@scure/sr25519", "version": "0.2.0", "description": "Audited & 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.9.2", "@noble/hashes": "~1.8.0" }, "devDependencies": { "@paulmillr/jsbt": "0.4.0", "micro-bmark": "0.4.1", "micro-should": "0.5.3", "prettier": "3.5.2", "typescript": "5.8.3" }, "sideEffects": false, "author": "Paul Miller (https://paulmillr.com)", "license": "MIT", "homepage": "https://github.com/paulmillr/scure-sr25519", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/scure-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", "ed25519" ], "funding": "https://paulmillr.com/funding/" }