WizardConnect/docs
Dagur Valberg Johannsson c8c1000ae7 Add multislot extension: multiple sig/pubkey placeholders per input
Extend inputPaths tuples with an optional 4th `slot` element so a single
contract input can carry several sig/pubkey placeholders, each filled by
a different key. Gated behind a `multislot` capability the wallet
advertises in wallet_ready (session["hdwalletv1"].extensions.multislot);
dapps must not send slotted/repeated-index requests otherwise.

- core: widen inputPaths to [number, PathName, number, number?]; accept
  3- or 4-tuples (non-negative integer slot) in isSignTransactionRequest;
  add EXT_MULTISLOT constant.
- wallet: fix extractContractSighashBytes so a filled pubkey placeholder
  is no longer mis-read as a signature (only signature-length pushes
  carry a sighash flag); export validateSighashFlags / isP2PKH.
- docs: protocol.md (slot semantics, placeholder byte format, capability
  negotiation, SIGHASH 0x41/0x61 reconciliation), extensions.md
  (multislot), wallet.md, dapp.md.
- tests: multislot-signing.test.ts reference fill; sighash-validation
  pubkey-placeholder regression + slot cases; validator slot accept/
  reject; integration repeated-index-with-slots passthrough.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 09:21:24 +02:00
..
connection-uri.md Add additional default relay 2026-04-14 08:42:34 +02:00
dapp.md Add multislot extension: multiple sig/pubkey placeholders per input 2026-06-22 09:21:24 +02:00
extensions.md Add multislot extension: multiple sig/pubkey placeholders per input 2026-06-22 09:21:24 +02:00
index.md Add 'extensions' to hdwalletv1 protocol 2026-03-26 10:50:40 +01:00
protocol.md Add multislot extension: multiple sig/pubkey placeholders per input 2026-06-22 09:21:24 +02:00
pubkey-derivation.md First commit for WizardConnect 2026-03-06 11:38:09 +01:00
react.md Add session persistence and refactor dapp manager 2026-04-03 17:11:18 +02:00
serialization.md Add serialization helpers to @wizardconnect/core 2026-03-23 08:59:02 +01:00
transport.md Add chunk transport extension for oversized messages 2026-04-21 14:58:12 +02:00
wallet.md Add multislot extension: multiple sig/pubkey placeholders per input 2026-06-22 09:21:24 +02:00
xpub-sharing.md doc: An article on xpub sharing 2026-03-17 14:47:04 +01:00