# Revenue Generation

#### **How It Works**

There are 2 primary ways to earn fees with **dKit**:

1️⃣ **THORChain / Maya / Chainflip Swaps** – Earn fees from swaps happening directly on the cross-chain protocols we support.\
\
2️⃣ **DEX Aggregation Swaps** – Generate revenue from cross-chain swaps utilizing DEX aggregation.

When fetching trade quotes through our SDK, you can set an **affiliate address** and a **fee percentage** (basis points).

**THORChain Swaps (1)**

For swaps on THORChain, your affiliate address is tied to a **THORName**. Any fees earned are automatically sent to the addresses (in $RUNE) linked to your **THORName**.

For more informations about THORName, and how to set it up, please reach out our team on Telegram.&#x20;

{% hint style="info" %}
💡 **Pro Tip:** Keep your **THORName** **3 characters or shorter**—since THORChain transactions include an affiliate name in the memo field, shorter names prevent issues with BTC and UTXO-based chains that have an 80-character limit.
{% endhint %}

**DEX Aggregation Swaps (2)**

These include swaps moving in and out of Chainflip, such as exchanging ARC20/ERC20/SPL tokens for assets on another blockchain. Fee collection for DEX aggregation swaps is available.

🔹 **Want to start monetizing your dApp?** Reach out our team on Telegram and we will get you started.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eldorito.club/dkit-by-eldorito/revenue-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
