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

Move hardcoded addresses to addresses.ts #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paoloswap
Copy link

This PR moves all addresses scattered in various file to a single file (single point of "truth"): addresses.ts

Also the blockchain explorer address was hardcoded and now taken from App.tsx defaultChain.
This allows to make a new branch based on master and easily update addresses in just these 2 files:

  • addresses.ts
  • App.tsx & default-chain-id.ts (blockchain info)
  • .env (subgraph urls)

There are still some hardcoded addresses in SwapChart/index.ts that should be removed, but this could be done in a separate commit/PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant