Skip to content

Commit

Permalink
add zkSync Mainnet (#3107)
Browse files Browse the repository at this point in the history
* add zkSync Mainnet

* add NODL contract

* add explorer, fix api url
  • Loading branch information
leohar authored Oct 8, 2024
1 parent 1f81061 commit e5e4f46
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/evm/v2/assets_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -637,5 +637,18 @@
"contractAddress": "0xBA41Ddf06B7fFD89D1267b5A93BFeF2424eb2003"
}
]
},
{
"symbol": "NODL",
"precision": 18,
"name": "Nodle token",
"priceId": "nodle-network",
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/chains/white/Nodle.svg",
"instances": [
{
"chainId": "eip155:324",
"contractAddress": "0xBD4372e44c5eE654dd838304006E1f0f69983154"
}
]
}
]
54 changes: 54 additions & 0 deletions chains/v20/chains_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -11199,5 +11199,59 @@
"ethereumBased",
"noSubstrateRuntime"
]
},
{
"chainId": "eip155:324",
"name": "ZKsync Era Mainnet",
"assets": [
{
"assetId": 0,
"symbol": "ETH",
"priceId": "ethereum",
"type": "evmNative",
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/tokens/white/ETH.svg",
"precision": 18
}
],
"nodeSelectionStrategy": "uniform",
"nodes": [
{
"url": "https://mainnet.era.zksync.io",
"name": "http node"
},
{
"url": "wss://mainnet.era.zksync.io/ws",
"name": "wss node"
}
],
"explorers": [
{
"name": "ZKsync Era explorer",
"extrinsic": "https://era.zksync.network/tx/{hash}",
"account": "https://era.zksync.network/address/{address}"
},
{
"name": "Block explorer",
"extrinsic": "https://explorer.zksync.io/tx/{hash}",
"account": "https://explorer.zksync.io/address/{address}"
}
],
"externalApi": {
"history": [
{
"type": "etherscan",
"url": "https://api-era.zksync.network/api",
"parameters": {
"assetType": "evm"
}
}
]
},
"icon": "https://raw.githubusercontent.com/novasamatech/nova-utils/master/icons/chains/gradient/ZKsync_Mainnet.svg",
"addressPrefix": 324,
"options": [
"ethereumBased",
"noSubstrateRuntime"
]
}
]
15 changes: 15 additions & 0 deletions icons/chains/gradient/ZKsync_Mainnet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e5e4f46

Please sign in to comment.