Monetization / Earn Fees
You can monetize your SwapKit integration and collect fees from our SDK/API!
Any project that integrates SwapKit's SDK, or API, can take fees from the volume that they generate.
How it works
There are 2 different ways that you can take fees using SwapKit:
Through any THORChain supported swaps.
Through DEX aggregation swaps.
When using our SDK/API to fetch quotes for a trade, you can specify an affiliate address and basis point parameters, indicating the fees that you will charge for the swap.
For THORChain swaps (1), your affiliate address is a THORName, and affiliate fees that you earn from any THORChain swap is sent directly to the addresses tied to the provided THORName.
Don't know what a THORName is? It's multi-chain name service that's basically an equivalent of ENS of Ethereum, but on THORChain.
You can register a THORName on the THORSwap web app, just connect your THORChain wallet and register. Name registration costs 10 RUNE as a base fee, and then 1 RUNE / year that your name will be active for (more info).
We advise that you register a THORName that is ❗️NO LONGER than 3 characters long❗️ since this affiliate name is passed in the memo for transactions through THORChain, a short THORName is necessary as BTC and other UTXO chains have 80 char limit for the memo.
DEX aggregation swaps (2), are any swaps that swap in, or out of, THORChain. These are typically swaps to/from ARC20/ERC20/BEP20 to assets on another blockchain supported by THORChain. For more detail about DEX aggregation, check out our article here. Earning fees from these swaps is only available to our partners.
Check out how to become a partner here.
Last updated