edge-currency-plugins 3.5.4 → 3.6.1
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.
- package/android/src/main/assets/edge-currency-plugins/edge-currency-plugins.js +43 -42
- package/lib/common/utxobased/info/all.js +3 -0
- package/lib/common/utxobased/info/bitcointestnet4.js +88 -0
- package/lib/common/utxobased/info/qtum.js +5 -1
- package/lib/src/common/utxobased/info/all.d.ts +1 -0
- package/lib/src/common/utxobased/info/bitcointestnet4.d.ts +6 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ var _bitcoingold = require('./bitcoingold'); _createNamedExportFrom(_bitcoingold
|
|
|
6
6
|
var _bitcoingoldtestnet = require('./bitcoingoldtestnet'); _createNamedExportFrom(_bitcoingoldtestnet, 'bitcoingoldtestnet', 'info');
|
|
7
7
|
var _bitcoinsv = require('./bitcoinsv'); _createNamedExportFrom(_bitcoinsv, 'bitcoinsv', 'info');
|
|
8
8
|
var _bitcointestnet = require('./bitcointestnet'); _createNamedExportFrom(_bitcointestnet, 'bitcointestnet', 'info');
|
|
9
|
+
var _bitcointestnet4 = require('./bitcointestnet4'); _createNamedExportFrom(_bitcointestnet4, 'bitcointestnet4', 'info');
|
|
9
10
|
var _dash = require('./dash'); _createNamedExportFrom(_dash, 'dash', 'info');
|
|
10
11
|
var _digibyte = require('./digibyte'); _createNamedExportFrom(_digibyte, 'digibyte', 'info');
|
|
11
12
|
var _dogecoin = require('./dogecoin'); _createNamedExportFrom(_dogecoin, 'dogecoin', 'info');
|
|
@@ -40,6 +41,7 @@ var _zcoin = require('./zcoin'); _createNamedExportFrom(_zcoin, 'zcoin', 'info')
|
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
|
|
44
|
+
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
const all = [
|
|
@@ -51,6 +53,7 @@ var _zcoin = require('./zcoin'); _createNamedExportFrom(_zcoin, 'zcoin', 'info')
|
|
|
51
53
|
_bitcoingoldtestnet.info,
|
|
52
54
|
_bitcoinsv.info,
|
|
53
55
|
_bitcointestnet.info,
|
|
56
|
+
_bitcointestnet4.info,
|
|
54
57
|
_dash.info,
|
|
55
58
|
_digibyte.info,
|
|
56
59
|
_dogecoin.info,
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _commonInfo = require('./commonInfo');
|
|
9
|
+
|
|
10
|
+
const currencyInfo = {
|
|
11
|
+
assetDisplayName: 'Bitcoin Testnet4',
|
|
12
|
+
chainDisplayName: 'Bitcoin Testnet4',
|
|
13
|
+
canReplaceByFee: true,
|
|
14
|
+
currencyCode: 'TESTBTC',
|
|
15
|
+
customFeeTemplate: _commonInfo.utxoCustomFeeTemplate,
|
|
16
|
+
memoOptions: _commonInfo.utxoMemoOptions,
|
|
17
|
+
pluginId: 'bitcointestnet4',
|
|
18
|
+
walletType: 'wallet:bitcointestnet4',
|
|
19
|
+
|
|
20
|
+
// Explorers:
|
|
21
|
+
blockExplorer: 'https://mempool.space/testnet4/block/%s',
|
|
22
|
+
addressExplorer: 'https://mempool.space/testnet4/address/%s',
|
|
23
|
+
transactionExplorer: 'https://mempool.space/testnet4/tx/%s',
|
|
24
|
+
|
|
25
|
+
denominations: [
|
|
26
|
+
{ name: 'TESTBTC', multiplier: '100000000', symbol: '₿' },
|
|
27
|
+
{ name: 'mTESTBTC', multiplier: '100000', symbol: 'm₿' },
|
|
28
|
+
{ name: 'bits', multiplier: '100', symbol: 'ƀ' },
|
|
29
|
+
{ name: 'sats', multiplier: '1', symbol: 's' }
|
|
30
|
+
],
|
|
31
|
+
|
|
32
|
+
// Deprecated:
|
|
33
|
+
..._commonInfo.legacyMemoInfo,
|
|
34
|
+
defaultSettings: {
|
|
35
|
+
customFeeSettings: ['satPerByte'],
|
|
36
|
+
blockbookServers: [
|
|
37
|
+
'wss://blockbook.tbtc-1.zelcore.io',
|
|
38
|
+
'wss://testnet4-explorer.wakiyamap.dev'
|
|
39
|
+
],
|
|
40
|
+
enableCustomServers: false
|
|
41
|
+
},
|
|
42
|
+
displayName: 'Bitcoin Testnet4',
|
|
43
|
+
metaTokens: []
|
|
44
|
+
}; exports.currencyInfo = currencyInfo
|
|
45
|
+
|
|
46
|
+
const engineInfo = {
|
|
47
|
+
formats: ['bip49', 'bip84', 'bip44', 'bip32'],
|
|
48
|
+
forks: ['bitcoincash', 'bitcoingold'],
|
|
49
|
+
gapLimit: 25,
|
|
50
|
+
feeUpdateInterval: 60000,
|
|
51
|
+
mempoolSpaceFeeInfoServer:
|
|
52
|
+
'https://mempool.space/testnet4/api/v1/fees/recommended',
|
|
53
|
+
defaultFeeInfo: {
|
|
54
|
+
lowFeeFudgeFactor: undefined,
|
|
55
|
+
standardFeeLowFudgeFactor: undefined,
|
|
56
|
+
standardFeeHighFudgeFactor: undefined,
|
|
57
|
+
highFeeFudgeFactor: undefined,
|
|
58
|
+
|
|
59
|
+
highFee: '150',
|
|
60
|
+
lowFee: '20',
|
|
61
|
+
standardFeeLow: '50',
|
|
62
|
+
standardFeeHigh: '100',
|
|
63
|
+
standardFeeLowAmount: '173200',
|
|
64
|
+
standardFeeHighAmount: '8670000'
|
|
65
|
+
}
|
|
66
|
+
}; exports.engineInfo = engineInfo
|
|
67
|
+
|
|
68
|
+
const coinInfo = {
|
|
69
|
+
name: 'bitcointestnet4',
|
|
70
|
+
segwit: true,
|
|
71
|
+
coinType: 1,
|
|
72
|
+
|
|
73
|
+
prefixes: {
|
|
74
|
+
messagePrefix: ['\x18Bitcoin Signed Message:\n'],
|
|
75
|
+
wif: [0xef],
|
|
76
|
+
legacyXPriv: [0x04358394],
|
|
77
|
+
legacyXPub: [0x043587cf],
|
|
78
|
+
wrappedSegwitXPriv: [0x044a4e28],
|
|
79
|
+
wrappedSegwitXPub: [0x044a5262],
|
|
80
|
+
segwitXPriv: [0x045f18bc],
|
|
81
|
+
segwitXPub: [0x045f1cf6],
|
|
82
|
+
pubkeyHash: [0x6f],
|
|
83
|
+
scriptHash: [0xc4],
|
|
84
|
+
bech32: ['tb']
|
|
85
|
+
}
|
|
86
|
+
}; exports.coinInfo = coinInfo
|
|
87
|
+
|
|
88
|
+
const info = { currencyInfo: exports.currencyInfo, engineInfo: exports.engineInfo, coinInfo: exports.coinInfo }; exports.info = info
|
|
@@ -28,7 +28,11 @@ const currencyInfo = {
|
|
|
28
28
|
..._commonInfo.legacyMemoInfo,
|
|
29
29
|
defaultSettings: {
|
|
30
30
|
customFeeSettings: ['satPerByte'],
|
|
31
|
-
blockbookServers: [
|
|
31
|
+
blockbookServers: [
|
|
32
|
+
'wss://qtum-eusa1.edge.app',
|
|
33
|
+
'wss://blockv3.qtum.info',
|
|
34
|
+
'wss://qtum.atomicwallet.io'
|
|
35
|
+
],
|
|
32
36
|
enableCustomServers: false
|
|
33
37
|
},
|
|
34
38
|
displayName: 'Qtum',
|
|
@@ -6,6 +6,7 @@ export { info as bitcoingold } from './bitcoingold';
|
|
|
6
6
|
export { info as bitcoingoldtestnet } from './bitcoingoldtestnet';
|
|
7
7
|
export { info as bitcoinsv } from './bitcoinsv';
|
|
8
8
|
export { info as bitcointestnet } from './bitcointestnet';
|
|
9
|
+
export { info as bitcointestnet4 } from './bitcointestnet4';
|
|
9
10
|
export { info as dash } from './dash';
|
|
10
11
|
export { info as digibyte } from './digibyte';
|
|
11
12
|
export { info as dogecoin } from './dogecoin';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EdgeCurrencyInfo } from 'edge-core-js/types';
|
|
2
|
+
import { CoinInfo, EngineInfo, PluginInfo } from '../../plugin/types';
|
|
3
|
+
export declare const currencyInfo: EdgeCurrencyInfo;
|
|
4
|
+
export declare const engineInfo: EngineInfo;
|
|
5
|
+
export declare const coinInfo: CoinInfo;
|
|
6
|
+
export declare const info: PluginInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edge-currency-plugins",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": "Edge currency plugins to fetch and process wallet accounts, balances and transactions.",
|
|
5
5
|
"homepage": "https://edge.app/",
|
|
6
6
|
"repository": "https://github.com/EdgeApp/edge-currency-plugins",
|