MPP channel mode
| Function | Checks | Cost |
|---|---|---|
runMppChannelSuite({ target, commitmentSecretHex, network, rpcUrl?, channelOverride?, expected?, allowDestructive?, destructiveChannel? }) | MPP-10–12, 14 free; MPP-13 when allowDestructive is set | MPP-13 permanently closes the channel |
expected is Partial<{ token, from, to, refundWaitingPeriod }> —
MPP-10's on-chain parameter assertions. channelOverride asserts which
channel to inspect; the target's own 402 challenge is authoritative, so a
mismatch fails MPP-10 rather than silently inspecting two contracts.
