Start monetizing your dApp

There are 2 primary ways to monetize your application and earn fees with dKit:
  • THORChainMayaChainflip
    THORChain / Maya / Chainflip swaps
    Direct cross-chain protocol fees via THORName, Maya node, or Chainflip Broker.
  • 1inchJupiterChainflip
    DEX aggregation swaps
    Cross-chain DEX aggregation revenue using your affiliate address.

Fee Earning Overview

TypeRevenue SourceSetup Required
THORChain / Maya / ChainflipDirect cross-chain protocol fees
THORNameMaya nodeChainflip Broker
DEX Aggregation SwapsCross-chain DEX aggregation revenueAffiliate address setup

Implementation Setup

When fetching trade quotes through our SDK, you can configure:
ParameterDescriptionFormat
Affiliate AddressYour designated affiliate addressWallet address
Fee PercentageYour commission rateBasis points (e.g., 100 = 1%)
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%
  },
});

How It Works

  1. Earn fees from swaps executed through your front-end / dApp / wallet.
  2. Your affiliate address is tied to a THORName / Maya node or Chainflip broker.
  3. Fees can be sent automatically to your chosen address in RUNE, CACAO, or even USDC.

Setting up a THORName

1

Register THORName

Create your THORName to receive protocol-native fees.

2

Link Wallet Addresses

Attach BTC, ETH, and other chains to your THORName.

3

Configure SDK

Set affiliate.address and affiliate.bps in your quote requests.

4

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

Revenue Calculator


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!