# Detailed Referral Program Flow

To achieve a network effect without speculative tokenomics, we use a fair referral program for DAO donations. Anyone can create a cross-chain referral code and earn commissions. In this model, the referrer receives a percentage, and the referral gains a discount.

* All referral codes are cross-chain, allowing the same code to be used for contract creation on every supported chain.
* To minimize gas expenses, codes are initially created on Arbitrum and then transferred to other supported chains.
* Each referral code has an owner (admin) and a payment address where commissions are automatically transferred.

**Referral Code Creation**

* Switch to Arbitrum to create a referral code.
* Submit a transaction specifying all chains where you want the code created. You can provide your own code or have one generated automatically.
* Wait for bridge confirmations.
* Switch to each target chain and confirm code creation. Once confirmed, you can share the referral link and earn commissions.

**Referral Code Cross-Chain Update**

* If you did not initially send your referral code to a particular chain, you can do so anytime - for example, when a new chain is supported.
* Switch to Arbitrum.
* Submit a transaction to send the code to the target chain.
* Wait for bridge confirmations, switch to the target network, and submit a transaction to confirm.

**DAO Donation with Referral Code**

* When a referral uses a link containing a referral code, it is automatically stored in their browser.
* When creating a contract with a one-time DAO donation, the referral code is recorded in their personal CryptoLegacy contract. The contract automatically retrieves the payment address and sends ETH to it.
* All future timeout updates will automatically send commissions to the current payment address.
* If the referral makes a lifetime NFT DAO donation, the commission also goes directly to the payment address.

**Changing Owner and Payment Address**

* You can change the owner and payment address for your referral code on each chain at any time. Payments always route through the permanent referral code.
* Submit a transaction on each chain where you want to update the owner or payment address.

**Custom Discount and Commission**

* The DAO can assign increased discounts and commission rates to specific referral codes on each chain.
* The DAO typically does this for valuable community members.

**Default Discount and Commission Management**

* The DAO, along with its multisig, manages default discounts and commission rates.


---

# 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.cryptolegacy.app/detailed-referral-program-flow.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.
