A Taproot output that only its script can spend
The escrow holds the native PRL that backs, one for one, every PRL the bridge has released on Hyperliquid. It sits at a Taproot address, and a Taproot address can be spent two ways: with one key, or with a script it commits to.
- Key path
- Closed Its key is a point nobody knows the private key for.
- Script path
- Two signatures from three named keys.
Every Pearl node checks the script. A spend with one signature is an invalid transaction, and the network rejects it.
The script, for engineers
<key 1> OP_CHECKSIG
<key 2> OP_CHECKSIGADD
<key 3> OP_CHECKSIGADD ours
OP_2 OP_NUMEQUAL
- Output
- P2TR, script path only. Tapscript leaf, version 0xc0, in BIP 342's k-of-n form.
- Internal key
- BIP 341's nothing-up-my-sleeve point, 50929b74…803ac0. No private key is known, so the key path is dead.
- Key 3
- Ours. The configuration lists the guardians as mc-mining, pearl-swap, t-mining, and the script takes their Pearl keys in that order.