> For the complete documentation index, see [llms.txt](https://docs.vultisig.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vultisig.com/app-guide/referrals.md).

# Vultisig referrals

Vultisig referrals: share a code for a swap-fee rebate. THORChain nested affiliates.

A referral code moves a slice of the swap fee. You create a code, or you use someone else's.

* If someone uses **your** code, you earn 10 basis points (0.10%) on their swap.
* If you use **their** code, you save 5 basis points (0.05%) on yours.

The app writes the affiliate into the THORChain swap memo. The rebate goes to the code owner on-chain.

<figure><img src="https://644481292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfSRUQVZENEfvoqS6R0GO%2Fuploads%2Fgit-blob-289dc207902e563c42c58bfe3a046605bc2b811d%2Fimage%20(18).png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

***

## How to set it up

**Settings → Referral Code**

* Create your own code
* Enter a friend's code
* Change the saved code later

{% hint style="info" %}
You can replace a friend's code at any time. You cannot clear the field once a code is set.
{% endhint %}

<figure><img src="https://644481292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfSRUQVZENEfvoqS6R0GO%2Fuploads%2Fgit-blob-c6e758d33bf8956653085ad88ef185897d8e55f3%2Fimage%20(19).png?alt=media" alt=""><figcaption></figcaption></figure>

***

## Related

* [Swapping](/app-guide/wallet/swapping.md)
* [THORChain](/app-guide/defi/thorchain.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vultisig.com/app-guide/referrals.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
