A programmable trust layer for creative work on Bitcoin. The first contract in a new breed of peer-to-peer gig systems, live on Bitcoin via Stacks.
đ ď¸ The First of Its Kind
We started simpleâwith a Web2-style directory that let people discover talent with Web3 skill sets. Users could sign up via Magic.link and get listed with just an email.
But as demand grew, so did the vision.
More people wanted to hire directly, fund work, and collaborate trustlesslyâwithout relying on platforms or intermediaries. Thatâs when we realized: the future of gig work needed to be natively Web3. So we set out to build it from first principlesâon the premier Bitcoin Layer 2.
The Cerulean Marketplace contract allows clients to post jobs, artists to accept or decline them, and all parties to resolve satisfaction and payment outcomesâall onchain. It introduces onchain consensus for subjective outcomes like client satisfaction, enabling programmable trust between strangers.
đ Why It Matters
Most freelance and gig marketplaces rely on centralized intermediaries. That comes with fees, censorship risk, and opaque enforcement of rules.
This Clarity contract flips that on its head:
No middlemen â gigs and payments flow peer-to-peer.
Trustless payments â funds are escrowed in a smart contract.
Time-aware logic â automated deadlines based on block height.
Dispute resolution â decentralized arbitration with DAO voting.
Weâre building on Stacks, a Bitcoin Layer 2, which means all logic executes on-chain with Bitcoin security guaranteesâmaking this one of the first real-world marketplace use cases built on Bitcoin.
đ Whatâs Special About the Contract?
The design covers the entire gig lifecycle, including:
đ 1. Job Creation (create-gig
)
Clients escrow STX and lock them into a Clarity contract, specifying:
The artist theyâre hiring
The job type
Total payment
Work period (in blocks)
â
2. Artist Acceptance (accept-gig
)
The artist has a time window (default: 14 days) to accept the gig. If they donât, the client can claim their funds back.
â 3. Rejection (decline-gig
)
If an artist declines, funds are returned to the client automatically.
đŹ 4. Feedback Loop
The most novel part: Satisfaction voting.
Clients rate work with:
"strongly-agree"
,"agree"
,"somewhat-agree"
,"disagree"
.The contract enforces payment splits based on this:
Strongly Agree: 100% to artist
Agree: 75/25 split
Somewhat Agree: 50/50
Disagree: dispute triggered
đ¤ 5. Artist Can Agree or Dispute (satisfaction-acceptance-as-artist
)
Artists can accept the vote or push the contract into a dispute state. If there's disagreement, the DAO (via multisig) arbitrates.
đłď¸ 6. DAO-Based Dispute Resolution (dao-vote-satisfaction
)
When gigs go into dispute, ZeroAuthorityDAO votes on the payout based on community governance, not centralized decision-making.
âď¸ Why Call Functions?
Calling a function here means participating in an onchain workflow. Itâs not just a transactionâitâs signaling your intent, voting with your wallet, and embedding your role into a digital agreement. This contract flips normal freelance coordination into code:
Accepting a gig is a public statement, sealed onchain.
Voting satisfaction is not a âreviewââit's a payment directive.
Disputes donât rely on trustâthey rely on DAO consensus.
đĄ The Bigger Picture
We believe marketplaces should be programmable, not just platforms. This contract is step one toward a future and we believe you anyone, anywhere should be able to prove they did a gig and completed the task, even is the Zero Authority Protocol no longer exists - because the onchain transactions live forever.
Reputation is onchain
Payment logic is transparent
Governance is user-owned
The Cerulean contract is one of the first gig economy systems on Bitcoin Layer 2âbacked by final settlement and community governance.