diff --git a/lib/bitcoin/cw_bitcoin.dart b/lib/bitcoin/cw_bitcoin.dart index d42e5c34f..dc4f6947b 100644 --- a/lib/bitcoin/cw_bitcoin.dart +++ b/lib/bitcoin/cw_bitcoin.dart @@ -510,7 +510,7 @@ class CWBitcoin extends Bitcoin { if (!getNodeIsCakeElectrs(wallet)) { final node = Node( useSSL: false, - uri: '198.58.111.154:${(wallet.network == BitcoinNetwork.testnet ? 50002 : 50001)}', + uri: 'electrs.cakewallet.com:${(wallet.network == BitcoinNetwork.testnet ? 50002 : 50001)}', ); node.type = WalletType.bitcoin; @@ -536,7 +536,7 @@ class CWBitcoin extends Bitcoin { if (!getNodeIsCakeElectrs(wallet)) { final node = Node( useSSL: false, - uri: '198.58.111.154:${(wallet.network == BitcoinNetwork.testnet ? 50002 : 50001)}', + uri: 'electrs.cakewallet.com:${(wallet.network == BitcoinNetwork.testnet ? 50002 : 50001)}', ); node.type = WalletType.bitcoin; await bitcoinWallet.connectToNode(node: node); @@ -549,7 +549,7 @@ class CWBitcoin extends Bitcoin { final bitcoinWallet = wallet as ElectrumWallet; final node = bitcoinWallet.node; - return node?.uri.host == '198.58.111.154' && + return node?.uri.host == 'electrs.cakewallet.com' && node?.uri.port == (wallet.network == BitcoinNetwork.testnet ? 50002 : 50001); } diff --git a/lib/entities/default_settings_migration.dart b/lib/entities/default_settings_migration.dart index b2509c4bb..57c6637fc 100644 --- a/lib/entities/default_settings_migration.dart +++ b/lib/entities/default_settings_migration.dart @@ -24,8 +24,8 @@ import 'package:collection/collection.dart'; const newCakeWalletMoneroUri = 'xmr-node.cakewallet.com:18081'; const cakeWalletBitcoinElectrumUri = 'electrum.cakewallet.com:50002'; -const cakeWalletSilentPaymentsElectrsUri = '198.58.111.154:50001'; -const publicBitcoinTestnetElectrumAddress = '198.58.111.154'; +const cakeWalletSilentPaymentsElectrsUri = 'electrs.cakewallet.com:50001'; +const publicBitcoinTestnetElectrumAddress = 'electrs.cakewallet.com'; const publicBitcoinTestnetElectrumPort = '50002'; const publicBitcoinTestnetElectrumUri = '$publicBitcoinTestnetElectrumAddress:$publicBitcoinTestnetElectrumPort'; diff --git a/lib/src/screens/dashboard/pages/balance_page.dart b/lib/src/screens/dashboard/pages/balance_page.dart index 24ab12d10..2f6a10bb3 100644 --- a/lib/src/screens/dashboard/pages/balance_page.dart +++ b/lib/src/screens/dashboard/pages/balance_page.dart @@ -266,8 +266,8 @@ class CryptoBalanceWidget extends StatelessWidget { GestureDetector( behavior: HitTestBehavior.opaque, onTap: () => launchUrl( - // TODO: Update URL - Uri.https("guides.cakewallet.com"), + Uri.parse( + "https://guides.cakewallet.com/docs/cryptos/bitcoin/#silent-payments"), mode: LaunchMode.externalApplication, ), child: Row(