Stablecoin distributor revenue share
What is stablecoin distributor revenue share?
Stablecoin distributor revenue share is paying the wallets, exchanges and apps that distribute your coin a share of its revenue, based on the holdings, mints and burns attributed to each distributor’s wallets on every chain; issuers also call it stablecoin revenue sharing.
Issuers and issuance platforms need that attribution to be exact and traceable, because each partner’s payment is calculated from it and partners check it against their own records.
Goldsky watches every distributor’s wallets, decodes their activity on every chain and streams it to your database, while matching wallets to distributors, the totals and the payout run stay with you.
You can build it two ways: stream every distributor wallet’s activity into your database with Turbo Pipelines, or call the Feeds balances and transfers APIs for each wallet when you run the numbers.
Who pays stablecoin distributor revenue share?
Stablecoin issuers, issuance platforms and wallets with their own coin that share revenue with the wallets, exchanges and apps that distribute it, including bank consortiums that plan one coin for many member banks.
How stablecoin holdings are attributed to distributors
The diagram follows one distributor from onboarding, when its wallets go on your watch list, to the revenue-share payout built from its holdings and activity. Your setup may differ.
Ways to attribute stablecoin holdings to distributors
The pipeline pushes every change in a watched wallet to your database as it happens; the balances and transfers APIs return data only when your code calls them, so holdings between calls come from readings you store.
- Best for
- Many distributors and wallets, every change on record
- Products
- Turbo
- What you run
- The destination: your database, queue or bucket, or a Postgres database Goldsky hosts
- What you write
- Pipeline YAML and SQL; TypeScript transforms when needed
- Where your data lives
- In your own database or systems
- How results reach you
- Pushed to you
- Best for
- A short list of wallets, checked at set times
- Products
- Feeds
- What you run
- Nothing; you call an endpoint and keep what you need
- What you write
- REST requests
- Where your data lives
- Hosted by Goldsky
- How results reach you
- Returned when you call
| Usual setupOption 1: Stream to your database | Option 2: Balances and transfers APIs | |
|---|---|---|
| Best for | Many distributors and wallets, every change on record | A short list of wallets, checked at set times |
| Products | Turbo | Feeds |
| What you run | The destination: your database, queue or bucket, or a Postgres database Goldsky hosts | Nothing; you call an endpoint and keep what you need |
| What you write | Pipeline YAML and SQL; TypeScript transforms when needed | REST requests |
| Where your data lives | In your own database or systems | Hosted by Goldsky |
| How results reach you | Pushed to you | Returned when you call |
Related jobs
Fix the payout terms
A payout is a rate applied to a balance, so both sides have to agree on which balance, read when, and at what rate.
Write down the daily cut-off and its time zone, each distributor’s rate (which can differ by chain or region), the day a new wallet starts earning and how often payouts run. A vague start date invites claims for days before a wallet was registered.
Start the run at the cut-off
Handled by Goldsky ComposeBalances only compare fairly if they’re all taken at the same moment every day, weekends included.
The run starts at the cut-off and pins the snapshot to the block at that moment, and the payout figures wait until that block is deep enough not to be rewritten. A run that starts late or skips a day leaves a gap someone has to fill by hand.
A Compose task with a cron trigger starts at the time you set, and a six-field expression gives second-level timing for a cut-off such as one second before midnight.
Run a task on a schedule (opens in a new tab)Snapshot every distributor wallet
Handled by Goldsky ComposeThe day’s amount comes from what each wallet held at the cut-off, not from what it holds when someone checks later.
Every registered wallet is read at the snapshot block on each chain, including wallets that held nothing that day. A wallet missing from the snapshot earns nothing for the day, and its distributor will notice.
Goldsky’s Turbo Pipelines already writes each watched wallet’s balance after every change, so a wallet’s snapshot is its last row at or before the snapshot block. For a chain the pipeline doesn’t cover yet, the task can backfill that chain’s transfers up to the block with a Turbo job it starts through
Start Turbo jobs from a task (opens in a new tab)ctx.turbo.createJob.Work out each distributor’s daily amount
The payout is the sum of daily amounts, each one a distributor’s balance at the cut-off times its rate for that day.
Join each wallet to its distributor, group the balances by chain and rate, apply the daily rate the agreement sets and store the result for every day. Never overwrite a past day; if a figure changes, keep the correction beside the original with its reason.
Send each payout
At the end of each period, the daily amounts become one payment per distributor.
Your custody provider signs a payout for each distributor’s total to the payout address it registered on that chain, under your approval policy. Keep the transaction hash with the period, because it’s the proof the distributor was paid.
Close the period with a statement
Distributors check their payout against their own records, and finance books it.
The statement lists the daily balances, the rate applied and each day’s amount, with the payout’s transaction hash. A payout nobody can trace back to balances and blocks is hard to defend in a dispute.
What you control
- Your team
- Sign up the distributor and its wallets
- Total each distributor’s holdings and activity
- Pay each distributor its revenue share
Security and deployment
- SOC 2 Type IIIndependently audited security controls.
- Dedicated infrastructureSingle-tenant options for production workloads.
- Data residencyCloud, on-premises or co-located.
Use cases built the same way
- Tokenized fund subscriptions and redemptions across chainsTrack subscriptions and redemptions of a tokenized fund as mints and burns across every chain it’s on.
- Sponsored gas spendTotal the gas you pay for your users per user, paymaster and day, watch the paymaster’s deposit and check the provider’s bill.
- Tokenized fund register across chainsCombine holdings of one fund issued on many chains into a single register.
- Authorize and capture stablecoin paymentsHold a buyer’s stablecoins in an escrow contract at checkout, capture them to the merchant as orders ship, void what can’t be filled and refund after capture.
Run stablecoin distributor revenue share with Goldsky
We’ll map it to your systems and show you what Goldsky runs, so your team builds the product, not the pipelines underneath it.