@scure/starknet
Version:
Audited & minimal implementation of Starknet cryptography including Pedersen and Stark Curve
65 lines (64 loc) • 1.7 kB
JSON
{
"name": "@scure/starknet",
"version": "1.1.2",
"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.9.0",
"@noble/hashes": "~1.8.0"
},
"devDependencies": {
"@paulmillr/jsbt": "0.3.3",
"@scure/base": "~1.2.4",
"@scure/bip32": "~1.7.0",
"@scure/bip39": "~1.6.0",
"fast-check": "4.1.1",
"micro-bmark": "0.4.2",
"micro-should": "0.5.3",
"prettier": "3.5.3",
"typescript": "5.8.3"
},
"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.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": [
"starknet",
"stark curve",
"pedersen hash",
"stark key",
"starkware",
"starkex",
"cryptography"
],
"funding": "https://paulmillr.com/funding/"
}