Add Kraken Wrapped Bitcoin (kBTC) token and Coinbase Wrapped BTC (cbBTC) (#2524)

* feat: add Kraken Wrapped Bitcoin (KBTC) token and fix German translation typo in Silent Payments [skip-ci]

* feat: add Coinbase Wrapped BTC (CBBTC) and Kraken Wrapped BTC (KBTC) tokens [skip-ci]
This commit is contained in:
Konstantin Ullrich
2025-09-22 08:13:01 +03:00
committed by GitHub
parent 8452f80e99
commit 47092d629c
5 changed files with 17 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

+2 -1
View File
@@ -239,7 +239,8 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
static const usdtbsc = CryptoCurrency(title: 'USDT', tag: 'BSC', fullName: 'USDT Binance coin', raw: 99, name: 'usdtbsc', iconPath: 'assets/images/usdtbsc_icon.png', decimals: 18);
static const ndeps = CryptoCurrency(title: 'NDEPS', tag: 'ETH', fullName: 'Native Decentralized Euro Protocol Share', raw: 100, name: 'ndeps', iconPath: 'assets/images/ndeps_icon.png', decimals: 18);
static const deps = CryptoCurrency(title: 'DEPS', tag: 'ETH', fullName: 'Decentralized Euro Protocol Share', raw: 101, name: 'deps', iconPath: 'assets/images/deps_icon.png', decimals: 18);
static const kbtc = CryptoCurrency(title: 'KBTC', tag: 'ETH', fullName: 'Kraken Wrapped Bitcoin', raw: 102, name: 'kbtc', iconPath: 'assets/images/kbtc_icon.png', decimals: 8);
static const cbbtc = CryptoCurrency(title: 'CBBTC', tag: 'ETH', fullName: 'Coinbase Wrapped BTC', raw: 103, name: 'cbbtc', iconPath: 'assets/images/cbbtc_icon.png', decimals: 8);
static final Map<int, CryptoCurrency> _rawCurrencyMap =
[...all, ...havenCurrencies].fold<Map<int, CryptoCurrency>>(<int, CryptoCurrency>{}, (acc, item) {
@@ -318,6 +318,20 @@ class DefaultEthereumErc20Tokens {
decimal: 18,
enabled: false,
),
Erc20Token(
name: "Kraken Wrapped Bitcoin",
symbol: "KBTC",
contractAddress: "0x73E0C0d45E048D25Fc26Fa3159b0aA04BfA4Db98",
decimal: 8,
enabled: false,
),
Erc20Token(
name: "Coinbase Wrapped BTC",
symbol: "CBBTC",
contractAddress: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
decimal: 8,
enabled: false,
),
];
List<Erc20Token> get initialErc20Tokens => _defaultTokens.map((token) {
+1 -1
View File
@@ -882,7 +882,7 @@
"silent_payments_scan_from_date": "Scan ab Datum",
"silent_payments_scan_from_date_or_blockheight": "Bitte geben Sie die Blockhöhe ein, die Sie für eingehende Silent Payments scannen möchten, oder verwenden Sie stattdessen das Datum. Sie können wählen, ob die Wallet jeden Block scannt oder nur die angegebene Höhe überprüft.",
"silent_payments_scan_from_height": "Scan aus der Blockhöhe scannen",
"silent_payments_scanned_tip": "Gescannt zum Trinkgeld! (${tip})",
"silent_payments_scanned_tip": "Zur Spitze gescannt! (${tip})",
"silent_payments_scanning": "Silent Payments scannen",
"silent_payments_settings": "Einstellungen für Silent Payments",
"single_seed_wallets_group": "Einzelne Wallets",