Decentralized affiliate programs: how they work and who earns from them

Affiliate programs where a smart contract does the tracking and the payouts: how they differ from a regular program, cases with numbers, weak spots and a checklist.

· 11 min read
share on X

In a regular affiliate program the advertiser or the network keeps the stats, and the affiliate sees whatever numbers got drawn in the dashboard. In a decentralized affiliate program a smart contract does the tracking and the payout, and the records sit on a public blockchain.

Below we look at how this works, who has already earned tens of millions of dollars from it, and where the affiliate still has to take someone’s word for it.

What a decentralized affiliate program is

It is an affiliate program where three things are moved onto a blockchain, fully or in part:

  1. Attribution. The affiliate is a wallet address or a code written into a contract. There may be no dashboard account at all.
  2. Tracking. The user’s target action (a trade, a deposit, a bet, a purchase) is a transaction, and anyone can see it in a block explorer.
  3. Payout. The commission is split off the user’s payment in the same transaction. It goes to the affiliate’s wallet right away or accrues in the contract, where it can be claimed at any time.

Most of these programs run on revenue share: the affiliate gets a cut of the fee the referred user pays. Fixed pay per action exists too, but it is less common.

How it differs from a regular affiliate program

Take the familiar setup: an offer in a CPA network or an advertiser’s in-house program. The advertiser’s tracker counts conversions, you get a postback, then comes the hold, the approval and a payout on schedule.

Regular programDecentralized program
Where the stats liveIn the advertiser’s or network’s databaseOn a blockchain, open to everyone
Who confirms a conversionThe advertiser, by hand or by its own rulesThe contract, when the transaction lands
Hold and reconciliationYes, the advertiser sets the termNone, or a few days for anti-fraud
Minimum payoutUsually $50 to $300None or symbolic
Who can cut a payoutThe advertiser, the network, the managerDepends on the program, see below
JoiningApplication, approval, sometimes a callOften no approval: a wallet is enough
Payout currencyFiat, sometimes cryptoStablecoins or the project’s token

The first row is the one that matters. In a regular program a dispute about shaving goes nowhere because you have no access to the advertiser’s data. Here you can find every referred trade by address and recalculate the commission yourself.

The Fuul team put it this way in their protocol announcement: in web2 advertisers transact on top of their own private databases and affiliates can only trust them, while on a blockchain there is no need to trust if you can verify.

Three levels of decentralization

Very different designs are sold under the same name. It helps to know which one you are looking at.

Level 1. Only the payout is onchain. Attribution and counting happen on the project’s server, and the money arrives as a transaction to your wallet. The CoW Swap program works like this: 10 USDC for every $250K of volume from a referred wallet, a 90-day attribution window, batch payouts once a week, and program managers who may withhold a payout and disqualify a participant. That is not far from a regular program that pays in crypto.

Level 2. Hybrid. The rules and the budget are in a contract, the operator computes attribution. An example is Fuul, a service that trading apps use to launch their affiliate and referral programs. The advertiser puts the program budget into a contract up front, so the affiliate can see that the payout money exists. But who referred whom is decided by an SDK and data processing on the team’s side. Fuul says so openly and promises to decentralize that layer later.

Level 3. The affiliate fee is built into the protocol. There is no sign-up and no approval. The affiliate builds an interface to the protocol (a site, a wallet, a bot) and writes its own address and its own rate into every user transaction. The protocol splits that rate off and sends it to the affiliate. This is where the biggest money is, and the main cases below belong here.

Track360, in its review of referral designs, argues that most serious programs pick the hybrid: a contract sees only what happened onchain and can neither hold a payout nor check traffic quality.

Cases with numbers

Hyperliquid: $132M to interfaces

Hyperliquid, a decentralized perpetual futures exchange, lets any app attach its own address and fee to a user’s order. The mechanism is called builder codes. The fee is capped at 0.1% on perps, and the user approves the maximum in advance from their main wallet and can revoke it. The app keeps its markup in full, the exchange collects its own fee separately.

According to a Flowscan snapshot dated 18 November 2026, all apps together have received $132.78M. Wallets with a ready audience lead the list:

AppAll-time revenueRouted volume
Phantom$29.11M$56.74B
BasedApp$15.50M$50.17B
MetaMask$14.50M$16.38B
pvp.trade$8.08M$17.35B
Trust Wallet$5.59M$8.95B

The distribution looks like any affiliate program. By DefiLlama data from 3 August 2026, the ten largest of 102 interfaces took 80% of the payouts, 51 interfaces earned under $100K over their lifetime, and 15 received nothing in the last thirty days. Trackers count differently, so the Flowscan and DefiLlama totals do not match.

THORChain: the fee sits inside the swap

THORChain swaps coins across different blockchains. The integrator sets its own fee in basis points and names an address, and the protocol takes the fee out of the swap amount. There is no permission to ask for, no agreement to sign and no earnings cap.

By October 2026 integrators had received more than $50M: Trust Wallet about $18M, THORSwap $9.1M, Ledger $8M. DefiLlama researchers point out the other side: a wallet user pays a markup on top of the swap cost, and in December 2025 THORChain launched its own interface without that markup. The protocol that feeds its affiliates also became their price competitor.

Polymarket: the affiliate code is in the signed order

On the prediction market Polymarket the affiliate also builds its own app. The affiliate’s code is part of the signed order, and the affiliate sets the fee: up to 1% from takers and up to 0.5% from makers on top of the platform fee. Payouts are daily, the minimum is $0.10, and every affiliate’s rates are public. Polymarket also reserves the right to revoke an affiliate’s fee for any reason and to disable its code, after which orders carrying that code are rejected. On the program leaderboard the leader, Betmoar, shows about $2.6B of all-time volume.

iGaming: BetSwirl and Playnance

Two examples sit closest to the gambling affiliate programs we all know.

BetSwirl gave the affiliate 30% of the house edge on every bet placed through its interface. You could launch an interface to the protocol’s games without approval, and the affiliate claimed earnings from the contract. The past tense is deliberate: the project’s X account has been silent since 30 December 2025, and its site and docs now redirect to another casino, Riviera. There was no shutdown notice, so the link above goes to an archived copy of the docs.

Playnance W3Affiliates runs on ordinary tracking links: the commission is calculated from player turnover, accruals are recorded onchain, settlement is daily. This is Playnance’s own description, and we found no independent numbers for the program.

dYdX and Fuul

The dYdX exchange has a classic referral program that pays onchain right after the trade: 30% to 50% of the taker fee. One limit is worth knowing in advance: an affiliate earns no more than $10K per referred user per 30 days.

Fuul sells ready-made infrastructure to projects that do not want to write an affiliate program themselves. In the Vertex case, during the first month of the new program 30% of the exchange’s volume came from referred users, and anti-fraud blocked more than $200K in Sybil attacks. The numbers come from Fuul’s own materials.

What it gets confused with: matrices and pyramids

Many people first heard the phrase “affiliate program on a smart contract” from matrix projects. The best known of them, Forsage, called itself the first smart contract marketing matrix and described the contract as an algorithm that distributes partner rewards.

In August 2022 the US Securities and Exchange Commission filed a complaint against eleven people and called Forsage a pyramid and Ponzi scheme with more than $300M in transactions. In February 2023 the US Department of Justice indicted the founders for conspiracy to commit wire fraud and put the figure at $340M.

Telling the two apart is simple:

  • In an affiliate program the money comes from a customer who bought the product: made a trade, swapped coins, placed a bet. A pyramid has no product, and old participants are paid from the contributions of new ones.
  • Joining an affiliate program is free for the affiliate. In a matrix you buy the right to earn.
  • A contract on a blockchain says nothing about whether a scheme is honest. It only guarantees that the money moves by the rules written into it. In Forsage the rules were the pyramid.

Who tried earlier and shut down

The idea is not new. The first wave came with the 2017 ICOs: RefToken called itself the world’s first decentralized affiliate platform, and HOQU was building the same thing. Both tied settlements to their own token. HOQU is still in business, but the blockchain is gone: its site sells an ordinary SaaS platform for affiliate networks.

The second attempt was Attrace. The project was founded in 2018, raised $3.7M, including money from the Deribit founders, and launched its referral protocol in June 2022. In its update for the end of 2023 the team wrote that Ethereum fees were too high for the communities interested in the protocol, and that the next bet was the SEO authority of the Attrace website.

The failures share one thing: each of them built a universal middleman network for other people’s offers. The programs that ended up working were built by a single protocol into its own product.

Where it breaks

Fraud stays. An affiliate can refer themselves from another wallet, build a wallet farm or run trades between their own addresses. The contract cannot tell the difference. The Megapot docs say it openly: there is no onchain self-referral guard, and a wallet may list itself as the referrer.

So manual control comes back. CoW Swap reserves the right to withhold and deny a payout, Polymarket can disable an affiliate’s code. The more such rights the operator has, the closer the program is to a regular one.

Attribution can be overwritten. The Spindl team described a case where an aggregator writes its own referral tag into the transaction over the tag of the influencer who brought the user, and the influencer loses the ongoing payments.

You need your own interface. On level 3 the money goes to whoever controls the point where the user signs the transaction. A webmaster with a link has nothing to do there: you have to run your own site or bot on top of the protocol.

Payouts in whatever token. In swaps the affiliate often gets its share in the coin the user bought. The yifi service lists this among the limitations, along with gas on Ethereum mainnet and the risk of a bug in the contract.

The rules change. Rates are often set by a token holder vote or by the team. The CoW Swap program is approved for six months. The site of Azuro, a betting protocol with a revenue share for interfaces, currently carries a notice that betting operations are paused.

Checklist before you send traffic

  1. Find the program’s contract in a block explorer. If the docs give no address, the blockchain is used here only for the payout.
  2. Find out where the user gets attributed to you: in the contract or on the project’s server.
  3. Check who can change rates, stop payouts and disable affiliates. The answer is in the docs or in the contract code.
  4. Look at real payouts to other affiliates. They are public, and that beats dashboard screenshots. They also show whether the program is alive: in June 2026 the BetSwirl docs still promised 30%, half a year after the project went silent.
  5. Learn the attribution window and the caps. 90 days at CoW Swap and $10K per user at dYdX change the payback math a lot.
  6. Ask which currency and which network the commission arrives in and what it costs to withdraw.
  7. Make sure the money comes from the product’s customers. If you have to pay to join and the income comes from the people you invite, you are looking at a matrix.
  8. Check that the product is legal in the GEOs you target, and what the program rules say about those GEOs.

What comes next

In this model the affiliate gradually turns from a link into an interface. The money on Hyperliquid and THORChain went to those who brought the protocol a ready audience together with a convenient way in: wallets, trading terminals, Telegram bots.

The second direction is a shared standard for tags. Base is rolling out ERC-8021. The app’s code is appended to the end of any transaction’s data, contracts ignore it, and indexers read it afterwards. For now the standard is good only for analytics: Base explicitly asks not to build payouts on its registry, and no payout addresses are set there.

We will come back to this article and add new cases. Hopefully.

More from the blog