mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-29 04:49:51 +00:00
Add unstoppable domains
Better error message
This commit is contained in:
parent
57fe3287fa
commit
fd4254d65b
2 changed files with 59 additions and 1 deletions
|
@ -59,7 +59,7 @@ class RobinhoodBuyProvider extends BuyProvider {
|
||||||
case WalletType.bitcoinCash:
|
case WalletType.bitcoinCash:
|
||||||
return await wallet.signMessage(message, address: wallet.walletAddresses.address);
|
return await wallet.signMessage(message, address: wallet.walletAddresses.address);
|
||||||
default:
|
default:
|
||||||
throw Exception("WalletType is not available for Robinhood ${wallet.type}");
|
throw Exception("Wallet Type ${wallet.type.name} is not available for Robinhood");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,33 +32,56 @@ class AddressResolver {
|
||||||
|
|
||||||
static const unstoppableDomains = [
|
static const unstoppableDomains = [
|
||||||
"888",
|
"888",
|
||||||
|
"academy",
|
||||||
|
"agency",
|
||||||
"altimist",
|
"altimist",
|
||||||
"anime",
|
"anime",
|
||||||
"austin",
|
"austin",
|
||||||
"bald",
|
"bald",
|
||||||
|
"bay",
|
||||||
"benji",
|
"benji",
|
||||||
"bet",
|
"bet",
|
||||||
"binanceus",
|
"binanceus",
|
||||||
"bitcoin",
|
"bitcoin",
|
||||||
"bitget",
|
"bitget",
|
||||||
|
"bitscrunch",
|
||||||
"blockchain",
|
"blockchain",
|
||||||
|
"boomer",
|
||||||
|
"boston",
|
||||||
"ca",
|
"ca",
|
||||||
|
"caw",
|
||||||
|
"cc",
|
||||||
|
"chat",
|
||||||
"chomp",
|
"chomp",
|
||||||
"clay",
|
"clay",
|
||||||
|
"club",
|
||||||
"co",
|
"co",
|
||||||
"com",
|
"com",
|
||||||
|
"company",
|
||||||
"crypto",
|
"crypto",
|
||||||
"dao",
|
"dao",
|
||||||
|
"design",
|
||||||
"dfz",
|
"dfz",
|
||||||
"digital",
|
"digital",
|
||||||
|
"doga",
|
||||||
|
"donut",
|
||||||
"dream",
|
"dream",
|
||||||
|
"email",
|
||||||
|
"emir",
|
||||||
"eth",
|
"eth",
|
||||||
"ethermail",
|
"ethermail",
|
||||||
|
"family",
|
||||||
"farms",
|
"farms",
|
||||||
|
"finance",
|
||||||
"fun",
|
"fun",
|
||||||
|
"fyi",
|
||||||
|
"games",
|
||||||
|
"global",
|
||||||
"go",
|
"go",
|
||||||
"group",
|
"group",
|
||||||
|
"guru",
|
||||||
"hi",
|
"hi",
|
||||||
|
"hockey",
|
||||||
"host",
|
"host",
|
||||||
"info",
|
"info",
|
||||||
"io",
|
"io",
|
||||||
|
@ -68,43 +91,78 @@ class AddressResolver {
|
||||||
"lfg",
|
"lfg",
|
||||||
"life",
|
"life",
|
||||||
"live",
|
"live",
|
||||||
|
"llc",
|
||||||
|
"ltc",
|
||||||
"ltd",
|
"ltd",
|
||||||
"manga",
|
"manga",
|
||||||
|
"me",
|
||||||
|
"media",
|
||||||
"metropolis",
|
"metropolis",
|
||||||
|
"miami",
|
||||||
|
"miku",
|
||||||
|
"money",
|
||||||
"moon",
|
"moon",
|
||||||
"mumu",
|
"mumu",
|
||||||
"net",
|
"net",
|
||||||
|
"network",
|
||||||
|
"news",
|
||||||
"nft",
|
"nft",
|
||||||
|
"npc",
|
||||||
|
"onchain",
|
||||||
"online",
|
"online",
|
||||||
"org",
|
"org",
|
||||||
|
"podcast",
|
||||||
"pog",
|
"pog",
|
||||||
"polygon",
|
"polygon",
|
||||||
"press",
|
"press",
|
||||||
|
"privacy",
|
||||||
"pro",
|
"pro",
|
||||||
"propykeys",
|
"propykeys",
|
||||||
"pudgy",
|
"pudgy",
|
||||||
"pw",
|
"pw",
|
||||||
|
"quantum",
|
||||||
|
"rad",
|
||||||
"raiin",
|
"raiin",
|
||||||
|
"retardio",
|
||||||
|
"rip",
|
||||||
|
"rocks",
|
||||||
"secret",
|
"secret",
|
||||||
|
"services",
|
||||||
"site",
|
"site",
|
||||||
"smobler",
|
"smobler",
|
||||||
|
"social",
|
||||||
|
"solutions",
|
||||||
"space",
|
"space",
|
||||||
"stepn",
|
"stepn",
|
||||||
"store",
|
"store",
|
||||||
|
"studio",
|
||||||
|
"systems",
|
||||||
"tball",
|
"tball",
|
||||||
|
"tea",
|
||||||
|
"team",
|
||||||
"tech",
|
"tech",
|
||||||
|
"technology",
|
||||||
|
"today",
|
||||||
|
"tribe",
|
||||||
|
"u",
|
||||||
"ubu",
|
"ubu",
|
||||||
"uno",
|
"uno",
|
||||||
"unstoppable",
|
"unstoppable",
|
||||||
|
"vip",
|
||||||
"wallet",
|
"wallet",
|
||||||
"website",
|
"website",
|
||||||
|
"wif",
|
||||||
"wifi",
|
"wifi",
|
||||||
"witg",
|
"witg",
|
||||||
|
"work",
|
||||||
|
"world",
|
||||||
"wrkx",
|
"wrkx",
|
||||||
|
"wtf",
|
||||||
"x",
|
"x",
|
||||||
"xmr",
|
"xmr",
|
||||||
"xyz",
|
"xyz",
|
||||||
"zil",
|
"zil",
|
||||||
|
"zone"
|
||||||
];
|
];
|
||||||
|
|
||||||
static String? extractAddressByType({required String raw, required CryptoCurrency type}) {
|
static String? extractAddressByType({required String raw, required CryptoCurrency type}) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue