BlindBond

Encrypted bond auctions on-chain. Bids stay private. Clearing rate found via FHE.

Repo

About

## Wave 1 submission

BlindBond is a fully functional sealed-bid bond auction protocol powered by Fully Homomorphic Encryption, deployed and verified on Arbitrum Sepolia.

What we delivered:

a. BondAuction.sol

A 380-line smart contract implementing an iterated tournament and uniform price settlement using seven FHE operations per bid

b. Test suite

Seventeen passing tests covering bond creation, bidding, resolution, settlement, repayment, claims, liquidation, and compliance

c. End-to-end demo script

A complete flow that creates a bond, funds three lender wallets, encrypts three rate bids using FHE, resolves two tournament passes directly on ciphertext, settles at the clearing rate, enables borrower repayment, and allows lenders to claim returns

d. Frontend

A React-based interface with live CoFHE encryption available at https://blindbond.vercel.app

e. Client-side encryption

Implemented using @cofhe/sdk with TFHE WASM and zero-knowledge proofs

Contracts deployed on Arbitrum Sepolia:

a. BondAuction

0xD916970FE36541A0a71Db13415CfFBFF005e761e

b. USDC (Mock)

0xcC86944f5E7385cA6Df8EEC5d40957840cfdfbb2

c. WETH (Mock)

0x55Bd48C34441FEdA5c0D45a2400976fB933Abb7e

Links:

Live app:

https://blindbond.vercel.app

GitHub:

https://github.com/Leihyn/blindbond

## Wave 3 submission

Wave 3: From encrypted bids to encrypted positions.

Wave 2 judge feedback (Alex_Fhenix): "Nice concept, try to work with confidential tokens for next waves." This wave delivers exactly that.

What changed:

  • ConfidentialToken (FHERC20) — new contract contracts/ConfidentialToken.sol. Balances stored as euint64, transfers happen on ciphertext, approvals use an operator model instead of ERC20 allowances (allowances would leak balance information through gas patterns).
  • End-to-end encrypted lender lifecycle. submitRate (deposit), settle (winner payout to borrower + losers refunded), claim (winner principal+interest after repay), claimRefund (cancelled bonds), and repay (borrower pays back) all transact through encrypted balances. An on-chain observer sees ciphertext hashes — never dollar amounts. Rates AND positions are private.
  • Per-payout encrypted refund. Each refund creates its own euint64 so ACL grants are scoped per-bid rather than leaking aggregate pool size.
  • Test coverage expanded. Added test/ConfidentialTokenFlows.ts — three flow tests covering encrypted deposit (mint + unseal), operator-model approval (revert without setOperator, succeed after), per-payout encrypted refund. Existing 17-test suite migrated to the FHERC20 path.
  • Demo scripts. scripts/seed-bond.ts (one-command judge walkthrough, 5 encrypted bids on Arbitrum Sepolia), scripts/publish-and-settle.ts (resolve → publish → settle), scripts/full-demo.ts rewrite (full lifecycle in one command).
  • Frontend rebuild. Bond-lifecycle UI in App.tsx and App.css, Vite asset pipeline (favicon, hero, icons), vercel.json for deployment.
  • Documentation. CHANGELOG.md (per-wave progress log), WAVE3_UPDATE.md (this update + verification commands), DEMO-SCRIPT.md (narrated walkthrough).

Wave 2 → Wave 3 diff:

  • Bid privacy: encrypted in both waves.
  • Position privacy: plaintext ERC20 in Wave 2, encrypted FHERC20 in Wave 3.
  • Lender deposits: MockERC20.transferFrom in Wave 2, ConfidentialToken.confidentialTransferFrom in Wave 3.
  • Settlement payout: plaintext in Wave 2, encrypted in Wave 3.
  • Refund: plaintext pool in Wave 2, per-bid encrypted ACL in Wave 3.
  • Tests: 17 in Wave 2, 20 in Wave 3 (3 new FHERC20 flows).

How to verify:

- Tests: npx hardhat test

- Live seed (Arbitrum Sepolia): npx hardhat run scripts/seed-bond.ts --network arb-sepolia - Full lifecycle: npx hardhat run scripts/full-demo.ts --network arb-sepolia - App: https://blindbond.vercel.app

Commits this wave: bfef53a (ConfidentialToken integration), 39ef564 (changelog + AKINDO update + flow tests). Repo: https://github.com/Leihyn/blindbond

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.