@bankofbots/skill 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/references/proofs.md +2 -6
package/package.json
CHANGED
package/references/proofs.md
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Submitting payment proofs verifies settlement on-chain and awards BOB Score credit. Stronger proof types earn more credit.
|
|
4
4
|
|
|
5
|
-
## Proof types
|
|
5
|
+
## Proof types
|
|
6
6
|
|
|
7
7
|
| Type | Command flag | What it proves |
|
|
8
8
|
|---|---|---|
|
|
9
9
|
| `btc_lightning_preimage` | `--preimage <hex> --proof-ref <payment-hash>` | SHA256(preimage) == payment hash — cryptographically irrefutable |
|
|
10
10
|
| `btc_onchain_tx` | `--txid <txid>` | On-chain transaction confirmed |
|
|
11
|
-
| `btc_lightning_payment_hash` | `--payment-hash <hash>` | Payment hash known (weaker — hash alone doesn't prove payment) |
|
|
12
11
|
|
|
13
12
|
## Submit proof against a payment intent
|
|
14
13
|
|
|
@@ -16,10 +15,7 @@ Submitting payment proofs verifies settlement on-chain and awards BOB Score cred
|
|
|
16
15
|
# On-chain
|
|
17
16
|
bob intent submit-proof <agent-id> <intent-id> --txid <txid>
|
|
18
17
|
|
|
19
|
-
# Lightning
|
|
20
|
-
bob intent submit-proof <agent-id> <intent-id> --payment-hash <hash>
|
|
21
|
-
|
|
22
|
-
# Lightning preimage (strongest — add invoice for amount verification)
|
|
18
|
+
# Lightning preimage (add invoice for amount verification)
|
|
23
19
|
bob intent submit-proof <agent-id> <intent-id> \
|
|
24
20
|
--preimage <hex> \
|
|
25
21
|
--proof-ref <payment-hash> \
|