rewards_rervice's People
rewards_rervice's Issues
[EPIC] Referral Program
What to do?
We need to implement the mechanic for the zkBob referral program
The mechanic of the referral program:
We will split between referral and referee difference that the relayer actually spends for a transfer inside the pool with a fixed relayer fee (0.1 BOB)
Main mechanic and user flow you can find here - https://www.notion.so/blockscout/Referral-program-7af5b0c4d84e42608204041bad85162d
@r0wdy1 Could you please decompose this task before planning?
UPD 19.01:
Decomposition could be found here ๐
https://www.notion.so/blockscout/Referral-program-7af5b0c4d84e42608204041bad85162d#530fd3c7fa9b4eb7b36e69b5dce6a05f
The flow:
- The Referrer generates a link with a ref_code query parameter and shares it with Referee(s).
- The Referee gets a link somewhere and gets through onboarding process. Ref_code is automatically saved when account setup happens
- The Referee makes a transfer, the ref code is appended to the transaction memo
- At the end of reporting period, all of the transactions are grouped by ref_code and rewards are calculated and automatically sent to the Refferer ZK address
- UI: zkBob/zkbob-ui#131
- UI: zkBob/zkbob-ui#132
- libzkbob-rs: zkBob/libzkbob-rs/issues/44
- clientjs-lib: zkBob/zkbob-client-js/issues/90
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.