Skip to content

Conversation

@ArunBala-Bitgo
Copy link
Contributor

@ArunBala-Bitgo ArunBala-Bitgo commented Jan 14, 2026

Ticket: WIN-8193

Summary

Adds statics configuration for zkSync Era blockchain, enabling support for the zkSync Era network in BitGo.

Changes

Statics Configuration

Networks (modules/statics/src/networks.ts):

  1. Added ZkSyncEra mainnet class (chainId: 324)
  2. Added ZkSyncEraTestnet class (chainId: 300, Sepolia)
  3. Configured explorer URLs, contract addresses, and operation hash prefixes

Coin Definition (modules/statics/src/allCoinsAndTokens.ts):

  1. Added zksyncera (mainnet) and tzksyncera (testnet) coins
  2. Uses ZKSYNCERA_FEATURES feature set

Base Types (modules/statics/src/base.ts):

  1. Added CoinFamily.ZKSYNCERA
  2. Added UnderlyingAsset.ZKSYNCERA

Coin Features (modules/statics/src/coinFeatures.ts):

  1. Added ZKSYNCERA_FEATURES with shared EVM SDK support, multisig cold, and rollup chain features

Environment Configuration

Environments (modules/sdk-core/src/bitgo/environments.ts):

  1. Added zksyncera to evm config for mainnet and testnet

Test Updates

  1. Updated expectedColdFeatures.ts to include zksyncera/tzksyncera in the "both" category (supports both multisig and TSS cold)
  2. Added exclusion for UnderlyingAsset.ZKSYNCERA in keychains test (pending coin-specific module)
  3. Added unit tests for zkSync Era configuration

Notes

  1. zkSync Era shares chainId 324/300 with existing zketh coin
  2. coinNameFromChainId(324) returns 'zketh' for backward compatibility
  3. zksyncera is accessible via coins.get('zksyncera') directly

@ArunBala-Bitgo ArunBala-Bitgo force-pushed the WIN-8193-2 branch 2 times, most recently from a5cb38d to 47671d6 Compare January 14, 2026 10:16
@ArunBala-Bitgo ArunBala-Bitgo marked this pull request as ready for review January 14, 2026 11:45
@ArunBala-Bitgo ArunBala-Bitgo requested review from a team as code owners January 14, 2026 11:45
@ArunBala-Bitgo ArunBala-Bitgo merged commit 44a167d into master Jan 15, 2026
20 checks passed
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.

5 participants