OriginProtocol / OriginProtocol/origin-dollar
Handle dropped and replaced transactions v 2.0
Nobody has claimed this yet.
- Dominant language
- Solidity
- Stars
- 152
- Forks
- 115
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 17
Description
For the transaction side bar view in the /mint part of the dapp we already implemented the logic so that the dapp is able to handle dropped&replaced transactions --> see issue & PR
It would be cool if we could develop a utility function that can listen for transaction being mined (replacing this part), and also be able to handle that transaction being dropped and replaced / speed up with more gwei.
We could then use that on parts of the dapp not yet supporting it:
- approve stable coin before minting
- staking OGN
- claiming staked OGN
- claiming OGN compensation
- claiming OUSD compensation
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 with the transaction handling in the /mint sidebar and the referenced section of dapp/src/components/buySell/BuySellWidget.js. Trace how mined transactions are currently awaited, then compare the listed approval, staking, and compensation flows. Done means a shared utility handles mined transactions and dropped or replaced transactions across those uses.
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