Skip to content

Commit

Permalink
fix: cleanup contract addresses (#171)
Browse files Browse the repository at this point in the history
# Description

* Cleaned up the page with contract addresses.
* Added small explanation for people who are having issues with github
api.
  • Loading branch information
mm-zk authored Aug 5, 2024
1 parent d0f0d1a commit ebbe26b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 29 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,10 @@ If you want to contribute tutorials to our Docs, check out the
[Community Code repo](https://github.com/zkSync-Community-Hub/community-code?tab=readme-ov-file#community-code)!

Join us in making ZKsync Docs better for everyone! 🌐✨

## Issues

### 'failed to fetch git tree'

If your bun install fails with 'failed to fetch git tree', this is probably due to the github rate limiting the API
for unauthorized accesses. You either have to wait, change ip address or pass the github authorization token.
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,46 @@ The return value is the address of the StateTransition (a.k.a ZK Chain) contract

## Mainnet

Bridgehub: https://etherscan.io/address/0x303a465B659cBB0ab36eE643eA362c509EEb5213

SharedBridge address: 0xD7f9f54194C633F36CCD5F3da84ad4a1c38cB2cB
| Description | Address |
| -------------- | ------- |
| Bridgehub | [0x303a465B659cBB0ab36eE643eA362c509EEb5213](https://etherscan.io/address/0x303a465B659cBB0ab36eE643eA362c509EEb5213) |
| Shared Bridge | [0xD7f9f54194C633F36CCD5F3da84ad4a1c38cB2cB](https://etherscan.io/address/0xD7f9f54194C633F36CCD5F3da84ad4a1c38cB2cB) |
| STM (official) | [0xc2eE6b6af7d616f6e27ce7F4A451Aedc2b0F5f5C](https://etherscan.io/address/0xc2eE6b6af7d616f6e27ce7F4A451Aedc2b0F5f5C) |

### STM (official)
This STM, is where the official 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.

STM address: 0xc2eE6b6af7d616f6e27ce7F4A451Aedc2b0F5f5C

Chains:

| name | chain_id | description | address |
| --- | --- | --- | --- |
| ZKsync Era | 324 | zksync era mainnet | [0x32400084c286cf3e17e7b677ea9583e60a000324](https://etherscan.io/address/0x32400084c286cf3e17e7b677ea9583e60a000324) |
| name | chain_id | Address |
| ---------- | --------- | --- |
| ZKsync Era | 324 | [0x32400084c286cf3e17e7b677ea9583e60a000324](https://etherscan.io/address/0x32400084c286cf3e17e7b677ea9583e60a000324) |
| Cronos | 388 | [0x7b2DA4e77BAE0e0d23c53C3BE6650497d0576CFc](https://etherscan.io/address/0x7b2DA4e77BAE0e0d23c53C3BE6650497d0576CFc) |

## Testnet
## Testnet (Sepolia)

Bridgehub: https://sepolia.etherscan.io/address/0x35A54c8C757806eB6820629bc82d90E056394C92
SharedBridge: https://sepolia.etherscan.io/address/0x3E8b2fe58675126ed30d0d12dea2A9bda72D18Ae
| Description | Address |
| -------------- | ------- |
| Bridgehub | [0x35A54c8C757806eB6820629bc82d90E056394C92](https://sepolia.etherscan.io/address/0x35A54c8C757806eB6820629bc82d90E056394C92) |
| SharedBridge | [0x3E8b2fe58675126ed30d0d12dea2A9bda72D18Ae](https://sepolia.etherscan.io/address/0x3E8b2fe58675126ed30d0d12dea2A9bda72D18Ae) |
| STM (official) | [0x4e39E90746A9ee410A8Ce173C7B96D3AfEd444a5](https://sepolia.etherscan.io/address/0x4e39E90746A9ee410A8Ce173C7B96D3AfEd444a5) |
| STM (custom) | [0x762b5F15CAd9880ace81776f9046d6a52DD67a9b](https://sepolia.etherscan.io/address/0x762b5F15CAd9880ace81776f9046d6a52DD67a9b) |

### STM (official)
STM: 0x4e39E90746A9ee410A8Ce173C7B96D3AfEd444a5

ZK Chains:

| name | chain_id | description | address |
|------------------------|-----------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| ZKsync Sepolia testnet | 300 | zksync era testnet | [0x9A6DE0f62Aa270A8bCB1e2610078650D539B1Ef9](https://sepolia.etherscan.io/address/0x9A6DE0f62Aa270A8bCB1e2610078650D539B1Ef9) |
| GRVT | 326 | Gravity Sepolia testnet | 0x0e4Bd2E8D953a0234Fb1122FFB848B49522308eC |
| ?? | 444 | ?? | 0x2F45Fc02ec23e6D335fdE7B5a5083F053C8C2aD3 |
| ?? | 11124 | ?? | 0x8aD52ff836A30f063dF51A00C99518880B8b36ac |
| ?? | 327 | ?? | 0xB484A3F98bCbAAf50d66292463203c0247B4f3F6 |
| ?? | 531050104 | ?? | 0xDd02368f378EeD3779B358D2020a77e4D022236D |
Chains:

### STM (custom - Cronos)
| name | chain_id | address |
|------------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------|
| ZKsync Sepolia testnet | 300 | [0x9A6DE0f62Aa270A8bCB1e2610078650D539B1Ef9](https://sepolia.etherscan.io/address/0x9A6DE0f62Aa270A8bCB1e2610078650D539B1Ef9) |
| Gravity testnet | 326 | [0x0e4Bd2E8D953a0234Fb1122FFB848B49522308eC](https://sepolia.etherscan.io/address/0x0e4Bd2E8D953a0234Fb1122FFB848B49522308eC) |
| Abstract testnet | 11124 | [0x8aD52ff836A30f063dF51A00C99518880B8b36ac](https://sepolia.etherscan.io/address/0x8aD52ff836A30f063dF51A00C99518880B8b36ac) |
| Sophon testnet | 531050104 | [0xDd02368f378EeD3779B358D2020a77e4D022236D](https://sepolia.etherscan.io/address/0xDd02368f378EeD3779B358D2020a77e4D022236D) |
| obsolete | 444 | [0x2F45Fc02ec23e6D335fdE7B5a5083F053C8C2aD3](https://sepolia.etherscan.io/address/0x2F45Fc02ec23e6D335fdE7B5a5083F053C8C2aD3) |
| obsolete | 327 | [0xB484A3F98bCbAAf50d66292463203c0247B4f3F6](https://sepolia.etherscan.io/address/0xB484A3F98bCbAAf50d66292463203c0247B4f3F6) |

STM: 0x762b5F15CAd9880ace81776f9046d6a52DD67a9b
### STM (custom )

ZK Chains:
| name | chain_id | description | address |
| --- | --- | --- | --- |
| Cronos testnet | 282 | Cronos testnet | 0xeBf961DC3904725ec916678D875B9625d5F7C29f |
| name | chain_id | address |
| --------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Cronos testnet | 282 | [0xeBf961DC3904725ec916678D875B9625d5F7C29f](https://sepolia.etherscan.io/address/0xeBf961DC3904725ec916678D875B9625d5F7C29f) |

0 comments on commit ebbe26b

Please sign in to comment.