Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report-reward-dist #1821

Open
Raj6939 opened this issue Dec 23, 2022 · 0 comments
Open

report-reward-dist #1821

Raj6939 opened this issue Dec 23, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Raj6939
Copy link
Collaborator

Raj6939 commented Dec 23, 2022

Branch Link is here
Admin-side

  • Create Airdrop through fyre
  • need to add a friendly value feature to take the amount of token admin wants to distributed
  • wallet addresses and amount through CSV file
  • only simple input is supported as of now (textbox)
  • necessary validations added but need to check more scenarios
  • Fyre platform fee (10% as now) added with Fyre wallet address through the backend once admin initiates the reward-dist process
  • whitelisted wallet address and their respective amount stored in DB to show the list on the participant side

Participant side

  • When an event is over then only the reward claim action is shown
  • list of all whitelisted address are fetched from the backend when the user clicks on the list
  • user can import a particular token directly in his metamask wallet by clicking import in the Prize Per Winner column
  • by clicking claim user can claim a reward
  • double claiming restricted
  • need to add more user-friendly UI
    To run this in local
  • for frontend take a pull of branch mentioned above
  • npm i
  • npm run dev
  • take a pull of backend branch reward_distribution/633
  • Add Below fields n env
    • FYRE_WALLET_ADDRESS
    • REWARD_COMMISSION_PERCENT
  • Install redis if not installed
    • sudo apt install redis-server
    • update redis.config by using command( sudo nano /etc/redis/redis.config) and update supervised no to supervised systemd
  • start redis server as sudo service redis-server start
  • yarn
  • yarn start:dev
@varsha766 varsha766 added the documentation Improvements or additions to documentation label Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants