Auctions and patron demand
FRAY is a contest around the work
Shape how bidding, patron demand, supply, and settlement meet, while keeping preparation, live state, wallet actions, and market activity separate.
Prepare an intent or enter a live room
The creator builder and the live FRAY room serve different moments. One shapes a reviewable promise; the other reads and acts on a configured contract.
Prepare a FRAY
Choose Ethereum or Tezos, hash the source locally, select Quick, Standard, or Collector terms, and review the exact auction intent before any upload or wallet action.
- Route
- /studio/fray/new
- Output
- fray-auction-intent@1
- Not performed
- Upload, wallet signature, or auction publication
Read contract-backed FRAY state
The FRAY pages read configured contract and indexer state. If the room is unavailable, the page reports that boundary instead of substituting local auction data.
- Routes
- /fray and /fray/[auctionId]
- Current live family
- Ethereum
- Fallback
- No invented auction state
Source · Implemented locally
apps/studio/src/app/fray/page.tsx · apps/studio/src/app/fray/[auctionId]/page.tsx · apps/studio/src/server/services/fray-contract-service.tsBind the selected work and auction terms together
The intent lets another tool inspect the same source digest and versioned terms before anything is submitted.
Hash the selected bytes locally
The builder calculates a SHA-256 digest from the selected source and places it in the intent. This proves which bytes were reviewed, not that they were uploaded.
- Digest
- SHA-256
- Document
- fray-auction-intent@1
- Availability proof
- None until publication is executed and checked
Review exact values, not preset names
The intent binds family, network, currency, outcome, duration, reserve, minimum bid increment, royalty, patron cap, edition price, and extension policy.
- Market
- Reserve, increment, duration, extension
- Patron
- Cap and edition price
- Artist
- Outcome, currency, and royalty
Source · SDK / contract
../keel-sdk/packages/sdk/src/fray-auction-intent.ts ↗Bidder demand and patron demand meet at settlement
FRAY tracks two forms of participation without pretending they are the same purchase.
Compete for the leading position
A bid follows the current reserve and increment rules. The live room reads the leading bid, bidder, timing, and settlement state from contract-backed data.
- Action
- placeBid
- Terms
- Reserve, minimum increment, and extension window
- Authority
- Contract state and correlated events
Source · Implemented locally
apps/studio/src/server/services/fray-contract-service.ts · apps/studio/src/components/fray/fray-auction-actions.tsxState edition demand
A patron can set a cap or exit while the contract allows it. Patron demand contributes to final supply and the clearing result; it is not displayed as a leading bid.
- Actions
- setPatronCap, exitPatron
- State
- Patron cap, edition price, participation, and final supply
- Meaning
- Patron demand remains separate from bidder rank
Source · Implemented locally
apps/studio/src/server/services/fray-contract-service.ts · apps/studio/src/components/fray/fray-auction-actions.tsxUse contract state and indexed history for their proper jobs
The service joins a current contract snapshot with indexed activity while keeping the source of each fact clear.
Read the current auction
The service reads lifecycle, price terms, participants, caps, clearing, and final supply for the configured auction, along with metadata and viewer context.
- Current state
- Lifecycle, leading bid, patron terms, clearing, final supply
- Work context
- Metadata and viewer data
- Dependency
- Configured Ethereum RPC and contract
Source · Implemented locally
apps/studio/src/server/services/fray-contract-service.tsRead the auction history
The indexer supplies event history, auction detail, activity feeds, leaderboards, and marketplace records. It complements the contract read rather than replacing final state authority.
- Views
- Activity, auction detail, leaderboards, marketplace
- Use
- Discovery and event history
- Dependency
- Configured FRAY indexer
Source · Implemented locally
apps/studio/src/server/services/fray-contract-service.ts · apps/studio/src/app/api/fray/activity/route.ts · apps/studio/src/app/api/fray/leaderboards/route.ts · apps/studio/src/app/api/fray/marketplace/route.tsRead freely; simulate before every wallet write
Reading the room does not require a transaction. Bidding, changing patron participation, listing, and buying do.
Bid or change patron participation
The connected wallet can place a bid, set a patron cap, or exit patron participation. Studio simulates the exact call and requires a successful receipt.
- Actions
- placeBid, setPatronCap, exitPatron
- Before wallet
- Live state and exact call simulation
- After wallet
- Receipt success and refreshed state
Source · Implemented locally
apps/studio/src/components/fray/fray-auction-actions.tsxApprove, list, or buy
A seller approves the relevant ERC-721 or ERC-1155 token before listing. A buyer sends the purchase to the configured market contract. Receipt success precedes the completed state.
- Seller
- Approve token, then list
- Buyer
- Buy through the market contract
- Boundary
- Approval and listing can be separate wallet operations
Source · Implemented locally
apps/studio/src/components/fray/fray-marketplace-panel.tsxKeep family, publication, live state, and settlement proof separate
The creator intent can target Ethereum or Tezos. The current live-room service is an Ethereum integration. Each family needs its own acceptance evidence.
An intent can target Ethereum or Tezos
Family, network, currency, and source digest remain explicit in the reviewed document. The intent does not prove deployment or a live auction on either family.
- Families
- Ethereum, Tezos
- Identity
- Family and network remain explicit
- Proof
- Prepared intent only
Prepare chunks without pretending to submit them
The SDK creates an unsigned chunk and upload plan, including Tezos checkpoint operations. It does not sign, submit, or claim remote availability.
- Plan
- Chunks, operations, digests, and checkpoints
- Tezos
- Checkpoint operations can be prepared
- Not performed
- Wallet approval and network submission
Source · SDK / contract
../keel-sdk/packages/sdk/src/fray-upload.ts ↗Attach the receipt that matches the claim
The intent proves selected terms. A contract read proves observed state. A wallet receipt proves a submitted action. Settlement proof needs final contract state and correlated events.
- Prepared
- Versioned intent and source digest
- Observed
- Configured RPC and indexer snapshot
- Acted
- Exact wallet call and successful receipt
- Settled
- Final contract state and correlated settlement events
Source · Unproven
apps/studio/src/components/studio/fray-intent-builder.tsx · apps/studio/src/server/services/fray-contract-service.ts · apps/studio/src/components/fray/fray-auction-actions.tsx · apps/studio/src/components/fray/fray-marketplace-panel.tsx · docs/gauntlet/MANAGER_LEDGER.md
