From 74ab70df7e92bb854bcd46e5e6d573b366388a4f Mon Sep 17 00:00:00 2001 From: likho Date: Thu, 19 Jan 2023 10:45:09 +0200 Subject: [PATCH] Use mainnet --- lib/services/coins/ethereum/ethereum_wallet.dart | 2 +- lib/utilities/default_nodes.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/coins/ethereum/ethereum_wallet.dart b/lib/services/coins/ethereum/ethereum_wallet.dart index cd4c7a92f..8c9f42455 100644 --- a/lib/services/coins/ethereum/ethereum_wallet.dart +++ b/lib/services/coins/ethereum/ethereum_wallet.dart @@ -85,7 +85,7 @@ class GasTracker { class EthereumWallet extends CoinServiceAPI { NodeModel? _ethNode; final _gasLimit = 21000; - final _blockExplorer = "https://eth-goerli.blockscout.com/api?"; + final _blockExplorer = "https://blockscout.com/eth/mainnet/api?"; final _gasTrackerUrl = "https://beaconcha.in/api/v1/execution/gasnow"; @override diff --git a/lib/utilities/default_nodes.dart b/lib/utilities/default_nodes.dart index 30cee1368..2055b9f17 100644 --- a/lib/utilities/default_nodes.dart +++ b/lib/utilities/default_nodes.dart @@ -136,7 +136,7 @@ abstract class DefaultNodes { //TODO - Update with correct node details for ETH static NodeModel get ethereum => NodeModel( - host: "https://goerli.infura.io/v3/22677300bf774e49a458b73313ee56ba", + host: "https://mainnet.infura.io/v3/22677300bf774e49a458b73313ee56ba", port: 1234, name: defaultName, id: _nodeId(Coin.ethereum),