SharedStake / SharedStake/SharedStake-ui

[v2][Feature] Add referrals

Open
#154 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue help wanted V2
Dominant language
JavaScript
Stars
16
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Add a referrals feature for referral rewards from ETH staker yield.
i.e.

  • if the user loads the website via a referral url such as sharedstake.org/ref/<address> cache the address locally
  • create an advanced options dropdown where users can enter their referral address
  • Re-use the referral address when making a call to the contracts. if one is supplied us the DepositHelper which fires events

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the website handles referral URLs and where contract calls are made. Review the advanced options flow and the DepositHelper path; the work is done when referral addresses can be loaded or entered, cached locally, and reused for referral-aware contract calls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.