Start monetizing your dApp
There are 2 primary ways to monetize your application and earn fees:



THORChain / Maya / Chainflip swaps
Direct cross-chain protocol fees via THORName, Maya node, or Chainflip Broker.



DEX aggregation swaps
Cross-chain DEX aggregation revenue using your affiliate address.
Fee Earning Overview
Implementation Setup
When fetching trade quotes through our SDK, you can configure:
import { getQuote } from "@dkit/sdk";
const quote = await getQuote({
sellAsset: "ETH.ETH",
buyAsset: "BTC.BTC",
sellAmount: "1",
affiliate: {
address: "YOUR_AFFILIATE_ADDRESS",
bps: 75, // 0.75%
},
});
curl -X POST https://api.dkit.xyz/quote \
-H 'content-type: application/json' \
-d '{
"sellAsset":"ETH.ETH",
"buyAsset":"BTC.BTC",
"sellAmount":"1",
"affiliate":{"address":"YOUR_AFFILIATE_ADDRESS","bps":75}
}'
How It Works
- Earn fees from swaps executed through your front-end / dApp / wallet.
- Your affiliate address is tied to a THORName / Maya node or Chainflip
broker.
- Fees can be sent automatically to your chosen address in RUNE, CACAO, or
even USDC.
Setting up a THORName
Register THORName
Create your THORName to receive protocol-native fees.
Link Wallet Addresses
Attach BTC, ETH, and other chains to your THORName.
Configure SDK
Set affiliate.address and affiliate.bps in your
quote requests.
Start Collecting Fees
Fees accrue automatically; monitor in your analytics.
Keep your THORName 3 characters or shorter. THORChain transactions include
affiliate names in the memo field; shorter names avoid issues on BTC/UTXO
chains with ~80-character limits.
DEX Aggregation Swaps
What’s covered. Cross-chain movements like ARC20/ERC20/SPL to assets on another blockchain.
Examples: Arbitrum → Solana (ARC20 → SPL), Ethereum → Bitcoin (ERC20 → BTC), Solana → Arbitrum (SPL → ARC20).
Revenue Generation
- Generate revenue from cross-chain swaps utilizing DEX aggregation.
- Includes swaps moving in and out of Chainflip, THORChain and Maya Protocol.
- Automatic revenue collection available.
Perfect For
- Cross-chain DEX protocols
- Multi-chain wallets
- DeFi aggregators
- Trading apps / dApps
- NFT marketplaces
Questions?
Want to start monetizing your dApp? Reach out to our team on Telegram and we’ll get you started with personalized onboarding and technical support!