deviant/package.json
walerikus 40d19386d3 feat(t6): BCH channel-board HTLC contract + LN to T6 routing script
Adds the BchChannelBoardHTLC covenant and a chipnet LN-to-T6 routing test; pulls in bitcoinjs-lib/ecpair/tiny-secp256k1 for BTC-side channel work and registers the chipnet:dashboard npm script.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 22:12:30 +02:00

123 lines
6.9 KiB
JSON

{
"name": "deviant",
"version": "0.1.0",
"private": true,
"description": "BCH two-tier token economy platform — protocol swap, CashScript enforcement, hybrid A/B architecture. Pre-implementation per concept paper v0.1.",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "node --test --import tsx test/**/*.test.ts",
"test:regtest": "REGTEST=1 node --test --import tsx test/regtest/**/*.test.ts",
"regtest:dsweep": "node scripts/regtest-doublespend-sweep.mjs",
"scan": "node scripts/scan-code.mjs",
"snapshot": "node scripts/snapshot.mjs",
"compile:contracts": "node scripts/compile-contracts.mjs",
"chipnet:setup": "node scripts/chipnet-setup.mjs",
"chipnet:genesis": "node scripts/chipnet-genesis.mjs",
"chipnet:mint-a": "node scripts/chipnet-mint-A.mjs",
"chipnet:swap": "node scripts/chipnet-swap.mjs",
"chipnet:setup-b": "node scripts/chipnet-setup-b.mjs",
"chipnet:fund-b": "node scripts/chipnet-fund-b.mjs",
"chipnet:mint-by-b": "node scripts/chipnet-mint-by-b.mjs",
"chipnet:setup-c": "node scripts/chipnet-setup-c.mjs",
"chipnet:setup-d": "node scripts/chipnet-setup-d.mjs",
"chipnet:genesis-v": "node scripts/chipnet-genesis-vulnerable.mjs",
"chipnet:attack-drain": "node scripts/chipnet-attack-drain.mjs",
"chipnet:attack-rogue-nft": "node scripts/chipnet-attack-rogue-nft.mjs",
"chipnet:attack-negatives": "node scripts/chipnet-attack-negatives.mjs",
"chipnet:asm-genesis": "node scripts/chipnet-asm-genesis.mjs",
"chipnet:asm-claim": "node scripts/chipnet-asm-claim.mjs",
"chipnet:asm-send": "node scripts/chipnet-asm-send.mjs",
"chipnet:asm-batch": "node scripts/chipnet-asm-batch.mjs",
"chipnet:asm2-genesis": "node scripts/chipnet-asm2-genesis.mjs",
"chipnet:asm-swap": "node scripts/chipnet-asm-swap.mjs",
"chipnet:asm-bulk-swap": "node scripts/chipnet-asm-bulk-swap.mjs",
"chipnet:cap-genesis": "node scripts/chipnet-cap-genesis.mjs",
"chipnet:rogue-donate": "node scripts/chipnet-rogue-donate.mjs",
"chipnet:t001-genesis": "node scripts/chipnet-t001-genesis.mjs",
"chipnet:t001-attack": "node scripts/chipnet-t001-attack.mjs",
"chipnet:t001-verify": "node scripts/chipnet-t001-verify.mjs",
"chipnet:balances": "node scripts/chipnet-balances.mjs",
"chipnet:dashboard": "node scripts/dashboard-serve.mjs --port=5182",
"chipnet:mut-deploy": "node scripts/chipnet-mut-deploy.mjs",
"chipnet:mut-claim": "node scripts/chipnet-mut-claim.mjs",
"chipnet:mut-redeem": "node scripts/chipnet-mut-redeem.mjs",
"chipnet:mut-analyze": "node --import tsx scripts/chipnet-mut-analyze.mjs",
"chipnet:mut-run": "node scripts/chipnet-mut-run.mjs",
"chipnet:protocol-bounds": "node scripts/chipnet-protocol-bounds.mjs",
"chipnet:whitelist-test": "node --import tsx scripts/chipnet-whitelist-test.mjs",
"chipnet:fee-mutability-test": "node scripts/chipnet-fee-mutability-test.mjs",
"chipnet:escalating-test": "node --import tsx scripts/chipnet-escalating-test.mjs",
"chipnet:escalating-50pc": "node scripts/chipnet-escalating-50pc-test.mjs",
"chipnet:bonding-swap": "node scripts/chipnet-bonding-swap-test.mjs",
"chipnet:unbacked-swap": "node scripts/chipnet-unbacked-swap-test.mjs",
"chipnet:zero-zero-swap": "node scripts/chipnet-zero-zero-swap-test.mjs",
"chipnet:esc-source-swap": "node scripts/chipnet-escalating-source-swap-test.mjs",
"chipnet:swap-remainder": "node scripts/chipnet-swap-remainder-test.mjs",
"chipnet:denom-fee": "node scripts/chipnet-denomination-fee-test.mjs",
"chipnet:redeem-safety": "node scripts/chipnet-redeem-safety-test.mjs",
"registry:serve": "node --import tsx scripts/registry-serve.mjs",
"chipnet:lib-balances": "node --import tsx scripts/chipnet-lib-balances.mjs",
"chipnet:lib-send": "node --import tsx scripts/chipnet-lib-send.mjs",
"chipnet:lib-swap": "node --import tsx scripts/chipnet-lib-swap.mjs",
"chipnet:lib-claim": "node --import tsx scripts/chipnet-lib-claim.mjs",
"deviant": "node --import tsx scripts/deviant.mjs",
"deviant:web": "node --import tsx scripts/deviant-web.mjs",
"chipnet:escrow": "node scripts/chipnet-escrow-test.mjs",
"chipnet:escrow-fee": "node scripts/chipnet-escrow-fee-test.mjs",
"chipnet:escrow-fee-irregular": "node scripts/chipnet-escrow-fee-irregular-test.mjs",
"chipnet:escrow-flat": "node scripts/chipnet-escrow-flat-test.mjs",
"chipnet:che-escrow": "node scripts/chipnet-che-escrow-test.mjs",
"chipnet:che-escrow-perside": "node scripts/chipnet-che-escrow-perside-test.mjs",
"chipnet:oracle-markets": "node scripts/chipnet-oracle-markets-test.mjs",
"chipnet:tote4": "node scripts/chipnet-tote4-test.mjs",
"chipnet:opentote": "node scripts/chipnet-opentote-test.mjs",
"chipnet:tote2": "node scripts/chipnet-tote2-test.mjs",
"chipnet:tote2-mba": "node scripts/chipnet-tote2-mba-test.mjs",
"chipnet:tote2-rs": "node scripts/chipnet-tote2-rs-test.mjs",
"chipnet:tote2-rake": "node scripts/chipnet-tote2-rake-test.mjs",
"chipnet:tote2-mba-rake": "node scripts/chipnet-tote2-mba-rake-test.mjs",
"chipnet:tote2-k4": "node scripts/chipnet-tote2-k4-test.mjs",
"chipnet:clob-bch": "node scripts/chipnet-clob-bch-test.mjs",
"chipnet:clob-mba": "node scripts/chipnet-clob-mba-test.mjs",
"chipnet:clob-fungible": "node scripts/chipnet-clob-fungible-test.mjs",
"chipnet:clob-orders": "node scripts/chipnet-clob-orders-test.mjs",
"chipnet:clob-amm": "node scripts/chipnet-clob-amm-test.mjs",
"chipnet:oracle-vault": "node scripts/chipnet-oracle-vault-test.mjs",
"chipnet:expiring-mba": "node scripts/chipnet-expiring-mba-test.mjs",
"chipnet:poll": "node scripts/chipnet-poll-test.mjs",
"chipnet:poll-as-oracle": "node scripts/chipnet-poll-as-oracle-test.mjs",
"chipnet:tally-as-oracle": "node scripts/chipnet-tally-as-oracle-test.mjs",
"chipnet:stake-vote": "node scripts/chipnet-stake-vote-test.mjs",
"chipnet:phase-a": "node scripts/chipnet-phase-a-test.mjs",
"chipnet:phase-b": "node scripts/chipnet-phase-b-test.mjs",
"chipnet:phase-c": "node scripts/chipnet-phase-c-test.mjs",
"chipnet:phase-d": "node scripts/chipnet-phase-d-test.mjs",
"chipnet:phase-e": "node scripts/chipnet-phase-e-test.mjs",
"chipnet:endorsement": "node scripts/chipnet-endorsement-test.mjs",
"chipnet:phase-f": "node scripts/chipnet-phase-f-test.mjs"
},
"dependencies": {
"@bitauth/libauth": "3.1.0-next.8",
"@noble/curves": "^1.6.0",
"@noble/hashes": "^1.5.0",
"@psf/bch-js": "^7.1.14",
"bip39": "^3.1.0",
"bitcoinjs-lib": "^7.0.1",
"cashscript": "0.12.1",
"ecpair": "^3.0.1",
"mainnet-js": "3.1.7",
"solc": "^0.8.35",
"tiny-secp256k1": "^2.2.4",
"tronweb": "^6.3.0"
},
"devDependencies": {
"@types/node": "^20.11.0",
"cashc": "0.12.1",
"tsx": "^4.7.0",
"typescript": "^5.4.0"
},
"engines": {
"node": ">=20.0.0"
}
}