aboutsummaryrefslogtreecommitdiffstats
path: root/src/electrum.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-27 14:42:11 -0700
committerAdam Soltys <[email protected]>2026-06-27 14:42:11 -0700
commit1beae75ebd34142cc63342fbf7c8a798af45bb5a (patch)
tree96f2962305dd1169b7c475a6ef2e9fabb97b92aa /src/electrum.js
parent6c817756c5cca849864119405be9fa3f9e968057 (diff)
downloadcoinosv3-1beae75ebd34142cc63342fbf7c8a798af45bb5a.tar.gz
coinosv3-1beae75ebd34142cc63342fbf7c8a798af45bb5a.zip
Add regtest SP tweak indexer; accept Core's array-witness in inputPubKey
tools/sp-indexer.js: a minimal BIP-352 oracle (Bun) that walks Core and serves, per block, one entry per eligible tx — the tweak (input_hash*A) plus that tx's taproot outputs — for the wallet to scan on-device. Shares src/silentpay.js so the tweak math is the vector-validated code. Added to the regtest compose as the 'sp' service (oven/bun, pointed at bc:18443). inputPubKey now accepts a witness as either serialized hex (vectors) or an array of stack items (Core getblock RPC). Verified end-to-end on regtest: a real SP payment is indexed and the scan recovers the output, value, and spend tweak. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/electrum.js')
0 files changed, 0 insertions, 0 deletions