SharedStake / SharedStake/SharedStake-ui
Implement stake & deposit
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Currently on the stake page https://www.sharedstake.org/stake
A user may stake their ETH generating a returned vETH2 token.
Most users choose to deposit the vETH2 token on our earn page for the reward geyser returns.
Ideally we want to make this more seamless by having either a checkbox or different button that stakes & deposits to earn.
The flow will require the same 2 extra steps as are on the earn page, to approve then deposit the token into the right geyser.
Using this button/checkbox should create 3 txs sequentially, waiting for each to succeed before popping open the next one to avoid errors.
i.e. ETH -> deposit on sharedDeposit -> approve vETH2 on geyser -> deposit vETH2 to geysers
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the stake page and the existing earn-page flow described in the issue. Trace the approval and deposit steps, then determine how the combined flow should wait for each transaction before opening the next one. Done means users can stake ETH, approve vETH2, and deposit it into the appropriate geyser through one button or checkbox flow.
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