Theory

The referral system motivates users to involve new users in the SORA economy. When you invite people, you are the referrer. As a referrer, you’ll get 10% of your referral’s network fees. One referrer can have as many referrals as they like. And one referral can have only one referrer.

The referral graph is stored on-chain. So users should pay fees somehow for setting the link between referral and referrer. That’s why the referrer should bond some XOR. When a referral will join the network using the referrer’s code the bond amount will be reduced in order to pay fees.

Practice

We recommend using the SORA testnet for practice exercises. Here are the Testnet links:

  1. Polkaswap test application
  2. Polkadot js SORA testnet application
  3. Android testnet application
  4. iOS testnet application

In the practice section, we'll create a referral link and get rewards.

Bond XOR

First of all, XOR should be bonded in order to pay fees for setting up the referrals. Open the Rewards section and click Referral Program. Initially, you have 0 XOR bonded and 0 Referrals.

Untitled

Click to XOR Bonded and then on Bond more

Untitled

You can enter any amount, but keep in mind that it should be more than 0.0007 XOR in order to pay a fee for the referral.

Untitled

Now you will see XOR bonded, as well as the link that you can share with your referrals. Copy the link and send it to your friends. When they join the network, you’ll see them in the referrals list.

Untitled

Check referrals and rewards

If someone joins SORA using your referral link you’ll get this information on the referral screen.

Untitled

If your referral makes a transaction then you’ll see the reward that you get. You don’t need to claim this reward, as it will be added automatically to your XOR balance.

Untitled