edge-currency-plugins 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,40 +1,37 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
+
5
+
6
+
7
+
4
8
  var _commonInfo = require('./commonInfo');
5
9
 
6
10
  const currencyInfo = {
7
- pluginId: 'badcoin',
8
- walletType: 'wallet:badcoin',
9
11
  currencyCode: 'BAD',
12
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
10
13
  displayName: 'Badcoin',
14
+ memoOptions: _commonInfo.utxoMemoOptions,
15
+ pluginId: 'badcoin',
16
+ walletType: 'wallet:badcoin',
17
+
18
+ // Explorers:
19
+ addressExplorer: 'https://www.blockingbad.com/address/%s',
20
+ blockExplorer: 'https://www.blockingbad.com/block/%s',
21
+ transactionExplorer: 'https://www.blockingbad.com/tx/%s',
22
+
11
23
  denominations: [
12
24
  { name: 'BAD', multiplier: '100000000', symbol: 'BAD' },
13
25
  { name: 'mBAD', multiplier: '100000', symbol: 'mBAD' }
14
26
  ],
15
27
 
16
- // Configuration options:
28
+ // Deprecated:
29
+ ..._commonInfo.legacyMemoInfo,
17
30
  defaultSettings: {
18
31
  customFeeSettings: ['satPerByte'],
19
32
  blockbookServers: [],
20
33
  enableCustomServers: false
21
34
  },
22
- customFeeTemplate: [
23
- {
24
- type: 'nativeAmount',
25
- key: 'satPerByte',
26
- displayName: 'Satoshis Per Byte',
27
- displayMultiplier: '0'
28
- }
29
- ],
30
- ..._commonInfo.memoInfo,
31
-
32
- // Explorers:
33
- addressExplorer: 'https://www.blockingbad.com/address/%s',
34
- blockExplorer: 'https://www.blockingbad.com/block/%s',
35
- transactionExplorer: 'https://www.blockingbad.com/tx/%s',
36
-
37
- // Deprecated:
38
35
  metaTokens: []
39
36
  }
40
37
 
@@ -3,13 +3,30 @@
3
3
  var _constants = require('../../constants');
4
4
 
5
5
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
6
+
7
+
8
+
9
+
6
10
  var _commonInfo = require('./commonInfo');
7
11
 
8
12
  const currencyInfo = {
9
- pluginId: 'bitcoin',
10
- walletType: 'wallet:bitcoin',
13
+ canReplaceByFee: true,
11
14
  currencyCode: 'BTC',
15
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
12
16
  displayName: 'Bitcoin',
17
+ memoOptions: _commonInfo.utxoMemoOptions,
18
+ pluginId: 'bitcoin',
19
+ walletType: 'wallet:bitcoin',
20
+
21
+ // Explorers:
22
+ blockExplorer: 'https://blockchair.com/bitcoin/block/%s',
23
+ addressExplorer: 'https://blockchair.com/bitcoin/address/%s',
24
+ transactionExplorer: 'https://blockchair.com/bitcoin/transaction/%s',
25
+
26
+ // Images:
27
+ symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
28
+ symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
29
+
13
30
  denominations: [
14
31
  { name: 'BTC', multiplier: '100000000', symbol: '₿' },
15
32
  { name: 'mBTC', multiplier: '100000', symbol: 'm₿' },
@@ -17,7 +34,8 @@ const currencyInfo = {
17
34
  { name: 'sats', multiplier: '1', symbol: 's' }
18
35
  ],
19
36
 
20
- // Configuration options:
37
+ // Deprecated:
38
+ ..._commonInfo.legacyMemoInfo,
21
39
  defaultSettings: {
22
40
  customFeeSettings: ['satPerByte'],
23
41
  blockbookServers: [
@@ -29,27 +47,6 @@ const currencyInfo = {
29
47
  ],
30
48
  enableCustomServers: false
31
49
  },
32
- canReplaceByFee: true,
33
- customFeeTemplate: [
34
- {
35
- type: 'nativeAmount',
36
- key: 'satPerByte',
37
- displayName: 'Satoshis Per Byte',
38
- displayMultiplier: '0'
39
- }
40
- ],
41
- ..._commonInfo.memoInfo,
42
-
43
- // Explorers:
44
- blockExplorer: 'https://blockchair.com/bitcoin/block/%s',
45
- addressExplorer: 'https://blockchair.com/bitcoin/address/%s',
46
- transactionExplorer: 'https://blockchair.com/bitcoin/transaction/%s',
47
-
48
- // Images:
49
- symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
50
- symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
51
-
52
- // Deprecated:
53
50
  metaTokens: []
54
51
  }
55
52
 
@@ -5,21 +5,39 @@ var _cleaners = require('cleaners');
5
5
  var _constants = require('../../constants');
6
6
 
7
7
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
8
+
9
+
10
+
11
+
8
12
  var _commonInfo = require('./commonInfo');
9
13
  var _bitcoincashScriptTemplates = require('./scriptTemplates/bitcoincashScriptTemplates');
10
14
 
11
15
  const currencyInfo = {
12
- pluginId: 'bitcoincash',
13
- walletType: 'wallet:bitcoincash',
14
16
  currencyCode: 'BCH',
17
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
15
18
  displayName: 'Bitcoin Cash',
19
+ memoOptions: _commonInfo.utxoMemoOptions,
20
+ pluginId: 'bitcoincash',
21
+ walletType: 'wallet:bitcoincash',
22
+
23
+ // Explorers:
24
+ blockExplorer: 'https://blockchair.com/bitcoin-cash/block/%s',
25
+ addressExplorer: 'https://blockchair.com/bitcoin-cash/address/%s',
26
+ transactionExplorer: 'https://blockchair.com/bitcoin-cash/transaction/%s',
27
+ xpubExplorer: 'https://bch1.trezor.io/xpub/%s',
28
+
29
+ // Images:
30
+ symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
31
+ symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
32
+
16
33
  denominations: [
17
34
  { name: 'BCH', multiplier: '100000000', symbol: '₿' },
18
35
  { name: 'mBCH', multiplier: '100000', symbol: 'm₿' },
19
36
  { name: 'cash', multiplier: '100', symbol: 'ƀ' }
20
37
  ],
21
38
 
22
- // Configuration options:
39
+ // Deprecated:
40
+ ..._commonInfo.legacyMemoInfo,
23
41
  defaultSettings: {
24
42
  customFeeSettings: ['satPerByte'],
25
43
  blockbookServers: [
@@ -31,27 +49,6 @@ const currencyInfo = {
31
49
  ],
32
50
  enableCustomServers: false
33
51
  },
34
- customFeeTemplate: [
35
- {
36
- type: 'nativeAmount',
37
- key: 'satPerByte',
38
- displayName: 'Satoshis Per Byte',
39
- displayMultiplier: '0'
40
- }
41
- ],
42
- ..._commonInfo.memoInfo,
43
-
44
- // Explorers:
45
- blockExplorer: 'https://blockchair.com/bitcoin-cash/block/%s',
46
- addressExplorer: 'https://blockchair.com/bitcoin-cash/address/%s',
47
- transactionExplorer: 'https://blockchair.com/bitcoin-cash/transaction/%s',
48
- xpubExplorer: 'https://bch1.trezor.io/xpub/%s',
49
-
50
- // Images:
51
- symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
52
- symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
53
-
54
- // Deprecated:
55
52
  metaTokens: []
56
53
  }
57
54
 
@@ -3,27 +3,20 @@
3
3
 
4
4
  var _constants = require('../../constants');
5
5
 
6
+
7
+
8
+
9
+
6
10
  var _commonInfo = require('./commonInfo');
7
11
  var _bitcoincashScriptTemplates = require('./scriptTemplates/bitcoincashScriptTemplates');
8
12
 
9
13
  const currencyInfo = {
10
- pluginId: 'bitcoincashtestnet',
11
- walletType: 'wallet:bitcoincashtestnet',
12
14
  currencyCode: 'TBCH',
13
15
  displayName: 'Bitcoin Cash',
14
- denominations: [
15
- { name: 'TBCH', multiplier: '100000000', symbol: '₿' },
16
- { name: 'mTBCH', multiplier: '100000', symbol: 'm₿' },
17
- { name: 'cash', multiplier: '100', symbol: 'ƀ' }
18
- ],
19
-
20
- // Configuration options:
21
- defaultSettings: {
22
- customFeeSettings: ['satPerByte'],
23
- blockbookServers: [],
24
- enableCustomServers: false
25
- },
26
- ..._commonInfo.memoInfo,
16
+ memoOptions: _commonInfo.utxoMemoOptions,
17
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
18
+ pluginId: 'bitcoincashtestnet',
19
+ walletType: 'wallet:bitcoincashtestnet',
27
20
 
28
21
  // Explorers:
29
22
  blockExplorer: 'https://blockchair.com/bitcoin-cash/block/%s',
@@ -35,7 +28,19 @@ const currencyInfo = {
35
28
  symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
36
29
  symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoincash-logo-solo-64.png`,
37
30
 
31
+ denominations: [
32
+ { name: 'TBCH', multiplier: '100000000', symbol: '₿' },
33
+ { name: 'mTBCH', multiplier: '100000', symbol: 'm₿' },
34
+ { name: 'cash', multiplier: '100', symbol: 'ƀ' }
35
+ ],
36
+
38
37
  // Deprecated:
38
+ ..._commonInfo.legacyMemoInfo,
39
+ defaultSettings: {
40
+ customFeeSettings: ['satPerByte'],
41
+ blockbookServers: [],
42
+ enableCustomServers: false
43
+ },
39
44
  metaTokens: []
40
45
  }
41
46
 
@@ -3,20 +3,33 @@
3
3
 
4
4
 
5
5
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
6
+
7
+
8
+
9
+
6
10
  var _commonInfo = require('./commonInfo');
7
11
 
8
12
  const currencyInfo = {
9
- pluginId: 'bitcoingold',
10
- walletType: 'wallet:bitcoingold',
11
13
  currencyCode: 'BTG',
14
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
12
15
  displayName: 'Bitcoin Gold',
16
+ memoOptions: _commonInfo.utxoMemoOptions,
17
+ pluginId: 'bitcoingold',
18
+ walletType: 'wallet:bitcoingold',
19
+
20
+ // Explorers:
21
+ addressExplorer: 'https://explorer.bitcoingold.org/insight/address/%s',
22
+ blockExplorer: 'https://explorer.bitcoingold.org/insight/block/%s',
23
+ transactionExplorer: 'https://explorer.bitcoingold.org/insight/tx/%s',
24
+
13
25
  denominations: [
14
26
  { name: 'BTG', multiplier: '100000000', symbol: '₿' },
15
27
  { name: 'mBTG', multiplier: '100000', symbol: 'm₿' },
16
28
  { name: 'bits', multiplier: '100', symbol: 'ƀ' }
17
29
  ],
18
30
 
19
- // Configuration options:
31
+ // Deprecated:
32
+ ..._commonInfo.legacyMemoInfo,
20
33
  defaultSettings: {
21
34
  customFeeSettings: ['satPerByte'],
22
35
  blockbookServers: [
@@ -28,22 +41,6 @@ const currencyInfo = {
28
41
  ],
29
42
  enableCustomServers: false
30
43
  },
31
- customFeeTemplate: [
32
- {
33
- type: 'nativeAmount',
34
- key: 'satPerByte',
35
- displayName: 'Satoshis Per Byte',
36
- displayMultiplier: '0'
37
- }
38
- ],
39
- ..._commonInfo.memoInfo,
40
-
41
- // Explorers:
42
- addressExplorer: 'https://explorer.bitcoingold.org/insight/address/%s',
43
- blockExplorer: 'https://explorer.bitcoingold.org/insight/block/%s',
44
- transactionExplorer: 'https://explorer.bitcoingold.org/insight/tx/%s',
45
-
46
- // Deprecated:
47
44
  metaTokens: []
48
45
  }
49
46
 
@@ -2,33 +2,38 @@
2
2
 
3
3
 
4
4
 
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'bitcoingoldtestnet',
9
- walletType: 'wallet:bitcoingoldtestnet',
10
12
  currencyCode: 'TBTG',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'Bitcoin Gold',
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'bitcoingoldtestnet',
17
+ walletType: 'wallet:bitcoingoldtestnet',
18
+
19
+ // Explorers:
20
+ addressExplorer: 'https://explorer.bitcoingold.org/insight/address/%s',
21
+ blockExplorer: 'https://explorer.bitcoingold.org/insight/block/%s',
22
+ transactionExplorer: 'https://explorer.bitcoingold.org/insight/tx/%s',
23
+
12
24
  denominations: [
13
25
  { name: 'TBTG', multiplier: '100000000', symbol: '₿' },
14
26
  { name: 'mTBTG', multiplier: '100000', symbol: 'm₿' },
15
27
  { name: 'bits', multiplier: '100', symbol: 'ƀ' }
16
28
  ],
17
29
 
18
- // Configuration options:
30
+ // Deprecated:
31
+ ..._commonInfo.legacyMemoInfo,
19
32
  defaultSettings: {
20
33
  customFeeSettings: ['satPerByte'],
21
34
  blockbookServers: [],
22
35
  enableCustomServers: false
23
36
  },
24
- ..._commonInfo.memoInfo,
25
-
26
- // Explorers:
27
- addressExplorer: 'https://explorer.bitcoingold.org/insight/address/%s',
28
- blockExplorer: 'https://explorer.bitcoingold.org/insight/block/%s',
29
- transactionExplorer: 'https://explorer.bitcoingold.org/insight/tx/%s',
30
-
31
- // Deprecated:
32
37
  metaTokens: []
33
38
  }
34
39
 
@@ -10,34 +10,19 @@ var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalcula
10
10
 
11
11
 
12
12
  var _keymanager = require('../keymanager/keymanager');
13
+
14
+
15
+
16
+
13
17
  var _commonInfo = require('./commonInfo');
14
18
 
15
19
  const currencyInfo = {
16
- pluginId: 'bitcoinsv',
17
- walletType: 'wallet:bitcoinsv',
18
20
  currencyCode: 'BSV',
21
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
19
22
  displayName: 'Bitcoin SV',
20
- denominations: [
21
- { name: 'BSV', multiplier: '100000000', symbol: '₿' },
22
- { name: 'mBSV', multiplier: '100000', symbol: 'm₿' },
23
- { name: 'cash', multiplier: '100', symbol: 'ƀ' }
24
- ],
25
-
26
- // Configuration options:
27
- defaultSettings: {
28
- customFeeSettings: ['satPerByte'],
29
- blockbookServers: ['wss://blockbook.siftbitcoin.com:9146'],
30
- enableCustomServers: false
31
- },
32
- customFeeTemplate: [
33
- {
34
- type: 'nativeAmount',
35
- key: 'satPerByte',
36
- displayName: 'Satoshis Per Byte',
37
- displayMultiplier: '0'
38
- }
39
- ],
40
- ..._commonInfo.memoInfo,
23
+ memoOptions: _commonInfo.utxoMemoOptions,
24
+ pluginId: 'bitcoinsv',
25
+ walletType: 'wallet:bitcoinsv',
41
26
 
42
27
  // Explorers:
43
28
  blockExplorer: 'https://whatsonchain.com/block/%s',
@@ -48,7 +33,19 @@ const currencyInfo = {
48
33
  symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoinsv-logo-solo-64.png`,
49
34
  symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoinsv-logo-solo-64.png`,
50
35
 
36
+ denominations: [
37
+ { name: 'BSV', multiplier: '100000000', symbol: '₿' },
38
+ { name: 'mBSV', multiplier: '100000', symbol: 'm₿' },
39
+ { name: 'cash', multiplier: '100', symbol: 'ƀ' }
40
+ ],
41
+
51
42
  // Deprecated:
43
+ ..._commonInfo.legacyMemoInfo,
44
+ defaultSettings: {
45
+ customFeeSettings: ['satPerByte'],
46
+ blockbookServers: ['wss://blockbook.siftbitcoin.com:9146'],
47
+ enableCustomServers: false
48
+ },
52
49
  metaTokens: []
53
50
  }
54
51
 
@@ -2,13 +2,30 @@
2
2
 
3
3
  var _constants = require('../../constants');
4
4
 
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'bitcointestnet',
9
- walletType: 'wallet:bitcointestnet',
12
+ canReplaceByFee: true,
10
13
  currencyCode: 'TESTBTC',
14
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
15
  displayName: 'Bitcoin Testnet',
16
+ memoOptions: _commonInfo.utxoMemoOptions,
17
+ pluginId: 'bitcointestnet',
18
+ walletType: 'wallet:bitcointestnet',
19
+
20
+ // Explorers:
21
+ blockExplorer: 'https://blockchair.com/bitcoin/testnet/block/%s',
22
+ addressExplorer: 'https://blockchair.com/bitcoin/testnet/address/%s',
23
+ transactionExplorer: 'https://blockchair.com/bitcoin/testnet/transaction/%s',
24
+
25
+ // Images:
26
+ symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
27
+ symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
28
+
12
29
  denominations: [
13
30
  { name: 'TESTBTC', multiplier: '100000000', symbol: '₿' },
14
31
  { name: 'mTESTBTC', multiplier: '100000', symbol: 'm₿' },
@@ -16,33 +33,13 @@ var _commonInfo = require('./commonInfo');
16
33
  { name: 'sats', multiplier: '1', symbol: 's' }
17
34
  ],
18
35
 
19
- // Configuration options:
36
+ // Deprecated:
37
+ ..._commonInfo.legacyMemoInfo,
20
38
  defaultSettings: {
21
39
  customFeeSettings: ['satPerByte'],
22
40
  blockbookServers: ['wss://tbtc1.trezor.io', 'wss://tbtc2.trezor.io'],
23
41
  enableCustomServers: false
24
42
  },
25
- canReplaceByFee: true,
26
- customFeeTemplate: [
27
- {
28
- type: 'nativeAmount',
29
- key: 'satPerByte',
30
- displayName: 'Satoshis Per Byte',
31
- displayMultiplier: '0'
32
- }
33
- ],
34
- ..._commonInfo.memoInfo,
35
-
36
- // Explorers:
37
- blockExplorer: 'https://blockchair.com/bitcoin/testnet/block/%s',
38
- addressExplorer: 'https://blockchair.com/bitcoin/testnet/address/%s',
39
- transactionExplorer: 'https://blockchair.com/bitcoin/testnet/transaction/%s',
40
-
41
- // Images:
42
- symbolImage: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
43
- symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/bitcoin-logo-solo-64.png`,
44
-
45
- // Deprecated:
46
43
  metaTokens: []
47
44
  }; exports.currencyInfo = currencyInfo
48
45
 
@@ -1,16 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- const memoInfo = {
4
- memoOptions: [
5
- {
6
- type: 'hex',
7
- hidden: true,
8
- maxBytes: 80,
9
- memoName: 'OP_RETURN'
10
- }
11
- ],
3
+ const utxoCustomFeeTemplate = [
4
+ {
5
+ type: 'nativeAmount',
6
+ key: 'satPerByte',
7
+ displayName: 'Satoshis Per Byte',
8
+ displayMultiplier: '0'
9
+ }
10
+ ]; exports.utxoCustomFeeTemplate = utxoCustomFeeTemplate
12
11
 
13
- // Deprecated:
12
+ const utxoMemoOptions = [
13
+ {
14
+ type: 'hex',
15
+ hidden: true,
16
+ maxBytes: 80,
17
+ memoName: 'OP_RETURN'
18
+ }
19
+ ]; exports.utxoMemoOptions = utxoMemoOptions
20
+
21
+ // Deprecated:
22
+ const legacyMemoInfo = {
14
23
  memoMaxLength: 80,
15
24
  memoType: 'text'
16
- }; exports.memoInfo = memoInfo
25
+ }; exports.legacyMemoInfo = legacyMemoInfo
@@ -4,19 +4,33 @@
4
4
 
5
5
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
6
6
 
7
+
8
+
9
+
10
+
7
11
  var _commonInfo = require('./commonInfo');
8
12
 
9
13
  const currencyInfo = {
10
- pluginId: 'dash',
11
- walletType: 'wallet:dash',
12
14
  currencyCode: 'DASH',
15
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
13
16
  displayName: 'Dash',
17
+ memoOptions: _commonInfo.utxoMemoOptions,
18
+ pluginId: 'dash',
19
+ walletType: 'wallet:dash',
20
+
21
+ // Explorers:
22
+ addressExplorer: 'https://blockchair.com/dash/address/%s?from=edgeapp',
23
+ blockExplorer: 'https://blockchair.com/dash/block/%s?from=edgeapp',
24
+ transactionExplorer:
25
+ 'https://blockchair.com/dash/transaction/%s?from=edgeapp',
26
+
14
27
  denominations: [
15
28
  { name: 'DASH', multiplier: '100000000', symbol: 'Ð' },
16
29
  { name: 'mDASH', multiplier: '100000', symbol: 'mÐ' }
17
30
  ],
18
31
 
19
- // Configuration options:
32
+ // Deprecated:
33
+ ..._commonInfo.legacyMemoInfo,
20
34
  defaultSettings: {
21
35
  customFeeSettings: ['satPerByte'],
22
36
  blockbookServers: [
@@ -28,23 +42,6 @@ const currencyInfo = {
28
42
  ],
29
43
  enableCustomServers: false
30
44
  },
31
- customFeeTemplate: [
32
- {
33
- type: 'nativeAmount',
34
- key: 'satPerByte',
35
- displayName: 'Satoshis Per Byte',
36
- displayMultiplier: '0'
37
- }
38
- ],
39
- ..._commonInfo.memoInfo,
40
-
41
- // Explorers:
42
- addressExplorer: 'https://blockchair.com/dash/address/%s?from=edgeapp',
43
- blockExplorer: 'https://blockchair.com/dash/block/%s?from=edgeapp',
44
- transactionExplorer:
45
- 'https://blockchair.com/dash/transaction/%s?from=edgeapp',
46
-
47
- // Deprecated:
48
45
  metaTokens: []
49
46
  }
50
47
 
@@ -2,40 +2,37 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'digibyte',
9
- walletType: 'wallet:digibyte',
10
12
  currencyCode: 'DGB',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'DigiByte',
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'digibyte',
17
+ walletType: 'wallet:digibyte',
18
+
19
+ // Explorers:
20
+ addressExplorer: 'https://digiexplorer.info/address/%s',
21
+ blockExplorer: 'https://digiexplorer.info/block/%s',
22
+ transactionExplorer: 'https://digiexplorer.info/tx/%s',
23
+
12
24
  denominations: [
13
25
  { name: 'DGB', multiplier: '100000000', symbol: 'Ɗ' },
14
26
  { name: 'mDGB', multiplier: '100000', symbol: 'mƊ' }
15
27
  ],
16
28
 
17
- // Configuration options:
29
+ // Deprecated:
30
+ ..._commonInfo.legacyMemoInfo,
18
31
  defaultSettings: {
19
32
  customFeeSettings: ['satPerByte'],
20
33
  blockbookServers: ['wss://dgb1.trezor.io', 'wss://dgb2.trezor.io'],
21
34
  enableCustomServers: false
22
35
  },
23
- customFeeTemplate: [
24
- {
25
- type: 'nativeAmount',
26
- key: 'satPerByte',
27
- displayName: 'Satoshis Per Byte',
28
- displayMultiplier: '0'
29
- }
30
- ],
31
- ..._commonInfo.memoInfo,
32
-
33
- // Explorers:
34
- addressExplorer: 'https://digiexplorer.info/address/%s',
35
- blockExplorer: 'https://digiexplorer.info/block/%s',
36
- transactionExplorer: 'https://digiexplorer.info/tx/%s',
37
-
38
- // Deprecated:
39
36
  metaTokens: []
40
37
  }
41
38
 
@@ -2,17 +2,31 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
  var _dogeUtxoPicker = require('./utxoPickers/dogeUtxoPicker');
7
11
 
8
12
  const currencyInfo = {
9
- pluginId: 'dogecoin',
10
- walletType: 'wallet:dogecoin',
11
13
  currencyCode: 'DOGE',
14
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
12
15
  displayName: 'Dogecoin',
16
+ memoOptions: _commonInfo.utxoMemoOptions,
17
+ pluginId: 'dogecoin',
18
+ walletType: 'wallet:dogecoin',
19
+
20
+ // Explorers:
21
+ addressExplorer: 'https://blockchair.com/dogecoin/address/%s?from=edgeapp',
22
+ blockExplorer: 'https://blockchair.com/dogecoin/block/%s?from=edgeapp',
23
+ transactionExplorer:
24
+ 'https://blockchair.com/dogecoin/transaction/%s?from=edgeapp',
25
+
13
26
  denominations: [{ name: 'DOGE', multiplier: '100000000', symbol: 'Ð' }],
14
27
 
15
- // Configuration options:
28
+ // Deprecated:
29
+ ..._commonInfo.legacyMemoInfo,
16
30
  defaultSettings: {
17
31
  customFeeSettings: ['satPerByte'],
18
32
  blockbookServers: [
@@ -24,23 +38,6 @@ const currencyInfo = {
24
38
  ],
25
39
  enableCustomServers: false
26
40
  },
27
- customFeeTemplate: [
28
- {
29
- type: 'nativeAmount',
30
- key: 'satPerByte',
31
- displayName: 'Satoshis Per Byte',
32
- displayMultiplier: '0'
33
- }
34
- ],
35
- ..._commonInfo.memoInfo,
36
-
37
- // Explorers:
38
- addressExplorer: 'https://blockchair.com/dogecoin/address/%s?from=edgeapp',
39
- blockExplorer: 'https://blockchair.com/dogecoin/block/%s?from=edgeapp',
40
- transactionExplorer:
41
- 'https://blockchair.com/dogecoin/transaction/%s?from=edgeapp',
42
-
43
- // Deprecated:
44
41
  metaTokens: []
45
42
  }
46
43
 
@@ -2,40 +2,37 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'eboost',
9
- walletType: 'wallet:eboost',
10
12
  currencyCode: 'EBST',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'eBoost',
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'eboost',
17
+ walletType: 'wallet:eboost',
18
+
19
+ // Explorers:
20
+ addressExplorer: 'https://www.blockexperts.com/ebst/address/%s',
21
+ blockExplorer: 'https://www.blockexperts.com/ebst/hash/%s',
22
+ transactionExplorer: 'https://www.blockexperts.com/ebst/tx/%s',
23
+
12
24
  denominations: [
13
25
  { name: 'EBST', multiplier: '100000000', symbol: 'EBST' },
14
26
  { name: 'mEBST', multiplier: '100000', symbol: 'mEBST' }
15
27
  ],
16
28
 
17
- // Configuration options:
29
+ // Deprecated:
30
+ ..._commonInfo.legacyMemoInfo,
18
31
  defaultSettings: {
19
32
  customFeeSettings: ['satPerByte'],
20
33
  blockbookServers: [],
21
34
  enableCustomServers: false
22
35
  },
23
- customFeeTemplate: [
24
- {
25
- type: 'nativeAmount',
26
- key: 'satPerByte',
27
- displayName: 'Satoshis Per Byte',
28
- displayMultiplier: '0'
29
- }
30
- ],
31
- ..._commonInfo.memoInfo,
32
-
33
- // Explorers:
34
- addressExplorer: 'https://www.blockexperts.com/ebst/address/%s',
35
- blockExplorer: 'https://www.blockexperts.com/ebst/hash/%s',
36
- transactionExplorer: 'https://www.blockexperts.com/ebst/tx/%s',
37
-
38
- // Deprecated:
39
36
  metaTokens: []
40
37
  }
41
38
 
@@ -3,33 +3,19 @@
3
3
  var _constants = require('../../constants');
4
4
 
5
5
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
6
+
7
+
8
+
9
+
6
10
  var _commonInfo = require('./commonInfo');
7
11
 
8
12
  const currencyInfo = {
13
+ currencyCode: 'FTC',
14
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
15
+ displayName: 'Feathercoin',
16
+ memoOptions: _commonInfo.utxoMemoOptions,
9
17
  pluginId: 'feathercoin',
10
18
  walletType: 'wallet:feathercoin',
11
- displayName: 'Feathercoin',
12
- currencyCode: 'FTC',
13
- denominations: [
14
- { name: 'FTC', multiplier: '100000000', symbol: 'F' },
15
- { name: 'mFTC', multiplier: '100000', symbol: 'mF' }
16
- ],
17
-
18
- // Configuration options:
19
- defaultSettings: {
20
- customFeeSettings: ['satPerByte'],
21
- blockbookServers: ['wss://blockbook.feathercoin.com'],
22
- enableCustomServers: false
23
- },
24
- customFeeTemplate: [
25
- {
26
- type: 'nativeAmount',
27
- key: 'satPerByte',
28
- displayName: 'Satoshis Per Byte',
29
- displayMultiplier: '0'
30
- }
31
- ],
32
- ..._commonInfo.memoInfo,
33
19
 
34
20
  // Explorers:
35
21
  addressExplorer: 'https://fsight.chain.tips/address/%s',
@@ -40,7 +26,18 @@ var _commonInfo = require('./commonInfo');
40
26
  symbolImage: `${_constants.IMAGE_SERVER_URL}/feathercoin-logo-solo-64.png`,
41
27
  symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/feathercoin-logo-solo-64.png`,
42
28
 
29
+ denominations: [
30
+ { name: 'FTC', multiplier: '100000000', symbol: 'F' },
31
+ { name: 'mFTC', multiplier: '100000', symbol: 'mF' }
32
+ ],
33
+
43
34
  // Deprecated:
35
+ ..._commonInfo.legacyMemoInfo,
36
+ defaultSettings: {
37
+ customFeeSettings: ['satPerByte'],
38
+ blockbookServers: ['wss://blockbook.feathercoin.com'],
39
+ enableCustomServers: false
40
+ },
44
41
  metaTokens: []
45
42
  }; exports.currencyInfo = currencyInfo
46
43
 
@@ -6,42 +6,39 @@ var _wifgrs = require('wifgrs'); var wifgrs = _interopRequireWildcard(_wifgrs);
6
6
 
7
7
 
8
8
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
9
+
10
+
11
+
12
+
9
13
  var _commonInfo = require('./commonInfo');
10
14
 
11
15
  const currencyInfo = {
12
- pluginId: 'groestlcoin',
13
- walletType: 'wallet:groestlcoin',
14
16
  currencyCode: 'GRS',
17
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
15
18
  displayName: 'Groestlcoin',
19
+ memoOptions: _commonInfo.utxoMemoOptions,
20
+ pluginId: 'groestlcoin',
21
+ walletType: 'wallet:groestlcoin',
22
+
23
+ // Explorers:
24
+ addressExplorer:
25
+ 'https://blockchair.com/groestlcoin/address/%s?from=edgeapp?from=edgeapp',
26
+ blockExplorer: 'https://blockchair.com/groestlcoin/block/%s?from=edgeapp',
27
+ transactionExplorer:
28
+ 'https://blockchair.com/groestlcoin/transaction/%s?from=edgeapp',
29
+
16
30
  denominations: [
17
31
  { name: 'GRS', multiplier: '100000000', symbol: 'G' },
18
32
  { name: 'mGRS', multiplier: '100000', symbol: 'mG' }
19
33
  ],
20
34
 
21
- // Configuration options:
35
+ // Deprecated:
36
+ ..._commonInfo.legacyMemoInfo,
22
37
  defaultSettings: {
23
38
  customFeeSettings: ['satPerByte'],
24
39
  blockbookServers: ['wss://blockbook.groestlcoin.org'],
25
40
  enableCustomServers: false
26
41
  },
27
- customFeeTemplate: [
28
- {
29
- type: 'nativeAmount',
30
- key: 'satPerByte',
31
- displayName: 'Satoshis Per Byte',
32
- displayMultiplier: '0'
33
- }
34
- ],
35
- ..._commonInfo.memoInfo,
36
-
37
- // Explorers:
38
- addressExplorer:
39
- 'https://blockchair.com/groestlcoin/address/%s?from=edgeapp?from=edgeapp',
40
- blockExplorer: 'https://blockchair.com/groestlcoin/block/%s?from=edgeapp',
41
- transactionExplorer:
42
- 'https://blockchair.com/groestlcoin/transaction/%s?from=edgeapp',
43
-
44
- // Deprecated:
45
42
  metaTokens: []
46
43
  }
47
44
 
@@ -3,19 +3,37 @@
3
3
  var _constants = require('../../constants');
4
4
 
5
5
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
6
+
7
+
8
+
9
+
6
10
  var _commonInfo = require('./commonInfo');
7
11
 
8
12
  const currencyInfo = {
9
- pluginId: 'litecoin',
10
- walletType: 'wallet:litecoin',
13
+ canReplaceByFee: false,
11
14
  currencyCode: 'LTC',
15
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
12
16
  displayName: 'Litecoin',
17
+ memoOptions: _commonInfo.utxoMemoOptions,
18
+ pluginId: 'litecoin',
19
+ walletType: 'wallet:litecoin',
20
+
21
+ // Explorers:
22
+ blockExplorer: 'https://blockchair.com/litecoin/block/%s',
23
+ addressExplorer: 'https://blockchair.com/litecoin/address/%s',
24
+ transactionExplorer: 'https://blockchair.com/litecoin/transaction/%s',
25
+
26
+ // Images:
27
+ symbolImage: `${_constants.IMAGE_SERVER_URL}/litecoin-logo-solo-64.png`,
28
+ symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/litecoin-logo-solo-64.png`,
29
+
13
30
  denominations: [
14
31
  { name: 'LTC', multiplier: '100000000', symbol: 'Ł' },
15
32
  { name: 'mLTC', multiplier: '100000', symbol: 'mŁ' }
16
33
  ],
17
34
 
18
- // Configuration options:
35
+ // Deprecated:
36
+ ..._commonInfo.legacyMemoInfo,
19
37
  defaultSettings: {
20
38
  customFeeSettings: ['satPerByte'],
21
39
  blockbookServers: [
@@ -27,27 +45,6 @@ var _commonInfo = require('./commonInfo');
27
45
  ],
28
46
  enableCustomServers: false
29
47
  },
30
- canReplaceByFee: false,
31
- customFeeTemplate: [
32
- {
33
- type: 'nativeAmount',
34
- key: 'satPerByte',
35
- displayName: 'Satoshis Per Byte',
36
- displayMultiplier: '0'
37
- }
38
- ],
39
- ..._commonInfo.memoInfo,
40
-
41
- // Explorers:
42
- blockExplorer: 'https://blockchair.com/litecoin/block/%s',
43
- addressExplorer: 'https://blockchair.com/litecoin/address/%s',
44
- transactionExplorer: 'https://blockchair.com/litecoin/transaction/%s',
45
-
46
- // Images:
47
- symbolImage: `${_constants.IMAGE_SERVER_URL}/litecoin-logo-solo-64.png`,
48
- symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/litecoin-logo-solo-64.png`,
49
-
50
- // Deprecated:
51
48
  metaTokens: []
52
49
  }; exports.currencyInfo = currencyInfo
53
50
 
@@ -2,37 +2,34 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'qtum',
9
- walletType: 'wallet:qtum',
10
12
  currencyCode: 'QTUM',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'Qtum',
12
- denominations: [{ name: 'QTUM', multiplier: '100000000', symbol: 'Q' }],
13
-
14
- // Configuration options:
15
- defaultSettings: {
16
- customFeeSettings: ['satPerByte'],
17
- blockbookServers: [],
18
- enableCustomServers: false
19
- },
20
- customFeeTemplate: [
21
- {
22
- type: 'nativeAmount',
23
- key: 'satPerByte',
24
- displayName: 'Satoshis Per Byte',
25
- displayMultiplier: '0'
26
- }
27
- ],
28
- ..._commonInfo.memoInfo,
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'qtum',
17
+ walletType: 'wallet:qtum',
29
18
 
30
19
  // Explorers:
31
20
  addressExplorer: 'https://explorer.qtum.org/address/%s',
32
21
  blockExplorer: 'https://explorer.qtum.org/block/%s',
33
22
  transactionExplorer: 'https://explorer.qtum.org/tx/%s',
34
23
 
24
+ denominations: [{ name: 'QTUM', multiplier: '100000000', symbol: 'Q' }],
25
+
35
26
  // Deprecated:
27
+ ..._commonInfo.legacyMemoInfo,
28
+ defaultSettings: {
29
+ customFeeSettings: ['satPerByte'],
30
+ blockbookServers: [],
31
+ enableCustomServers: false
32
+ },
36
33
  metaTokens: []
37
34
  }
38
35
 
@@ -2,37 +2,34 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'ravencoin',
9
- walletType: 'wallet:ravencoin',
10
12
  currencyCode: 'RVN',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'Ravencoin',
12
- denominations: [{ name: 'RVN', multiplier: '100000000', symbol: 'R' }],
13
-
14
- // Configuration options:
15
- defaultSettings: {
16
- customFeeSettings: ['satPerByte'],
17
- blockbookServers: ['wss://blockbook.ravencoin.org'],
18
- enableCustomServers: false
19
- },
20
- customFeeTemplate: [
21
- {
22
- type: 'nativeAmount',
23
- key: 'satPerByte',
24
- displayName: 'Satoshis Per Byte',
25
- displayMultiplier: '0'
26
- }
27
- ],
28
- ..._commonInfo.memoInfo,
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'ravencoin',
17
+ walletType: 'wallet:ravencoin',
29
18
 
30
19
  // Explorers:
31
20
  addressExplorer: 'https://ravencoin.network/address/%s',
32
21
  blockExplorer: 'https://ravencoin.network/block/%s',
33
22
  transactionExplorer: 'https://ravencoin.network/tx/%s',
34
23
 
24
+ denominations: [{ name: 'RVN', multiplier: '100000000', symbol: 'R' }],
25
+
35
26
  // Deprecated:
27
+ ..._commonInfo.legacyMemoInfo,
28
+ defaultSettings: {
29
+ customFeeSettings: ['satPerByte'],
30
+ blockbookServers: ['wss://blockbook.ravencoin.org'],
31
+ enableCustomServers: false
32
+ },
36
33
  metaTokens: []
37
34
  }
38
35
 
@@ -5,40 +5,37 @@ var _wifsmart = require('wif-smart'); var wifsmart = _interopRequireWildcard(_wi
5
5
 
6
6
 
7
7
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
8
+
9
+
10
+
11
+
8
12
  var _commonInfo = require('./commonInfo');
9
13
 
10
14
  const currencyInfo = {
11
- pluginId: 'smartcash',
12
- walletType: 'wallet:smartcash',
13
15
  currencyCode: 'SMART',
16
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
14
17
  displayName: 'SmartCash',
18
+ memoOptions: _commonInfo.utxoMemoOptions,
19
+ pluginId: 'smartcash',
20
+ walletType: 'wallet:smartcash',
21
+
22
+ // Explorers:
23
+ addressExplorer: 'https://insight.smartcash.cc/address/%s',
24
+ blockExplorer: 'https://insight.smartcash.cc/block/%s',
25
+ transactionExplorer: 'https://insight.smartcash.cc/tx/%s',
26
+
15
27
  denominations: [
16
28
  { name: 'SMART', multiplier: '100000000', symbol: 'S' },
17
29
  { name: 'mSMART', multiplier: '100000', symbol: 'mS' }
18
30
  ],
19
31
 
20
- // Configuration options:
32
+ // Deprecated:
33
+ ..._commonInfo.legacyMemoInfo,
21
34
  defaultSettings: {
22
35
  customFeeSettings: ['satPerByte'],
23
36
  blockbookServers: [],
24
37
  enableCustomServers: false
25
38
  },
26
- customFeeTemplate: [
27
- {
28
- type: 'nativeAmount',
29
- key: 'satPerByte',
30
- displayName: 'Satoshis Per Byte',
31
- displayMultiplier: '0'
32
- }
33
- ],
34
- ..._commonInfo.memoInfo,
35
-
36
- // Explorers:
37
- addressExplorer: 'https://insight.smartcash.cc/address/%s',
38
- blockExplorer: 'https://insight.smartcash.cc/block/%s',
39
- transactionExplorer: 'https://insight.smartcash.cc/tx/%s',
40
-
41
- // Deprecated:
42
39
  metaTokens: []
43
40
  }
44
41
 
@@ -2,40 +2,37 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'ufo',
9
- walletType: 'wallet:ufo',
10
12
  currencyCode: 'UFO',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'UFO',
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'ufo',
17
+ walletType: 'wallet:ufo',
18
+
19
+ // Explorers:
20
+ addressExplorer: 'https://explorer.ufobject.com/address/%s',
21
+ blockExplorer: 'https://explorer.ufobject.com/block/%s',
22
+ transactionExplorer: 'https://explorer.ufobject.com/tx/%s',
23
+
12
24
  denominations: [
13
25
  { name: 'UFO', multiplier: '100000000', symbol: 'Ʉ' },
14
26
  { name: 'kUFO', multiplier: '100000000000', symbol: 'kɄ' }
15
27
  ],
16
28
 
17
- // Configuration options:
29
+ // Deprecated:
30
+ ..._commonInfo.legacyMemoInfo,
18
31
  defaultSettings: {
19
32
  customFeeSettings: ['satPerByte'],
20
33
  blockbookServers: ['wss://blockbook.ufobject.com'],
21
34
  enableCustomServers: false
22
35
  },
23
- customFeeTemplate: [
24
- {
25
- type: 'nativeAmount',
26
- key: 'satPerByte',
27
- displayName: 'Satoshis Per Byte',
28
- displayMultiplier: '0'
29
- }
30
- ],
31
- ..._commonInfo.memoInfo,
32
-
33
- // Explorers:
34
- addressExplorer: 'https://explorer.ufobject.com/address/%s',
35
- blockExplorer: 'https://explorer.ufobject.com/block/%s',
36
- transactionExplorer: 'https://explorer.ufobject.com/tx/%s',
37
-
38
- // Deprecated:
39
36
  metaTokens: []
40
37
  }
41
38
 
@@ -2,19 +2,32 @@
2
2
 
3
3
 
4
4
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
5
+
6
+
7
+
8
+
5
9
  var _commonInfo = require('./commonInfo');
6
10
 
7
11
  const currencyInfo = {
8
- pluginId: 'vertcoin',
9
- walletType: 'wallet:vertcoin',
10
12
  currencyCode: 'VTC',
13
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
11
14
  displayName: 'Vertcoin',
15
+ memoOptions: _commonInfo.utxoMemoOptions,
16
+ pluginId: 'vertcoin',
17
+ walletType: 'wallet:vertcoin',
18
+
19
+ // Explorers:
20
+ addressExplorer: 'https://insight.vertcoin.org/address/%s',
21
+ blockExplorer: 'https://insight.vertcoin.org/block/%s',
22
+ transactionExplorer: 'https://insight.vertcoin.org/tx/%s',
23
+
12
24
  denominations: [
13
25
  { name: 'VTC', multiplier: '100000000', symbol: 'V' },
14
26
  { name: 'mVTC', multiplier: '100000', symbol: 'mV' }
15
27
  ],
16
28
 
17
- // Configuration options:
29
+ // Deprecated:
30
+ ..._commonInfo.legacyMemoInfo,
18
31
  defaultSettings: {
19
32
  customFeeSettings: ['satPerByte'],
20
33
  blockbookServers: [
@@ -26,22 +39,6 @@ const currencyInfo = {
26
39
  ],
27
40
  enableCustomServers: false
28
41
  },
29
- customFeeTemplate: [
30
- {
31
- type: 'nativeAmount',
32
- key: 'satPerByte',
33
- displayName: 'Satoshis Per Byte',
34
- displayMultiplier: '0'
35
- }
36
- ],
37
- ..._commonInfo.memoInfo,
38
-
39
- // Explorers:
40
- addressExplorer: 'https://insight.vertcoin.org/address/%s',
41
- blockExplorer: 'https://insight.vertcoin.org/block/%s',
42
- transactionExplorer: 'https://insight.vertcoin.org/tx/%s',
43
-
44
- // Deprecated:
45
42
  metaTokens: []
46
43
  }
47
44
 
@@ -3,33 +3,19 @@
3
3
  var _constants = require('../../constants');
4
4
 
5
5
  var _maximumFeeRateCalculator = require('../../plugin/util/maximumFeeRateCalculator');
6
+
7
+
8
+
9
+
6
10
  var _commonInfo = require('./commonInfo');
7
11
 
8
12
  const currencyInfo = {
13
+ currencyCode: 'FIRO',
14
+ customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
15
+ displayName: 'Firo',
16
+ memoOptions: _commonInfo.utxoMemoOptions,
9
17
  pluginId: 'zcoin',
10
18
  walletType: 'wallet:zcoin',
11
- displayName: 'Firo',
12
- currencyCode: 'FIRO',
13
- denominations: [
14
- { name: 'FIRO', multiplier: '100000000', symbol: 'ƒ' },
15
- { name: 'mFIRO', multiplier: '100000', symbol: 'mƒ' }
16
- ],
17
-
18
- // Configuration options:
19
- defaultSettings: {
20
- customFeeSettings: ['satPerByte'],
21
- blockbookServers: ['wss://blockbook.firo.org'],
22
- enableCustomServers: false
23
- },
24
- customFeeTemplate: [
25
- {
26
- type: 'nativeAmount',
27
- key: 'satPerByte',
28
- displayName: 'Satoshis Per Byte',
29
- displayMultiplier: '0'
30
- }
31
- ],
32
- ..._commonInfo.memoInfo,
33
19
 
34
20
  // Explorers:
35
21
  addressExplorer: 'https://insight.zcoin.io/address/%s',
@@ -40,7 +26,18 @@ var _commonInfo = require('./commonInfo');
40
26
  symbolImage: `${_constants.IMAGE_SERVER_URL}/zcoin-logo-solo-64.png`,
41
27
  symbolImageDarkMono: `${_constants.IMAGE_SERVER_URL}/zcoin-logo-solo-64.png`,
42
28
 
29
+ denominations: [
30
+ { name: 'FIRO', multiplier: '100000000', symbol: 'ƒ' },
31
+ { name: 'mFIRO', multiplier: '100000', symbol: 'mƒ' }
32
+ ],
33
+
43
34
  // Deprecated:
35
+ ..._commonInfo.legacyMemoInfo,
36
+ defaultSettings: {
37
+ customFeeSettings: ['satPerByte'],
38
+ blockbookServers: ['wss://blockbook.firo.org'],
39
+ enableCustomServers: false
40
+ },
44
41
  metaTokens: []
45
42
  }; exports.currencyInfo = currencyInfo
46
43
 
@@ -1,2 +1,4 @@
1
- import { EdgeCurrencyInfo } from 'edge-core-js/types';
2
- export declare const memoInfo: Partial<EdgeCurrencyInfo>;
1
+ import { EdgeCurrencyInfo, EdgeMemoOption } from 'edge-core-js/types';
2
+ export declare const utxoCustomFeeTemplate: EdgeCurrencyInfo['customFeeTemplate'];
3
+ export declare const utxoMemoOptions: EdgeMemoOption[];
4
+ export declare const legacyMemoInfo: Partial<EdgeCurrencyInfo>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edge-currency-plugins",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Edge currency plugins to fetch and process wallet accounts, balances and transactions.",
5
5
  "repository": "https://github.com/EdgeApp/edge-currency-plugins",
6
6
  "license": "MIT",