Skip to content

chore(statics): config changes for hoodi #6489

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged

chore(statics): config changes for hoodi #6489

merged 1 commit into from
Jul 23, 2025

Conversation

kamleshmugdiya
Copy link
Contributor

@kamleshmugdiya kamleshmugdiya commented Jul 21, 2025

This pull request introduces support for a new Ethereum test network called "Hoodi" and includes logic to dynamically determine the network name based on the environment (staging or test). The changes involve updates to the coin and network configuration files to integrate the new test network.

Support for the Hoodi Test Network:

  • Added a new Hoodi class in modules/statics/src/networks.ts to define the network properties, including chain ID, explorer URLs, and contract addresses.
  • Registered the Hoodi network in the Networks object in modules/statics/src/networks.ts.

Dynamic Environment-Based Network Name:

  • Updated the hteth coin configuration in modules/statics/src/coins.ts to use Hoodi Testnet Ethereum as the name in staging environments and Holesky Testnet Ethereum otherwise.
  • Introduced a new helper function isRunningInStaging in modules/statics/src/coins.ts to determine if the application is running in a staging environment by checking specific environment variables.

TICKET: COIN-4804

@kamleshmugdiya kamleshmugdiya changed the title chore(static): config changes for hoodi chore(statics): config changes for hoodi Jul 21, 2025
@kamleshmugdiya kamleshmugdiya force-pushed the COIN-4804 branch 4 times, most recently from d794a75 to dc4f37f Compare July 23, 2025 06:51
@kamleshmugdiya kamleshmugdiya marked this pull request as ready for review July 23, 2025 07:30
@kamleshmugdiya kamleshmugdiya requested review from a team as code owners July 23, 2025 07:30
@kamleshmugdiya kamleshmugdiya merged commit 67eb22d into master Jul 23, 2025
11 of 12 checks passed
@kamleshmugdiya kamleshmugdiya self-assigned this Jul 24, 2025
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.

2 participants