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

Create development and production config files #173

Open
kubic71 opened this issue Aug 17, 2024 · 1 comment
Open

Create development and production config files #173

kubic71 opened this issue Aug 17, 2024 · 1 comment

Comments

@kubic71
Copy link
Collaborator

kubic71 commented Aug 17, 2024

We need an easy way to switch development and production chains (Optimism Sepolia, Arbitrum One) without modifying code.

@kubic71
Copy link
Collaborator Author

kubic71 commented Aug 17, 2024

Right now, for the SetStone contract deployement on Arbitrum One, we need to change:

  • setStoneContractAddress in constants.js
  • chainIds of the relevant readContracts and add import statement in populate_trophy_cases.js
  • similar thing in strike_set_stones.js and add_show_for_stone_minting.js

This is bad because it involves modifying the code, we would ideally want to parametrize that with dev and production config files

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

No branches or pull requests

1 participant