UNPKG

solana-mpc-tss-lib

Version:

A comprehensive TypeScript library for Solana Multi-Party Computation (MPC) and Threshold Signature Schemes (TSS) - Compatible with ZenGo-X/solana-tss

81 lines (80 loc) 2.2 kB
{ "name": "solana-mpc-tss-lib", "version": "1.0.2", "description": "A comprehensive TypeScript library for Solana Multi-Party Computation (MPC) and Threshold Signature Schemes (TSS) - Compatible with ZenGo-X/solana-tss", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./pkg/*": "./pkg/*" }, "files": [ "dist", "pkg", "pkg/ed25519_tss_wasm.js", "pkg/ed25519_tss_wasm_bg.wasm", "pkg/ed25519_tss_wasm.d.ts", "pkg/ed25519_tss_wasm_bg.wasm.d.ts", "README.md", "CHANGELOG.md" ], "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts", "dev": "tsup src/index.ts --format cjs,esm --dts --watch", "test": "jest", "test:watch": "jest --watch", "test:usage": "node examples/simple-test.cjs", "typecheck": "tsc --noEmit", "example": "npx tsx examples/tss-example.ts", "prepublishOnly": "npm run wasm:build && npm run build && npm test", "clean": "rm -rf dist", "wasm:build": "wasm-pack build ed25519_tss_wasm --release --target bundler --out-dir ../pkg --out-name ed25519_tss_wasm" }, "keywords": [ "solana", "mpc", "tss", "threshold-signatures", "multi-party-computation", "blockchain", "cryptography", "ed25519", "wasm", "typescript" ], "author": "asvinshrivas", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/kiralightyagami/solana-mpc-tss.git" }, "bugs": { "url": "https://github.com/kiralightyagami/solana-mpc-tss/issues" }, "homepage": "https://github.com/kiralightyagami/solana-mpc-tss#readme", "engines": { "node": ">=16.0.0" }, "dependencies": { "@solana/web3.js": "^1.95.4", "tweetnacl": "^1.0.3" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.10.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "tsup": "^8.3.5", "tsx": "^4.19.2", "typescript": "^5.7.2" }, "peerDependencies": { "@solana/web3.js": "^1.95.0" } }