UNPKG

@scure/starknet

Version:

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

62 lines (61 loc) 1.55 kB
{ "name": "@scure/starknet", "version": "1.1.0", "description": "Audited & minimal implementation of Starknet cryptography including Pedersen and Stark Curve", "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.7.0", "@noble/hashes": "~1.6.0" }, "devDependencies": { "@paulmillr/jsbt": "0.2.1", "@scure/base": "~1.2.1", "@scure/bip32": "~1.6.0", "@scure/bip39": "~1.5.0", "fast-check": "3.0.0", "micro-bmark": "0.3.1", "micro-should": "0.4.0", "prettier": "3.3.2", "typescript": "5.5.2" }, "sideEffects": false, "browser": { "crypto": false }, "author": "Paul Miller (https://paulmillr.com)", "license": "MIT", "homepage": "https://github.com/paulmillr/scure-starknet", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/scure-starknet.git" }, "scripts": { "build": "tsc && tsc -p tsconfig.esm.json", "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.test.js" }, "keywords": [ "starknet", "stark curve", "pedersen hash", "stark key", "starkware", "starkex", "cryptography" ], "funding": "https://paulmillr.com/funding/" }