-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor network configuration to support multiple environments
Introduced a type-safe `Network` and `Networks` structure to manage multiple network environments (testnet and mainnet). The selected network is now determined dynamically based on the `CHAIN_ID` environment variable, simplifying the configuration process and reducing hard-coded values. Added error handling for unsupported `CHAIN_ID` values.
- Loading branch information
1 parent
4852609
commit c0b151c
Showing
2 changed files
with
61 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters