UNPKG

@covenance/dlc

Version:

Crypto and Bitcoin functions for Covenance DLC implementation

49 lines (48 loc) 1.44 kB
{ "name": "@covenance/dlc", "version": "0.1.15", "description": "Crypto and Bitcoin functions for Covenance DLC implementation", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc && cp -r src/btc dist/", "test": "mocha -r ts-node/register tests/**/*.test.ts tests/*.test.ts", "test:heavy": "TEST_HEAVY=true mocha -r ts-node/register tests/**/*.test.ts tests/*.test.ts", "test:coverage": "c8 --exclude 'src/btc/**' --exclude 'src/crypto/secp256k1.ts' --exclude 'tests/**' npm run test", "lint": "eslint . --ext .ts", "benchmark": "ts-node benchmarks/adaptor-signatures.ts && ts-node benchmarks/cet-creation.ts", "prepare": "npm run build" }, "keywords": [ "bitcoin", "dlc", "crypto", "schnorr", "adaptor-signatures" ], "author": "", "license": "MIT", "dependencies": { "@cmdcode/tapscript": "^1.5.3", "bech32": "=2.0.0", "bn.js": "=4.11.8", "bs58": "^4.0.1", "buffer": "^6.0.3", "buffer-compare": "=1.1.1", "elliptic": "^6.5.3", "inherits": "=2.0.1", "lodash": "^4.17.20" }, "devDependencies": { "@types/chai": "^4.3.5", "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "c8": "^7.13.0", "chai": "^4.3.7", "eslint": "^8.39.0", "mocha": "^10.2.0", "ts-node": "^10.9.1", "typescript": "^5.0.4" } }