# Referrals

The Libre blockchain is the first blockchain in the world (we think) that was built with the idea of on-chain referrals. The way it works is simple:\
\
Every account (example: bob) can refer multiple other accounts (example: alice and susan). This parent-child relationship is stored in a table on the actual chain. Unlike humans, each account has a single parent. Going back up a level, alice might be referred to by bob, but bob was referred by mike.\
\
Now when alice joins the system, and earns some tokens -- bob will make a % on top of the rewards.

Any app that builds on Libre is able to take advantage of the referral system to incentivize affiliates.


---

# 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.libre.org/libre-docs/earn/on-chain-referrals.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.
