fix: point Dogecoin and Litecoin default explorer links at sochain.com
What changed, and why it matters
This commit simply updates the default web links used to look up Dogecoin and Litecoin transactions. The old chain.so URLs now redirect twice before showing the transaction, so the developer pointed the wallet directly at the new sochain.com address format. It is a routine maintenance change to keep the 'View on block explorer' feature working smoothly.
No security action required. Treat as normal functional maintenance. If desired, verify the new sochain.com URL patterns resolve correctly for a sample mainnet and testnet transaction ID.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch changes the defaultBlockExplorer() URI templates in dogecoin.dart and litecoin.dart from https://chain.so/tx/{COIN}/{txid} to https://sochain.com/{coin}/tx/{txid} for both mainnet and testnet. The old chain.so URLs reportedly now perform two HTTP redirects before landing on the canonical sochain.com transaction page; the patch skips those redirects by using the current canonical URL form directly. No code logic, cryptography, networking, or trust assumptions are altered.
Changed components
lib/wallets/crypto_currency/coins/dogecoin.dartlib/wallets/crypto_currency/coins/litecoin.dartInspect captured patch +4 / −4
### lib/wallets/crypto_currency/coins/dogecoin.dart
@@ -241,9 +241,9 @@ class Dogecoin extends Bip39HDCurrency with ElectrumXCurrencyInterface {
Uri defaultBlockExplorer(String txid) {
switch (network) {
case CryptoCurrencyNetwork.main:
- return Uri.parse("https://chain.so/tx/DOGE/$txid");
+ return Uri.parse("https://sochain.com/doge/tx/$txid");
case CryptoCurrencyNetwork.test:
- return Uri.parse("https://chain.so/tx/DOGETEST/$txid");
+ return Uri.parse("https://sochain.com/dogetest/tx/$txid");
default:
throw Exception(
"Unsupported network for defaultBlockExplorer(): $network",
### lib/wallets/crypto_currency/coins/litecoin.dart
@@ -278,9 +278,9 @@ class Litecoin extends Bip39HDCurrency with ElectrumXCurrencyInterface {
Uri defaultBlockExplorer(String txid) {
switch (network) {
case CryptoCurrencyNetwork.main:
- return Uri.parse("https://chain.so/tx/LTC/$txid");
+ return Uri.parse("https://sochain.com/ltc/tx/$txid");
case CryptoCurrencyNetwork.test:
- return Uri.parse("https://chain.so/tx/LTCTEST/$txid");
+ return Uri.parse("https://sochain.com/ltctest/tx/$txid");
default:
throw Exception(
"Unsupported network for defaultBlockExplorer(): $network",Why this scored 17/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.