Skip to content

Conversation

@owenwahlgren
Copy link
Contributor

Add support for local Avalanche network (chain ID 43112) to enable local development and testing with avalanche-cli or similar local networks.

🔺 Generated by DevRel swarm

Add support for local Avalanche network (chain ID 43112) to enable local development and testing with avalanche-cli or similar local networks.
@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
avalanche-sdk-typescript Ready Ready Preview Comment Dec 9, 2025 7:04pm

Add new exports to snapshot tests:
- avalancheLocal chain
- Local network IDs (P_CHAIN_LOCAL_ID, X_CHAIN_LOCAL_ID, C_CHAIN_LOCAL_ID)
- LOCAL_NETWORK_ID constant
- AVALANCHE_CHAIN_IDS and AVALANCHE_NETWORK_IDS maps
SayanKar
SayanKar previously approved these changes Dec 9, 2025
Replace hardcoded chain ID comparisons with AVALANCHE_CHAIN_ID_VALUES
array derived from the AVALANCHE_CHAIN_IDS constant. This makes it
easier to add new chains without modifying multiple conditions.
@SayanKar SayanKar merged commit 85a8391 into main Dec 9, 2025
8 checks passed
@SayanKar SayanKar deleted the feat/add-avalanche-local-chain branch December 9, 2025 19:34
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.

3 participants