> For the complete documentation index, see [llms.txt](https://docs.eternals.game/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eternals.game/alliance-mining-program/mechanism.md).

# Mechanism

The Alliance Mining Program utilizes a referral mechanism to track and reward users who invite new players via a referral link or allow them to apply a referral code through purchasing Genesis.&#x20;

Here are details of the referral mechanism.

* Account Identification: A user account is identified by the connected wallet address. Each address is uniquely valid for one account.
* Referral Code Convention: Upon creating an account, users are assigned a unique ID (UUID) as their referral code. This code is prominently shown in the user profile section.
* Unique Referral Code Attached: Each user account can only be associated with one referral code. Once a referral code is applied to an account, it cannot be changed or removed, ensuring that referral tracking remains accurate.
* Referral Link(s): Our system generates a referral link that already embeds a user's unique code. This link can be easily copied and shared with friends. The diagram below will illustrate how the referral link works.
