How TradeChain reviews work and how to audit them
Last updated
TradeChain reviews are anonymous, tied to a completed payment, and can be checked against an on-chain record. They run on the Midnight Network, a zero-knowledge blockchain.
How a review is recorded
1. A payment creates a review commitment
When a customer pays a tradesperson through TradeChain, the platform issues a one-time commitment: a secret is generated, and only a hash of it is registered on the Midnight blockchain. The hash links the review right to that tradesperson without putting the customer’s identity on-chain.
2. The customer submits an anonymous review
The review is sent with just the rating, the comment and the commitment reference. No name or account identifier is attached, and each commitment can be used for one review only.
3. The contract checks the rules
The Midnight smart contract confirms the commitment is registered, that it has not been used before (through a one-way “nullifier”), and that the rating is between 1 and 5. Reviews cannot be deleted or changed on-chain once recorded.
4. A fingerprint of the review is stored on-chain
A SHA-256 digest of the review text is recorded on-chain, along with each tradesperson’s rating total and review count. The review text itself is stored off-chain; only its fingerprint is on-chain.
5. Only reviews that match their fingerprint are shown
Before a review is displayed, its text is re-hashed and compared with the on-chain digest. Reviews whose text does not match are not shown. If the blockchain index is temporarily unreachable, reviews are still shown, marked as “verification unavailable”.
How to audit a review
Each recorded review keeps a reference to its Midnight transaction. Where a block explorer is available for the network, the review links to it, so you can see that the transaction exists independently of TradeChain. The review text shown on a profile is checked against the on-chain digest before it is displayed, and the same check can be reproduced by hashing the text with SHA-256.
What this does not guarantee
We state the trade-offs plainly. Because proofs are generated server-side:
- The platform generates the zero-knowledge proofs on its servers, so it can link a review to its payer if it chose to.
- The platform could decline to publish a review; this is the one case a public verifier cannot detect.
- If the platform removed the stored text of a review, the on-chain digest and count would still show that it existed.
Frequently asked questions
- Are TradeChain reviews anonymous?
- Yes, to other users and to outside observers. A review carries no name or account identifier and cannot be linked to a customer from public blockchain data. Because proofs are generated on the platform’s servers, TradeChain itself could in principle link a review to its payer; the design is explicit about that trade-off.
- How do I know a review comes from a real customer?
- A review can only be created from a commitment that was issued when a payment completed and that is registered on-chain. The contract rejects reviews without a registered commitment, so a review is tied to a completed payment rather than to an opinion from anyone.
- Can a review be edited or deleted after it is published?
- Not undetectably. The blockchain record cannot be altered or deleted. If displayed text were changed, its hash would no longer match the on-chain digest and it would not be shown as verified.
- Can the same customer review the same job twice?
- No. Each commitment produces one unique, irreversible nullifier on-chain; the contract refuses a second review with the same nullifier.
- What is stored on the blockchain and what is not?
- On-chain: commitment hashes, nullifiers, a SHA-256 digest of each review, and per-tradesperson rating totals and counts. Off-chain: the review text and personal data such as accounts and payment details.
- Which blockchain does TradeChain use for reviews?
- The Midnight Network, a privacy-preserving zero-knowledge smart-contract chain. Transactions are shown on a Midnight explorer. Earlier Solana review-NFT work is a separate track and is not the live review system.
Looking for advice on hiring? Read our guides or browse the directory.