ZK Chain addresses
To enable seamless interoperability of the ZK Chain ecosystem, the Bridgehub, SharedBridges and State Transition Managers (STMs) are deployed on L1 and L2 to manage communication between ZK Chain contracts.
Learn more about Shared Bridges in the ZK Stack section. To understand the concept of ZK Chains, learn more on ZK Chains.
Getting the State Transition Manager for a ZK Chain
The Bridgehub smart contract has the read methods getAllZKChains
, that returns all registered chains, and getZKChain
that expects a chain ID as an argument and returns the address of the StateTransition (a.k.a ZK Chain) contract address.
Mainnet
Description | Address |
---|---|
Bridgehub | 0x303a465B659cBB0ab36eE643eA362c509EEb5213 |
Shared Bridge | 0xD7f9f54194C633F36CCD5F3da84ad4a1c38cB2cB |
STM (official) | 0xc2eE6b6af7d616f6e27ce7F4A451Aedc2b0F5f5C |
STM (official)
This STM, is where the ZKsync Era chain lives, and all the chains here have the same security guarantees. For chains on other STMs - the security guarantees might differ, please do your own research.
name | chain_id | Address |
---|---|---|
ZKsync Era | 324 | 0x32400084c286cf3e17e7b677ea9583e60a000324 |
Testnet (Sepolia)
Description | Address |
---|---|
Bridgehub | 0x35A54c8C757806eB6820629bc82d90E056394C92 |
SharedBridge | 0x3E8b2fe58675126ed30d0d12dea2A9bda72D18Ae |
STM (official) | 0x4e39E90746A9ee410A8Ce173C7B96D3AfEd444a5 |
STM (custom) | 0x762b5F15CAd9880ace81776f9046d6a52DD67a9b |
STM (official)
Chains:
name | chain_id | address |
---|---|---|
ZKsync Sepolia testnet | 300 | 0x9A6DE0f62Aa270A8bCB1e2610078650D539B1Ef9 |
STM (custom)
ZK Chains:
name | chain_id | address |
---|---|---|
Cronos testnet | 282 | 0xeBf961DC3904725ec916678D875B9625d5F7C29f |