Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions src/constants/WalletAndCurrencyConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const IMAGE_SERVER_URL = 'https://content.edge.app'
export const CURRENCY_SYMBOL_IMAGES = {
BCH: `${IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
BTC: `${IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
BTCV: `${IMAGE_SERVER_URL}/bitcoinvault-logo-solo-64.png`,
ETH: `${IMAGE_SERVER_URL}/ethereum-logo-solo-64.png`,
ETC: `${IMAGE_SERVER_URL}/ethereum-classic-logo-solo-64.png`
}
Expand All @@ -29,6 +30,7 @@ export const DEFAULT_STARTER_WALLET_NAMES = {
BNB: s.strings.string_first_bnb_wallet_name,
BSV: s.strings.string_first_bitcoin_sv_wallet_name,
BTC: s.strings.string_first_bitcoin_wallet_name,
BTCV: s.strings.string_first_bitcoinvault_wallet_name,
BTG: s.strings.string_first_bitcoin_gold_wallet_name,
DASH: s.strings.string_first_dash_wallet_name,
DGB: s.strings.string_first_digibyte_wallet_name,
Expand Down Expand Up @@ -81,7 +83,9 @@ export const CURRENCY_SETTINGS_KEYS = [
'smartcash',
'groestlcoin',
'eboost',
'ufo'
'ufo',
'bitcoinvault',
'bitcoinvaulttestnet'
]

/**
Expand Down Expand Up @@ -115,7 +119,9 @@ export const WALLET_TYPE_ORDER = [
'wallet:ufo',
'wallet:telos',
'wallet:wax',
'wallet:fantom'
'wallet:fantom',
'wallet:bitcoinvault',
'wallet:bitcoinvaulttestnet'
]

// Put these in reverse order of preference
Expand Down Expand Up @@ -153,7 +159,9 @@ export const CURRENCY_PLUGIN_NAMES = {
XMR: 'monero',
XRP: 'ripple',
XTZ: 'tezos',
FIRO: 'zcoin'
FIRO: 'zcoin',
BTCV: 'bitcoinvault',
TBTCV: 'bitcoinvaulttestnet'
}

type SpecialCurrencyInfo = {|
Expand Down Expand Up @@ -438,6 +446,9 @@ export const SPECIAL_CURRENCY_INFO: {
QTUM: {
isPrivateKeySweepable: true
},
BTCV: {
isPrivateKeySweepable: true
},
FTM: {
dummyPublicAddress: '0x0d73358506663d484945ba85d0cd435ad610b0a0',
isImportKeySupported: {
Expand Down Expand Up @@ -502,7 +513,9 @@ export const WALLET_LIST_MENU: Array<{
'RVN',
'RBTC',
'TESTBTC',
'XMR'
'XMR',
'BTCV',
'TBTCV'
],
label: s.strings.fragment_wallets_view_xpub,
value: 'viewXPub'
Expand Down
1 change: 1 addition & 0 deletions src/locales/en_US.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ const strings = {
string_first_ethereum_wallet_name: 'My Ether',
string_first_bitcoin_wallet_name: 'My Bitcoin',
string_first_bitcoincash_wallet_name: 'My Bitcoin Cash',
string_first_bitcoinvault_wallet_name: 'My Bitcoin Vault',
string_first_bitcoin_sv_wallet_name: 'My Bitcoin SV',
string_first_bitcoin_gold_wallet_name: 'My Bitcoin Gold',
string_first_dash_wallet_name: 'My Dash',
Expand Down
1 change: 1 addition & 0 deletions src/locales/strings/enUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
"string_first_ethereum_wallet_name": "My Ether",
"string_first_bitcoin_wallet_name": "My Bitcoin",
"string_first_bitcoincash_wallet_name": "My Bitcoin Cash",
"string_first_bitcoinvault_wallet_name": "My Bitcoin Vault",
"string_first_bitcoin_sv_wallet_name": "My Bitcoin SV",
"string_first_bitcoin_gold_wallet_name": "My Bitcoin Gold",
"string_first_dash_wallet_name": "My Dash",
Expand Down
2 changes: 2 additions & 0 deletions src/util/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export const currencyPlugins = {
bitcoingoldtestnet: false,
bitcoinsv: true,
bitcointestnet: true,
bitcoinvault: true,
bitcoinvaulttestnet: true,
dash: true,
digibyte: true,
dogecoin: true,
Expand Down