Permissioned Edition

TenderChain
on Fabric

Government e-procurement on Hyperledger Fabric: known identities, private sealed bids, no cryptocurrency

Architecture design: the same TenderChain system mapped to Hyperledger Fabric
01 / The Problem

Why Procurement
Needs Fixing

Public procurement is one of the largest areas of government spending and one of the most exposed to corruption. The core issue is trust: bidders must trust that officials will not peek, leak or manipulate.

Bid confidentiality

Sealed bids get opened or leaked before the deadline, giving favoured vendors an unfair edge.

Favouritism & collusion

Officials award contracts by discretion; vendors can form cartels and rig prices.

Tampered records

Central databases can be edited by insiders after submission, leaving no reliable trail.

Slow, weak audits

Auditors (e.g. vigilance bodies) see the data months later and must trust the department's copy.

Why not just use a public blockchain?

Anyone can join

Government procurement must know exactly who every participant is (registered vendors, departments, auditors).

Everything is public

On a public chain every transaction is visible to the whole world, including commercial details of bids.

Needs cryptocurrency

Gas fees and ETH deposits are volatile and not legally usable by most government bodies.

Slow & probabilistic

Public chains confirm in seconds to minutes; Fabric gives fast, final commits with no forks.

Hyperledger Fabric is a permissioned, enterprise blockchain: only approved organisations join, data can be kept private between specific parties, and there is no cryptocurrency. That matches how government procurement actually works.

02 / Fabric Network

Who Runs
the Network

Instead of anonymous miners, the network is run by the organisations that have a stake in fair procurement. Each one hosts its own peers and holds its own copy of the ledger.

ProcurementMSP

Procurement Dept Org

Publishes tenders, runs evaluation, awards contracts

Peers: peer0, peer1Fabric CA
VendorMSP

Vendor Org(s)

Registered bidders submit sealed bids and reveal them

Peers: peer0Fabric CA
AuditorMSP

Auditor Org

Vigilance / audit body: read access + must co-sign awards

Peers: peer0Fabric CA
all peers join

Channel: procurement-channel

Shared ledger for all three orgs. Holds tenders, bid hashes, awards.

Ordering service (Raft)

Orders transactions into blocks. Crash fault tolerant, no mining, instant finality.

MSP + Fabric CA

Every user holds an X.509 certificate. Role (officer / bidder / auditor) is a certificate attribute.

03 / How Fabric Commits

Execute → Order
→ Validate

Fabric's transaction flow is different from Ethereum. A transaction is first simulated and signed by the required organisations, then ordered, then validated by every peer. A single organisation cannot push a change on its own.

01

Client app

Signed proposal sent with the user's certificate

02

Endorsing peers

Simulate chaincode, return signed read/write set

03

Ordering service

Raft orders endorsed transactions into blocks

04

Validate

Every peer checks endorsement policy + version conflicts

05

Commit

Block appended; world state (CouchDB) updated; event emitted

Endorsement policies used

// create / cancel tender
OR('ProcurementMSP.peer')
// award contract: department AND auditor must agree
AND('ProcurementMSP.peer', 'AuditorMSP.peer')

What this guarantees

No single department can award a contract alone; the auditor's peer must independently compute the same result.

If any peer's simulation differs (tampered code or data), endorsements won't match and the transaction is rejected.

Once committed, a block is final. No forks, no waiting for confirmations.

04 / Sealed Bids on Fabric

Private Data
Collections

Fabric can keep data off the shared ledger while still proving it exists. The bid price stays in the bidder's private collection; only its hash goes on the channel ledger. This is commit–reveal built into the platform.

Phase A · Submit bid (before deadline)

Bidder sends price + salt in transient field

Transient data is never written into the transaction record

chaincode SubmitBid()

Private collection

Price + salt stored only on the vendor's own peers

Channel ledger

Only SHA-256 hash of the bid is visible to all orgs

result

Bid is sealed

The department and auditor can see that a bid exists and when, but not its price

Phase B · Reveal (after deadline)

Bidder calls RevealBid(price, salt)

chaincode recomputes

hash(price, salt) == hash on ledger?

Uses GetPrivateDataHash, so the stored hash cannot be swapped

Match

Price published to the channel for evaluation

Mismatch

Rejected: bid was altered

Deadlines are enforced inside chaincode using the transaction timestamp (GetTxTimestamp), which every endorsing peer agrees on. The system clock is never used, so results stay deterministic across organisations.

05 / Complete Flow

A Tender on Fabric,
End to End

The same lifecycle as the Ethereum version, adapted to a permissioned network: identities come from the CA, deposits are EMD records instead of ETH, and awards need multi-organisation approval.

Stage 1 · Onboard

Fabric CA / Admin

01

Register identities

CA issues X.509 certs with role attributes (officer, bidder, auditor)

02

Verify vendors

Only KYC-verified vendors are enrolled into VendorMSP

Stage 2 · Publish

Procurement officer

03

Upload tender document

PDF stored off-chain (IPFS); its hash anchored on-chain

04

CreateTender()

Title, document hash, deadlines, EMD amount

05

Chaincode event

Vendors' apps are notified of the new tender

Stage 3 · Bid

Vendors

06

Review tender

Verify document hash matches the ledger

07

SubmitBid()

Price private, hash public (Private Data Collection)

08

Lock EMD

Earnest Money Deposit recorded as an escrow asset in chaincode

Stage 4 · Award

Chaincode + Auditor

09

RevealBid()

Hash verified; price disclosed

10

AwardTender()

Lowest valid bid wins. Needs Procurement AND Auditor endorsement

11

Release / forfeit EMD

Honest bidders released; non-revealers forfeited

12

Live audit

Auditor peer already holds the full history; nothing to request

06 / Smart Contract

Chaincode
Design

Business logic lives in chaincode (Go or Node.js). Every function checks the caller's certificate role using the client identity library before doing anything.

FunctionCaller roleEndorsed by
CreateTender(id, title, docHash, commitDeadline, revealDeadline, emd)officerProcurementMSP
SubmitBid(tenderId) + transient{price, salt}bidderVendorMSP
RevealBid(tenderId, price, salt)bidderVendorMSP
AwardTender(tenderId)officerProcurementMSP AND AuditorMSP
CancelTender(tenderId)officerProcurementMSP
ReleaseEMD(tenderId, bidder) / ForfeitEMD(...)officerProcurementMSP AND AuditorMSP
GetTender(id) / GetTenderHistory(id)any memberany peer
// role check inside chaincode (Node.js, fabric-contract-api)
const role = ctx.clientIdentity.getAttributeValue('role');
if (role !== 'officer') throw new Error('Only procurement officers can create tenders');
07 / Comparison

Ethereum vs
Hyperledger Fabric

Both versions solve the same problem, with different trade-offs. The live demo runs on Ethereum Sepolia; Fabric is the better fit for a real government deployment.

AspectEthereum versionFabric version
Network typePublic: anyone can joinPermissioned: only approved organisations
IdentityAnonymous wallet addressesX.509 certificates from Fabric CA (real, accountable identities)
Bid privacyCommit-reveal hash, then price public to the worldPrivate Data Collections: price shared only with authorised orgs
ConsensusProof of Stake, probabilistic finalityExecute-order-validate with Raft, immediate finality
CostGas fees paid in ETHNo cryptocurrency, no transaction fees
DepositETH locked in the contractEMD recorded as an escrow asset (linked to bank guarantee)
Award approvalCode onlyCode + endorsement policy (department AND auditor)
Smart contractSolidityChaincode in Go / Node.js / Java
Best forOpen, public transparencyGovernment & enterprise compliance
08 / Result

Problem →
Solved

Bid confidentiality
Private Data Collections + hash on ledger
Favouritism
Lowest valid bid chosen by chaincode, not by a person
Collusion by insiders
Awards need endorsement from both Procurement and Auditor orgs
Tampered records
Append-only ledger replicated across every organisation
Slow audits
Auditor runs its own peer and sees every transaction in real time
Fake bidders
Only CA-certified, verified vendors can transact

© 2026 TenderChain · Built for truth