UNPKG

@polkadot-labs/hdkd

Version:

Hierarchical deterministic (HD) account derivation library compatible with the Polkadot and Substrate ecosystems, supporting the sr25519, ed25519, and ecdsa signature schemes.

52 lines 1.56 kB
{ "name": "@polkadot-labs/hdkd", "version": "0.0.26", "description": "Hierarchical deterministic (HD) account derivation library compatible with the Polkadot and Substrate ecosystems, supporting the sr25519, ed25519, and ecdsa signature schemes.", "type": "module", "main": "./dist/index.cjs", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.js" } }, "keywords": [ "sr25519", "ed25519", "ecdsa", "hdkd", "ss58", "bip39", "schnorrkel", "polkadot", "substrate" ], "author": "kratico (https://github.com/kratico)", "repository": { "type": "git", "url": "https://github.com/polkadot-labs/hdkd.git" }, "license": "MIT", "files": [ "dist" ], "devDependencies": { "@noble/curves": "^2.0.1", "@substrate/ss58-registry": "^1.51.0", "execa": "^9.6.1", "@total-typescript/tsconfig": "^1.0.4", "tsup": "^8.5.1", "typescript": "^5.9.3", "vite-plugin-wasm": "^3.5.0" }, "dependencies": { "@polkadot-labs/hdkd-helpers": "~0.0.27" }, "scripts": { "build": "tsc --noEmit && tsup-node src/index.ts --clean --sourcemap --format esm,cjs --platform node --target esnext --dts", "test": "vitest", "lint": "biome check && prettier --check \"*.md\"", "generate-subkey-test-cases": "node scripts/generate-subkey-inspect-test-cases.js > test/subkey-inspect-test-cases.json && node scripts/generate-subkey-sign-test-cases.js > test/subkey-sign-test-cases.json" } }