Skip to content

Commit ec0e812

Browse files
authored
Merge pull request #4 from shawnxie999/ct-change-pc
Correct commitment field names
2 parents ae5488b + 0ae7fb4 commit ec0e812

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

xls-draft-confidential-mpt/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ Performs a confidential transfer of MPT value between accounts while keeping the
270270
| `DestinationEncryptedAmount` | ✔️ | `string` | `Blob` | Ciphertext credited to the receiver's inbox balance. |
271271
| `IssuerEncryptedAmount` | ✔️ | `string` | `Blob` | Ciphertext used to update the issuer mirror balance. |
272272
| `ZKProof` | ✔️ | `string` | `Blob` | ZKP bundle establishing equality, linkage, and range sufficiency. |
273-
| `PedersenCommitment` | ✔️ | `string` | `Blob` | A cryptographic commitment to the user's confidential spending balance. |
273+
| `BalanceCommitment` | ✔️ | `string` | `Blob` | A cryptographic commitment to the user's confidential spending balance. |
274+
| `AmountCommitment` | ✔️ | `string` | `Blob` | A cryptographic commitment to the amount being transferred. |
274275
| `AuditorEncryptedAmount` | | `string` | `Blob` | Ciphertext for the auditor. **Required** if `sfAuditorElGamalPublicKey` is present on the issuance. |
275276

276277
### 7.2 Use Cases
@@ -312,7 +313,8 @@ If the transaction is successful:
312313
"MPTokenIssuanceID": "610F33B8EBF7EC795F822A454FB852156AEFE50BE0CB8326338A81CD74801864",
313314
"SenderEncryptedAmount": "AD3F...",
314315
"DestinationEncryptedAmount": "DF4E...",
315-
"PedersenCommitment": "038A...",
316+
"BalanceCommitment": "038A...",
317+
"AmountCommitment": "049B...",
316318
"IssuerEncryptedAmount": "BC2E...",
317319
"ZKProof": "84af..."
318320
}
@@ -408,7 +410,7 @@ return (R = r·G, S = r·Pk), Pk: ElGamal public key of Acct
408410
| `IssuerEncryptedAmount` | ✔️ | `string` | `Blob` | Ciphertext to be subtracted from the issuer's mirror balance. |
409411
| `BlindingFactor` | ✔️ | `string` | `Blob` | The 32-byte scalar value used to encrypt the amount. Used by validators to verify the ciphertexts match the plaintext `MPTAmount`. |
410412
| `AuditorEncryptedAmount` | | `string` | `Blob` | Ciphertext for the auditor. **Required** if `sfAuditorElGamalPublicKey` is present on the issuance. |
411-
| `PedersenCommitment` | ✔️ | `string` | `Blob` | A cryptographic commitment to the user's confidential spending balance. |
413+
| `BalanceCommitment` | ✔️ | `string` | `Blob` | A cryptographic commitment to the user's confidential spending balance. |
412414
| `ZKProof` | ✔️ | `string` | `Blob` | A bundle containing the **Pedersen Linkage Proof** (linking the ElGamal balance to the commitment) and the **Range Proof**. |
413415

414416
### 9.4. Failure Conditions
@@ -455,7 +457,7 @@ If the transaction is successful:
455457
"IssuerEncryptedAmount": "BC2E...",
456458
"AuditorEncryptedAmount": "C1A9...",
457459
"BlindingFactor": "12AB...",
458-
"PedersenCommitment": "038A...",
460+
"BalanceCommitment": "038A...",
459461
"ZKProof": "ABCD..."
460462
}
461463
```

0 commit comments

Comments
 (0)