Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
We are creating a referral program to pay out rewards automatically to hunters that refer. We are going to track referrals by adding a p query to the end of a url that contains their uuid such as ?p=123456. This uuid will then get saved locally inside of the local storage of the browser of the referred hunter. The property we will use to save this uuid is referred_by.
Create the url query that automatically gets generated if a user is logged in. Make sure this new url query is also included in any "copy" buttons on our website.
Context
We are creating a referral program to pay out rewards automatically to hunters that refer. We are going to track referrals by adding a
p
query to the end of a url that contains their uuid such as?p=123456
. This uuid will then get saved locally inside of the local storage of the browser of the referred hunter. The property we will use to save this uuid isreferred_by
.Create the url query that automatically gets generated if a user is logged in. Make sure this new url query is also included in any "copy" buttons on our website.
This blocks:
183
Design
The url should like this on any given page of our site: https://community.sphinx.chat/bounties?p=123456
Acceptance Criteria
Here is an example unit test
Here is an example component test