OriginProtocol / OriginProtocol/origin-dollar

Further reduce alchemy calls

Open
#318 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dapp good first issue P3
Dominant language
Solidity
Stars
152
Forks
115
Avg merge
3d 20h
Merged PRs (30d)
17

Description

See if we can further reduce alchemy calls. We could probably implement a logic where account allowances are not constantly queried. Query it only when we detect in the UI that the user has approved higher allowance and on load.

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

No file, test, or entry point is named. Trace the UI's allowance checks and the Alchemy requests made on load and during approval flows; done means allowance data is queried on load and again only when the UI detects that the user approved a higher allowance.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.