UNPKG

@scure/starknet

Version:

Audited & minimal implementation of Starknet cryptography including Pedersen and Stark Curve

66 lines (65 loc) 1.91 kB
{ "name": "@scure/starknet", "version": "2.2.0", "description": "Audited & minimal implementation of Starknet cryptography including Pedersen and Stark Curve", "files": [ "index.js", "index.js.map", "index.d.ts", "index.d.ts.map", "index.ts" ], "dependencies": { "@noble/curves": "~2.2.0", "@noble/hashes": "~2.2.0" }, "devDependencies": { "@paulmillr/jsbt": "0.5.0", "@scure/base": "2.2.0", "@scure/bip32": "2.2.0", "@scure/bip39": "2.2.0", "@types/node": "25.3.0", "fast-check": "4.2.0", "prettier": "3.6.2", "typescript": "6.0.2" }, "scripts": { "build": "tsc", "build:release": "npx --no @paulmillr/jsbt esbuild test/build", "check": "npx --no @paulmillr/jsbt check package.json", "check:readme": "npx --no @paulmillr/jsbt readme package.json", "check:treeshake": "npx --no @paulmillr/jsbt treeshake package.json test/build/out-treeshake", "check:jsdoc": "npx --no @paulmillr/jsbt tsdoc package.json", "bench": "cd test/benchmark; npm i; node index.js", "format": "prettier --write index.ts test/*.test.ts", "test": "node test/index.ts", "test:bun": "bun test/index.ts", "test:deno": "deno --allow-env --allow-read test/index.ts", "test:node20": "cd test; npx tsc; node compiled/test/index.js" }, "engines": { "node": ">= 20.19.0" }, "keywords": [ "starknet", "stark curve", "pedersen hash", "stark key", "starkware", "starkex", "cryptography" ], "homepage": "https://paulmillr.com/noble/#scure", "funding": "https://paulmillr.com/funding/", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/scure-starknet.git" }, "type": "module", "main": "index.js", "module": "index.js", "types": "index.d.ts", "sideEffects": false, "author": "Paul Miller (https://paulmillr.com)", "license": "MIT" }