mysteriumnetwork / node

Mysterium Network Node - official implementation of distributed VPN network (dVPN) protocol
https://mysterium.network
GNU General Public License v3.0
1.12k stars 312 forks source link

Consumers should be able to create referral codes #2886

Closed chompomonim closed 3 years ago

chompomonim commented 4 years ago

dVPN app consumers should be able to generate referral code out of their app user interface (mobile, desktop, cli) and share it its friends.

Code can be used up to 3 times and will topup up to 10MYSTT for its user and same amount to referee.

In addition to code itself, UIs should show how many times code was used.

vkuznecovas commented 4 years ago

Transactor already exposes such an endpoint. /rp/tokens/request

vkuznecovas commented 4 years ago

Cli already exposes such a command identities referralcode <identity>

chompomonim commented 3 years ago

UI related tasks moved into #2960 and #2961.