Bid on a tender
A tender is one contract for one piece of work. It publishes what is wanted. Anyone can offer to do it at a price, tied to a document setting out what they will deliver. On a sealed tender, nobody sees a price, or the budget, until bidding has closed and the quality scores are fixed. The buyer then awards the work, and payment is held and released milestone by milestone.
The tender
How it runs
- Sealed bidding. Each bidder records a seal on chain: a hash of their price, their offer and a secret. Nobody, the buyer included, can see a price. The budget is sealed the same way when the tender is opened.
- Quality scoring. Bids close. Bidders publish their offers, which leave the price out. The buyer scores experience, method and dates and fixes a hash of those scores on chain, once. Prices are still closed.
- Prices open. Each bidder opens their own seal. The contract checks it matches and records the price. Then the budget is opened. A bid above it cannot be awarded.
- Award. The buyer adds the price points to the fixed quality scores, picks the winner and records the reason on chain, then publishes every offer, price and score.
- Delivery and payment. Milestones, review, disputes and withdrawals work as on an open tender. On this tender the contract holds no money, so payment happens outside it.
- Bidding. Anyone bids a price up to the ceiling, with the hash of a document describing their offer. A later bid from the same address replaces the earlier one.
- Award. After bidding closes, the buyer picks one bid, splits its price into milestones with due dates and records a reason on chain.
- Acceptance and funding. The winner checks the milestones and accepts. Accepting pulls the full price into the contract. On this tender that step always fails, because the placeholder token cannot move.
- Delivery. The winner submits evidence for each milestone. The reviewer approves it, or either side raises a dispute and the resolver divides that milestone's money.
- Payment. Each person withdraws what they are owed. Every step leaves a public event, which is the start of a delivery record.
Contract source, tests and the design notes: github.com/Birdbrain-wtf/decision-deposit.
Bids so far
Bids are open: everyone can see every price as it arrives.
| Bidder | Price | Terms hash | When |
|---|
Place a bid
Choose the bid file the page saved when you sealed your bid. The page checks it against the seal on chain, then sends your price and offer hash to open it.
Write your offer below, or choose a file. The page hashes it with keccak-256 and puts only the hash on chain. Publish the document somewhere others can read it, such as a gist or the forum thread, so anyone can check it matches.
Before you bid
- You need an Ethereum-style wallet such as MetaMask or Talisman, set to Kusama Asset Hub, holding a little KSM for two network fees: one to seal, one to open.
- Leave the price out of your offer document. It is scored before any price is seen.
- When you seal, the page saves a bid file holding your price and a secret, and keeps a copy in this browser. Keep the file. Without it your bid cannot be opened, and nobody can recover it for you.
- You can seal again before bids close. Only the last seal counts, so open with the file from the last one.
- Publish your offer as soon as bids close, then come back while prices are open to open your bid. A seal never opened is not a bid.
- Your address cannot be the buyer, reviewer or resolver.
- You need an Ethereum-style wallet such as MetaMask or Talisman, set to Kusama Asset Hub, holding a little KSM for the fee.
- Your bid must be above zero and no more than the ceiling, and bidding must still be open.
- Your address cannot be the buyer, reviewer or resolver if you want to be awarded the work.
- Your terms hash is permanent. Change one character of the document and the hash changes, so keep the exact file you hashed.
- Nothing here checks who you are. A name, a track record or an on-chain identity are things a real tender would weigh, and how is still being designed.
The text box starts with a template. Edit it freely: only the hash goes on chain.
Delivery record
Every award, milestone, dispute, settlement and withdrawal on this tender, in order. A finished project alone says little about how it was delivered. This record keeps the dates, the evidence and how disputes ended, so a contractor's next bid can be judged on more than a price.
| Event | Detail | When |
|---|
Why this exists
Kusama's treasury mostly pays for work through single proposals: one team names its own scope, price and timetable, and voters say yes or no. There is no competing offer to compare against, no agreed way to accept the work, and no lasting record of how it went. This page is the bidding end of a prototype that borrows from UK public procurement to test a different route, starting with the security audit that the collaborative decision deposit contracts need.
Read more: the decision deposit thread on the Polkadot forum, the Procurement Act 2023, and the guidance on contract performance notices.