From 64882dffbef30875bbbf2eb0d470afb287bff399 Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Mon, 16 May 2022 10:00:33 +0200 Subject: [PATCH] feat(@desktop/wallet): add support for Arbitrum L2 Fixes #5714 --- src/app_service/common/network_constants.nim | 39 ++++++++++++++++++++ vendor/status-go | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/app_service/common/network_constants.nim b/src/app_service/common/network_constants.nim index a0ced48cb2..a93f4e3397 100644 --- a/src/app_service/common/network_constants.nim +++ b/src/app_service/common/network_constants.nim @@ -174,6 +174,45 @@ let NETWORKS* = %* [ "isTest": false, "layer": 2, "enabled": true, + }, + { + "chainId": 69, + "chainName": "Optimism Kovan", + "rpcUrl": "https://optimism-kovan.infura.io/v3/" & INFURA_TOKEN_RESOLVED, + "blockExplorerUrl": "https://kovan-optimistic.etherscan.io", + "iconUrl": "", + "nativeCurrencyName": "Ether", + "nativeCurrencySymbol": "ETH", + "nativeCurrencyDecimals": 18, + "isTest": true, + "layer": 2, + "enabled": false, + }, + { + "chainId": 42161, + "chainName": "Arbitrum Mainnet", + "rpcUrl": "https://arbitrum-mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED, + "blockExplorerUrl": "https://arbiscan.io/", + "iconUrl": "", + "nativeCurrencyName": "Ether", + "nativeCurrencySymbol": "ETH", + "nativeCurrencyDecimals": 18, + "isTest": false, + "layer": 2, + "enabled": true, + }, + { + "chainId": 421611, + "chainName": "Arbitrum Testnet", + "rpcUrl": "https://arbitrum-rinkeby.infura.io/v3/" & INFURA_TOKEN_RESOLVED, + "blockExplorerUrl": " https://testnet.arbiscan.io", + "iconUrl": "", + "nativeCurrencyName": "Ether", + "nativeCurrencySymbol": "ETH", + "nativeCurrencyDecimals": 18, + "isTest": true, + "layer": 2, + "enabled": false, } ] diff --git a/vendor/status-go b/vendor/status-go index 97a99d6254..82550fca34 160000 --- a/vendor/status-go +++ b/vendor/status-go @@ -1 +1 @@ -Subproject commit 97a99d625425b4e705116ba75c9091ebfd118485 +Subproject commit 82550fca343f56fbfcb71cc416ebcd96bf5409c9