Decentralized crowdfunding on Ergo

What is ErgoRaffle?

Crowdfunding with a built-in, provably-fair lottery — all on Ergo.

v2 runs on testnet today. v1 is live on mainnet at ergoraffle.com.

Hands passing crypto tokens along an orange thread

Fund a goal. Draw a winner. On-chain.

Supporters buy tickets toward a goal you set. At the deadline, smart contracts settle everything — no company holds your funds or keys.

Non-custodial

Funds live in contracts, not with us.

Provably fair

Winners drawn from an on-chain oracle anyone can verify.

Refund-protected

Miss the goal? Backers get paid back.

How it works

For creators

  1. 1

    Create

    Set goal, ticket price, deadline, winners, and split.

  2. 2

    Share

    Backers buy tickets; anyone can add gift prizes.

  3. 3

    Get funded

    Goal met → your share releases, winners draw automatically.

For supporters

  1. 1

    Buy tickets

    More tickets = higher odds. Set your payout address.

  2. 2

    Wait

    The deadline is an Ergo block height — tamper-proof.

  3. 3

    Claim

    Win your basket, or claim a full refund if it fails.

Donate with Bitcoin or Runes too — they arrive as Rosen Bridge–wrapped rsBTC / rsRunes, no manual bridging. Live on testnet and mainnet.

Use cases

What you can build

One primitive, many shapes — dial the prize and the goal however you like.

Pure crowdfunding

Back a cause; the draw is a bonus, not the point.

Pure lottery

Big prize pool, low ticket price, classic on-chain draw.

Many winners

Spread the pot across dozens of lucky backers.

NFT drops

Raffle off NFTs as the winner baskets.

Reward backers

Stack tokens & NFTs into baskets to sweeten the win.

Physical & luxury goods

Draw winners on-chain for real-world prizes.

Token distribution

Seed a new token across your community.

Listings & dev funding

Rally a community to fund a milestone — proven on mainnet.

On-chain lifecycle

From goal to payout — settled by contract

Every step is a public Ergo transaction you can verify yourself. No custody, no off switch.

Create

The creator sets the goal, deadline, winners and split, and pays a one-time creation fee.

Fund

Supporters buy tickets — more tickets, higher odds. Anyone can add gifts to the baskets.

Deadline

At a fixed Ergo block height the raffle closes and the contract settles itself — no team.

The contract settles

Success branch

Goal met

  • A randomness oracle draws the winners on-chain — anyone can re-verify it

  • Winners receive their prize share plus any donated gifts

  • Raised funds release to the creator, after the ~5% protocol fee

  • The creation fee is refunded

Refund branch

Goal missed

  • Every ticket is redeemed and buyers are refunded automatically

  • Gift donors reclaim the assets they added

  • No protocol fee is charged

  • The creation fee is kept (spam prevention)

Built for trustless fundraising

Verifiable draws

Winners from an on-chain oracle — re-checkable by anyone.

Any Ergo asset

Goals in ERG or any token, bridged assets included.

Gifts from anyone

Backers can pile tokens or NFTs into the baskets.

Multiple winners

Split the prize pool across as many as you like.

BTC & Runes

Donate cross-chain via the Rosen Bridge proxy.

Your keys

Nautilus or Xverse — you sign every action.

Fully decentralized

Skip the UI and hit the contracts direct.

Transparent fees

One ~5% protocol fee, only on success.

Trustless by design

Protected by powerful Ergo contracts

Your funds never touch a server or a team wallet. Every raffle runs as open ErgoScript on Ergo — the rules execute exactly as written, and anyone can read or re-verify them.

  • Non-custodial

    Funds live in contract boxes on-chain — never in a team wallet.

  • Open & auditable

    The ErgoScript is public — read it, re-run it, verify it yourself.

  • Deterministic

    Outcomes are math and on-chain randomness, not trust in us.

  • Unstoppable

    No admin key, no pause button, no off switch.

ticket.esErgoScript
// ErgoRaffle V2 — Ticket contract (excerpt)
// Refunds are enforced on-chain, by the contract itself.
val ticketPrice = SELF.R5[Coll[Long]].get(2)
val ticketCount = SELF.tokens(0)._2
// the payout must return the exact donation, minus the tx fee
val redeemedDonation =
safePayBox.value == SELF.value + ticketPrice * ticketCount - txFee
sigmaProp(allOf(Coll(
blake2b256(ticketRedeem.propositionBytes) == ticketRedeemScriptHash,
ticketRedeem.tokens(0)._1 == raffleLicense,
redeemedDonation,
INPUTS(1).id == SELF.id // can't spend the same ticket twice
)))

ErgoRaffle by the numbers

Real results from ErgoRaffle v1 on Ergo mainnet.

175,531

ERG raised

199

Raffles created

2,259

Contributions

68

Raffles funded

6,834

ERG won by winners

What the community has funded

Real funded raffles on mainnet — by raised, backers, and overfunding.

MEXC Listing Raffle

28,675 ERG

581 supporters

Most raised

Bitpanda Listing Fundraiser

8,622 ERG

220 supporters

2nd most backers

Ergo Onramper & Banxa

22,605 ERG

160 supporters

Community Fundraiser

ErgoHack VIII Prize Pool

8,462 ERG

27 supporters

16.9× its goal

Sigmanauts Treasury Fundraiser

5,344 ERG

68 supporters

Community treasury

SkyHarbor NFT Initiative

7,207 ERG

50 supporters

Supporting anonymous devs

Creating a raffle on ErgoRaffle

Start a raffle in minutes

Fund a cause, reward your community, and let the chain prove it was fair.

ErgoRaffle is a decentralized dApp. It performs no identity, eligibility, or legality checks — you are responsible for compliance in your own jurisdiction. Not legal advice.

Get in touch

Get updates firsthand

Feel free to send us a message!

We're the team behind ErgoRaffle — builders who believe fundraising should be as unstoppable as the chain it runs on. ErgoRaffle turns crowdfunding into a provably-fair, on-chain game: no custody, no middlemen, no off switch. It's our take on what a decentralized dApp should be — open code on Ergo that just keeps running, keeps paying out, and answers only to the people who use it. Win or lose, the ecosystem grows.