@neuraiproject/neurai-key 2.8.3 → 2.8.5
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/.vscode/settings.json +3 -0
- package/README.md +97 -21
- package/dist/NeuraiKey.js +173 -157
- package/dist/main.js +32 -16
- package/dist/main.js.map +1 -1
- package/dist/module.js +33 -14
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +8 -4
- package/dist/types.d.ts.map +1 -1
- package/example-passphrase.js +34 -0
- package/index.ts +43 -15
- package/package.json +3 -2
- package/test-html/NeuraiKey.js +60497 -0
- package/test-html/index.html +543 -0
- package/test.js +65 -20
- package/types.ts +1 -0
package/dist/NeuraiKey.js
CHANGED
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
(function (Buffer){(function (){
|
|
3
3
|
var $g5Y9E$hyperbitjschains = require("@hyperbitjs/chains");
|
|
4
4
|
var $g5Y9E$bip39 = require("bip39");
|
|
5
|
+
var $g5Y9E$crypto = require("crypto");
|
|
5
6
|
var $g5Y9E$coinkey = require("coinkey");
|
|
6
7
|
var $g5Y9E$hdkey = require("hdkey");
|
|
8
|
+
var $g5Y9E$bs58check = require("bs58check");
|
|
7
9
|
|
|
8
10
|
|
|
9
|
-
function $parcel$interopDefault(a) {
|
|
10
|
-
return a && a.__esModule ? a.default : a;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
11
|
function $parcel$defineInteropFlag(a) {
|
|
14
12
|
Object.defineProperty(a, '__esModule', {value: true, configurable: true});
|
|
15
13
|
}
|
|
@@ -29,6 +27,7 @@ $parcel$export(module.exports, "isMnemonicValid", () => $80bd448eb6ea085b$export
|
|
|
29
27
|
$parcel$export(module.exports, "getAddressByWIF", () => $80bd448eb6ea085b$export$f43d70cb4ddd5664);
|
|
30
28
|
$parcel$export(module.exports, "entropyToMnemonic", () => $80bd448eb6ea085b$export$4becd65eb23312e6);
|
|
31
29
|
$parcel$export(module.exports, "generateAddressObject", () => $80bd448eb6ea085b$export$de190b37be25f71b);
|
|
30
|
+
$parcel$export(module.exports, "publicKeyToAddress", () => $80bd448eb6ea085b$export$462669520a9d12d1);
|
|
32
31
|
$parcel$export(module.exports, "generateAddress", () => $80bd448eb6ea085b$export$e2e336010351d8a8);
|
|
33
32
|
$parcel$export(module.exports, "default", () => $80bd448eb6ea085b$export$2e2bcd8739ae039);
|
|
34
33
|
//Gives us meta data about coins/chains
|
|
@@ -36,13 +35,14 @@ $parcel$export(module.exports, "default", () => $80bd448eb6ea085b$export$2e2bcd8
|
|
|
36
35
|
|
|
37
36
|
|
|
38
37
|
|
|
38
|
+
|
|
39
|
+
|
|
39
40
|
function $80bd448eb6ea085b$var$getNetwork(name) {
|
|
40
41
|
const c = name.toLowerCase(); //Just to be sure
|
|
42
|
+
const chainData = (0, $g5Y9E$hyperbitjschains.chains);
|
|
41
43
|
const map = {
|
|
42
|
-
xna:
|
|
43
|
-
"xna-test":
|
|
44
|
-
evr: (0, $g5Y9E$hyperbitjschains.chains).evr.mainnet.versions,
|
|
45
|
-
"evr-test": (0, $g5Y9E$hyperbitjschains.chains).evr.testnet?.versions
|
|
44
|
+
xna: chainData.xna.mainnet.versions,
|
|
45
|
+
"xna-test": chainData.xna.testnet?.versions
|
|
46
46
|
};
|
|
47
47
|
const network = map[c];
|
|
48
48
|
if (!network) throw new Error("network must be of value " + Object.keys(map).toString());
|
|
@@ -52,8 +52,8 @@ function $80bd448eb6ea085b$export$23109f16a8a07245(network) {
|
|
|
52
52
|
const chain = $80bd448eb6ea085b$var$getNetwork(network);
|
|
53
53
|
return chain.bip44;
|
|
54
54
|
}
|
|
55
|
-
function $80bd448eb6ea085b$export$6e3ac79f8c0a2892(network, mnemonic, account, position) {
|
|
56
|
-
const hdKey = $80bd448eb6ea085b$export$6c78ccde21ad48f6(network, mnemonic);
|
|
55
|
+
function $80bd448eb6ea085b$export$6e3ac79f8c0a2892(network, mnemonic, account, position, passphrase = "") {
|
|
56
|
+
const hdKey = $80bd448eb6ea085b$export$6c78ccde21ad48f6(network, mnemonic, passphrase);
|
|
57
57
|
const coin_type = $80bd448eb6ea085b$export$23109f16a8a07245(network);
|
|
58
58
|
//https://github.com/satoshilabs/slips/blob/master/slip-0044.md
|
|
59
59
|
//Syntax of BIP44
|
|
@@ -69,11 +69,11 @@ function $80bd448eb6ea085b$export$6e3ac79f8c0a2892(network, mnemonic, account, p
|
|
|
69
69
|
position: position
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
function $80bd448eb6ea085b$export$6c78ccde21ad48f6(network, mnemonic) {
|
|
72
|
+
function $80bd448eb6ea085b$export$6c78ccde21ad48f6(network, mnemonic, passphrase = "") {
|
|
73
73
|
const chain = $80bd448eb6ea085b$var$getNetwork(network);
|
|
74
|
-
const seed = $g5Y9E$bip39.mnemonicToSeedSync(mnemonic).toString("hex");
|
|
74
|
+
const seed = $g5Y9E$bip39.mnemonicToSeedSync(mnemonic, passphrase).toString("hex");
|
|
75
75
|
//From the seed, get a hdKey, can we use CoinKey instead?
|
|
76
|
-
const hdKey =
|
|
76
|
+
const hdKey = $g5Y9E$hdkey.fromMasterSeed(Buffer.from(seed, "hex"), chain.bip32);
|
|
77
77
|
return hdKey;
|
|
78
78
|
}
|
|
79
79
|
function $80bd448eb6ea085b$export$6fc951b76952b95e(network, hdKey, path) {
|
|
@@ -83,6 +83,7 @@ function $80bd448eb6ea085b$export$6fc951b76952b95e(network, hdKey, path) {
|
|
|
83
83
|
return {
|
|
84
84
|
address: ck2.publicAddress,
|
|
85
85
|
path: path,
|
|
86
|
+
publicKey: ck2.publicKey.toString("hex"),
|
|
86
87
|
privateKey: ck2.privateKey.toString("hex"),
|
|
87
88
|
WIF: ck2.privateWif
|
|
88
89
|
};
|
|
@@ -110,11 +111,11 @@ function $80bd448eb6ea085b$export$f43d70cb4ddd5664(network, privateKeyWIF) {
|
|
|
110
111
|
};
|
|
111
112
|
}
|
|
112
113
|
const $80bd448eb6ea085b$export$4becd65eb23312e6 = $g5Y9E$bip39.entropyToMnemonic;
|
|
113
|
-
function $80bd448eb6ea085b$export$de190b37be25f71b(network = "xna") {
|
|
114
|
+
function $80bd448eb6ea085b$export$de190b37be25f71b(network = "xna", passphrase = "") {
|
|
114
115
|
const mnemonic = $80bd448eb6ea085b$export$9f993213e5806bf0();
|
|
115
116
|
const account = 0;
|
|
116
117
|
const position = 0;
|
|
117
|
-
const addressPair = $80bd448eb6ea085b$export$6e3ac79f8c0a2892(network, mnemonic, account, position);
|
|
118
|
+
const addressPair = $80bd448eb6ea085b$export$6e3ac79f8c0a2892(network, mnemonic, account, position, passphrase);
|
|
118
119
|
const addressObject = addressPair.external;
|
|
119
120
|
const result = {
|
|
120
121
|
...addressObject,
|
|
@@ -123,6 +124,20 @@ function $80bd448eb6ea085b$export$de190b37be25f71b(network = "xna") {
|
|
|
123
124
|
};
|
|
124
125
|
return result;
|
|
125
126
|
}
|
|
127
|
+
function $80bd448eb6ea085b$export$462669520a9d12d1(network, publicKey) {
|
|
128
|
+
const chain = $80bd448eb6ea085b$var$getNetwork(network);
|
|
129
|
+
const keyBuffer = Buffer.isBuffer(publicKey) ? publicKey : Buffer.from(publicKey, "hex");
|
|
130
|
+
if (keyBuffer.length !== 33 && keyBuffer.length !== 65) throw new Error("Public key must be 33 or 65 bytes");
|
|
131
|
+
const sha256Hash = (0, $g5Y9E$crypto.createHash)("sha256").update(keyBuffer).digest();
|
|
132
|
+
const ripemd160Hash = (0, $g5Y9E$crypto.createHash)("ripemd160").update(sha256Hash).digest();
|
|
133
|
+
const payload = Buffer.concat([
|
|
134
|
+
Buffer.from([
|
|
135
|
+
chain.public
|
|
136
|
+
]),
|
|
137
|
+
ripemd160Hash
|
|
138
|
+
]);
|
|
139
|
+
return $g5Y9E$bs58check.encode(payload);
|
|
140
|
+
}
|
|
126
141
|
function $80bd448eb6ea085b$export$e2e336010351d8a8(network = "xna") {
|
|
127
142
|
return $80bd448eb6ea085b$export$de190b37be25f71b(network);
|
|
128
143
|
}
|
|
@@ -135,14 +150,15 @@ var $80bd448eb6ea085b$export$2e2bcd8739ae039 = {
|
|
|
135
150
|
getAddressPair: $80bd448eb6ea085b$export$6e3ac79f8c0a2892,
|
|
136
151
|
getCoinType: $80bd448eb6ea085b$export$23109f16a8a07245,
|
|
137
152
|
getHDKey: $80bd448eb6ea085b$export$6c78ccde21ad48f6,
|
|
138
|
-
isMnemonicValid: $80bd448eb6ea085b$export$2b99b9ff149202f3
|
|
153
|
+
isMnemonicValid: $80bd448eb6ea085b$export$2b99b9ff149202f3,
|
|
154
|
+
publicKeyToAddress: $80bd448eb6ea085b$export$462669520a9d12d1
|
|
139
155
|
};
|
|
140
156
|
|
|
141
157
|
|
|
142
158
|
|
|
143
159
|
|
|
144
160
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
145
|
-
},{"@hyperbitjs/chains":4,"bip39":37,"buffer":
|
|
161
|
+
},{"@hyperbitjs/chains":4,"bip39":37,"bs58check":81,"buffer":83,"coinkey":93,"crypto":104,"hdkey":174}],2:[function(require,module,exports){
|
|
146
162
|
(function (Buffer){(function (){
|
|
147
163
|
'use strict';
|
|
148
164
|
|
|
@@ -3548,13 +3564,13 @@ exports.zer = zer;
|
|
|
3548
3564
|
|
|
3549
3565
|
|
|
3550
3566
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
3551
|
-
},{"buffer":
|
|
3567
|
+
},{"buffer":83}],3:[function(require,module,exports){
|
|
3552
3568
|
(function (Buffer){(function (){
|
|
3553
3569
|
"use strict";function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}).apply(this,arguments)}Object.defineProperty(exports,"__esModule",{value:!0});var t={mainnet:e({},{name:"5gcash",decimalPlaces:1e8,unit:"VGC",symbol:"vgc",messagePrefix:"Bitcoin Signed Message:\n",confirmations:6,website:"https://fiveg.cash/",projectUrl:"https://github.com/5g-cash/5g"},{id:"A44223B1-CEE2-4EE6-B331-36A6BF608A69",network:"mainnet",hashGenesisBlock:"0x000000b3cf5064a01dcdc8931f5bae3cc38c6af1aec07f4459903e9eebae986a",port:22020,portRpc:22019,protocol:{magic:3366337532},seedsDns:["node1.fiveg.cash","node2.fiveg.cash"],versions:{bip32:{private:35729707,public:36513075},private:210,public:10,scripthash:11}})},i={name:"Bitcoin",decimalPlaces:1e8,unit:"BTC",symbol:"btc",messagePrefix:"Bitcoin Signed Message:\n",messagePrefixAlts:["Bitcoin Signed Message:\n","Bitcoin Signed Message:\n","Bitcoin Signed Message:\n"],confirmations:6,website:"https://bitcoincore.org/",projectUrl:"https://github.com/bitcoin/bitcoin"},s={mainnet:e({},i,{id:"E406C7BC-5DFD-461F-B67C-D8027DD72B96",network:"mainnet",hashGenesisBlock:"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",port:8333,portRpc:8332,protocol:{magic:3652501241},bech32:"bc",seedsDns:["seed.bitcoin.sipa.be","dnsseed.bluematt.me","seed.bitcoinstats.com","seed.bitcoin.jonasschnelli.ch","seed.btc.petertodd.org","seed.bitcoin.sprovoost.nl","dnsseed.emzy.de"],versions:{bip32:{private:76066276,public:76067358},bip44:0,private:128,public:0,scripthash:5}}),testnet:e({},i,{id:"59812B76-A692-41A3-B42C-727E6E8D3F82",network:"testnet",hashGenesisBlock:"000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943",port:18333,portRpc:18332,protocol:{magic:118034699},bech32:"tb",seedsDns:["testnet-seed.alexykot.me","testnet-seed.bitcoin.schildbach.de","testnet-seed.bitcoin.petertodd.org","testnet-seed.bluematt.me"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}}),regtest:e({},i,{id:"728E7EFF-9E3F-4DA0-83D6-31E214D7C306",network:"regtest",hashGenesisBlock:"0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206",port:18444,portRpc:18332,protocol:{magic:3669344250},bech32:"bcrt",seedsDns:[],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}}),simnet:e({},i,{id:"36F2C046-D941-411B-B94B-5B6033844241",network:"simnet",hashGenesisBlock:"f67ad7695d9b662a72ff3d8edbbb2de0bfa67b13974bb9910d116d5cbd863e68",port:18555,portRpc:18556,protocol:{magic:303307798},bech32:"sb",seedsDns:[],versions:{bip32:{private:69253376,public:69254458},bip44:115,private:100,public:63,scripthash:123}})},n={mainnet:e({},{name:"Bitcoin Candy",decimalPlaces:1e5,unit:"CDY",symbol:"cdy",messagePrefix:"Bitcoin Candy Signed Message:\n",confirmations:6,website:"https://cdy.one/",projectUrl:"https://github.com/bitcoincandyofficial/bitcoincandy"},{id:"4313D1BD-1AFC-4927-8FD4-A5FA8AA62EBA",network:"mainnet",hashGenesisBlock:"0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",port:8367,portRpc:8366,protocol:{magic:3653551075},seedsDns:["seed.cdy.one","cdyseed1.awmlite.com","cdyseed2.awmlite.com","block.cdy.one","seed.bitcdy.com"],versions:{bip32:{private:76066276,public:76067358},bip44:1145,private:128,public:28,scripthash:88}})},o={name:"Bitcoin Cash",decimalPlaces:1e8,unit:"BCH",symbol:"bch",messagePrefix:"eCash Signed Message:\n",algorithm:"zhash",confirmations:6,website:"https://bch.info",projectUrl:"https://gitlab.com/bitcoin-cash-node/"},c={mainnet:e({},o,{id:"F3A5E149-4E93-4CF8-8DE2-622A98EB9298",network:"mainnet",hashGenesisBlock:"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",port:8333,portRpc:8332,protocol:{magic:3908297187},seedsDns:["seed.bitcoinabc.org","seed-abc.bitcoinforks.org","btccash-seeder.bitcoinunlimited.info","seed.bitprim.org","seed.deadalnix.me","seeder.criptolayer.net"],versions:{bip32:{private:76066276,public:76067358},bip44:145,private:128,public:0,scripthash:5}}),testnet:e({},o,{id:"0E8F5AF7-C747-4CA8-B5AA-A5F4D91E5619",network:"testnet",hashGenesisBlock:"000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943",port:18333,portRpc:18332,protocol:{magic:4109624820},seedsDns:["testnet-seed.bitcoinabc.org","testnet-seed-abc.bitcoinforks.org","testnet-seed.bitprim.org","testnet-seed.deadalnix.me","testnet-seeder.criptolayer.net"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}}),regtest:e({},o,{id:"DDDFE1B1-5E66-471D-A566-CC68F3B9A6FA",network:"regtest",hashGenesisBlock:"0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206",port:18444,portRpc:18332,protocol:{magic:4206867930},seedsDns:[],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},a={name:"Bitcoin Gold",unit:"BTG",symbol:"btg",decimalPlaces:1e8,messagePrefix:"Bitcoin Gold Signed Message:\n",algorithm:"zhash",confirmations:6,website:"https://btgofficial.org/",projectUrl:"https://github.com/BTCGPU/BTCGPU"},r={mainnet:e({},a,{id:"614FE93F-FA33-4BF7-B822-291EB11DC77A",network:"mainnet",hashGenesisBlock:"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",port:8338,portRpc:8338,protocol:{magic:1148012513},bech32:"btg",seedsDns:["eu-dnsseed.bitcoingold-official.org","dnsseed.bitcoingold.org","dnsseed.btcgpu.org"],versions:{bip32:{private:76066276,public:76067358},bip44:156,private:128,public:38,scripthash:23}}),testnet:e({},a,{id:"65FFA51B-28B7-4939-8BBF-240D5E2E22A0",network:"testnet",hashGenesisBlock:"0x00000000e0781ebe24b91eedc293adfea2f557b53ec379e78959de3853e6f9f6",port:18338,portRpc:18332,protocol:{magic:1164855522},bech32:"tbtg",seedsDns:["test-dnsseed.bitcoingold.org","test-dnsseed.btcgpu.org","eu-test-dnsseed.bitcoingold-official.org"],versions:{bip32:{private:70615956,public:70617039},bip44:156,private:239,public:111,scripthash:196}})},p={mainnet:e({},{name:"Bitcoinz",decimalPlaces:1e8,unit:"BTCZ",symbol:"btcz",messagePrefix:"BitcoinZ Signed Message:\n",confirmations:3,website:"https://getbtcz.com/",projectUrl:"https://github.com/btcz/bitcoinz"},{id:"BE420613-C050-4D05-8229-8C3EBC449B84",network:"mainnet"})},d={mainnet:e({},{name:"BlackCoin",decimalPlaces:1e8,unit:"BLK",symbol:"blk",messagePrefix:"BlackCoin Signed Message:\n",confirmations:10,website:"https://blackcoin.org/",projectUrl:"https://github.com/CoinBlack/blackcoin-more"},{id:"85526DEF-8C30-410B-AE09-2EBA587D7ACA",network:"mainnet",hashGenesisBlock:"000001faef25dec4fbcf906e6242621df2c183bf232f263d0ba5b101911e4563",port:15714,portRpc:15715,protocol:{magic:86127984},seedsDns:["rat4.blackcoin.co","seed.blackcoin.co","archon.darkfox.id.au","foxy.seeds.darkfox.id.au","6.syllabear.us.to","bcseed.syllabear.us.to"],versions:{bip32:{private:76066276,public:76067358},bip44:10,private:153,public:25,scripthash:85}})},b={mainnet:e({},{name:"BeeZee",decimalPlaces:1e8,unit:"BZE",symbol:"bze",messagePrefix:"BeeZee Signed Message:\n",confirmations:6,website:"https://getbze.com/",projectUrl:"https://github.com/bze-alphateam"},{id:"AE36FA8A-6CC4-47A6-9A27-4D7604EBADF9",network:"mainnet"})},m={name:"c0ban",unit:"RYO",symbol:"coban",decimalPlaces:1e8,messagePrefix:"c0ban Signed Message:\n",confirmations:16,website:"https://www.c0ban.co/",projectUrl:"https://github.com/c0ban/c0ban"},l={mainnet:e({},m,{id:"45C5BEAB-73EB-4BA7-BF13-482CE66FFE38",network:"mainnet",hashGenesisBlock:"000000005184ffce04351e687a3965b300ee011d26b2089232cd039273be4a67",port:3881,portRpc:3882,protocol:{magic:1851928675},seedsDns:["jp01.dnsseed.c0ban.com","kr01.dnsseed.c0ban.com"],versions:{bip32:{private:76066276,public:76067358},bip44:88888,private:136,public:18,scripthash:28}}),testnet:e({},m,{id:"1EB72780-6E27-4F84-BDEE-82E41798A969",network:"testnet",hashGenesisBlock:"000000005184ffce04351e687a3965b300ee011d26b2089232cd039273be4a67",port:13881,portRpc:13882,protocol:{magic:2390917251},seedsDns:[],versions:{bip32:{private:70812552,public:72910728},bip44:1,private:238,public:118,scripthash:198}}),regtest:e({},m,{id:"EE9BB417-986B-4B72-A197-947D5AA5C260",network:"regtest",hashGenesisBlock:"3249e44acac8fc67e6b94e882525cea6f5a9853e1ff7b4a1d5f470b23ff8ae11",port:23881,portRpc:23882,protocol:{magic:3669344250},seedsDns:[],versions:{bip32:{private:70617039,public:70615956},bip44:1,private:239,public:111,scripthash:196}})},h={name:"CityCoin",unit:"CITY",symbol:"city",decimalPlaces:1e8,consensus:"PoS",confirmations:6,website:"https://www.city-chain.org/",projectUrl:"https://github.com/CityChainFoundation/"},g={mainnet:e({},h,{id:"EE15B76D-FA2E-4346-B3ED-678716DA5B6A",network:"mainnet",unit:"CITY",hashGenesisBlock:"00000b0517068e602ed5279c20168cfa1e69884ee4e784909652da34c361bff2",port:4333,portRpc:4334,protocol:{magic:1129601281},seedsDns:["seed.city-chain.org","seed.city-coin.org","seed.citychain.foundation","seed.liberstad.com"],versions:{bip32:{private:76066276,public:76067358},bip44:1926,private:237,public:28,scripthash:88}}),testnet:e({},h,{id:"42F98C13-879E-46DB-8DFE-17F6611D1700",network:"testnet",unit:"TCITY",hashGenesisBlock:"00077765f625cc2cb6266544ff7d5a462f25be14ea1116dc2bd2fec17e40a5e3",port:24333,portRpc:24334,protocol:{magic:1129600001},seedsDns:["testseed.city-chain.org","testseed.city-coin.org","testseed.citychain.foundation"],versions:{bip32:{private:76066276,public:76067358},bip44:1926,private:194,public:66,scripthash:196}})},f={mainnet:e({},{name:"CloreAI",decimalPlaces:1e8,unit:"CLORE",symbol:"clore",messagePrefix:"Clore Signed Message:\n",confirmations:6,website:"https://www.clore.ai/",projectUrl:"https://gitlab.com/cloreai-public"},{id:"ECC78A5A-965E-4725-B52E-60DF267DA95B",network:"mainnet",hashGenesisBlock:"0000000a50fdaaf22f1c98b8c61559e15ab2269249aa1fb20683180703cdbf07",port:8788,portRpc:9766,protocol:{magic:1229015361},seedsDns:[],versions:{bip32:{private:76066276,public:76067358},bip44:1313,private:112,public:23,scripthash:122}})},u={mainnet:e({},{name:"Commercium",decimalPlaces:1e8,unit:"CMM",symbol:"cmm",messagePrefix:"Commercium Signed Message:\n",confirmations:6,website:"https://www.commercium.net/",projectUrl:"https://github.com/CommerciumBlockchain/Commercium"},{id:"96161E4C-5C6D-4A10-AD17-4E99EC029659",network:"mainnet"})},v={name:"Dash",decimalPlaces:1e8,unit:"DASH",symbol:"dash",confirmations:6,website:"https://www.dash.org/",projectUrl:"https://github.com/dashpay/dash"},B={mainnet:e({},v,{id:"6C9306C2-B4A9-4FF2-B2FB-9ABA8EAABEC3",network:"mainnet",hashGenesisBlock:"00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6",port:9999,portRpc:9998,protocol:{magic:3177909439},seedsDns:["dash.org","dnsseed.dash.org","dashdot.io","dnsseed.dashdot.io","masternode.io","dnsseed.masternode.io","dashpay.io","dnsseed.dashpay.io"],versions:{bip32:{private:76066276,public:76067358},bip44:5,private:204,public:76,scripthash:16}}),testnet:e({},v,{id:"EEE5B077-CCBF-4BB7-B885-8037BFA58C3D",network:"testnet",hashGenesisBlock:"00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c",port:19999,portRpc:19998,seedsDns:["dashdot.io","testnet-seed.dashdot.io","masternode.io","test.dnsseed.masternode.io"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:140,scripthash:19}})},D={name:"Decred",unit:"DCR",symbol:"dcr",decimalPlaces:1e8,website:"https://decred.org/",projectUrl:"https://github.com/decred"},w={mainnet:e({},D,{id:"62FF2E12-60EA-4C2F-B0BD-C0526403F53D",network:"mainnet",hashGenesisBlock:"298e5cc3d985bfe7f81dc135f360abe089edd4396b86d2de66b0cef42b21d980",port:9108,portRpc:9109,protocol:{magic:4177573081},seedsDns:["mainnet-seed.decred.mindcry.org","mainnet-seed.decred.netpurgatory.com","mainnet.decredseed.org","mainnet-seed.decred.org"],versions:{bip32:{private:50177256,public:50178342},bip44:42,private:8926,public:1855,scripthash:1818}}),testnet:e({},D,{id:"34DEA8C5-553E-45A7-96ED-399B47E6F37F",network:"testnet",hashGenesisBlock:"5b7466edf6739adc9b32aaedc54e24bdc59a05f0ced855088835fe3cbe58375f",port:19108,portRpc:19109,protocol:{magic:1223139429},seedsDns:["testnet-seed.decred.mindcry.org","testnet-seed.decred.netpurgatory.org","testnet.decredseed.org","testnet-seed.decred.org"],versions:{bip32:{private:70615959,public:70617041},bip44:42,private:8974,public:3873,scripthash:3836}})},k={name:"Denarius",unit:"DNR",symbol:"dnr",decimalPlaces:1e8,messagePrefix:"Denarius Signed Message:\n",confirmations:10,website:"https://denarius.io/",projectUrl:"https://github.com/metaspartan/denarius"},A={mainnet:e({},k,{id:"61A4CD94-9D81-4FDF-88B9-E1FA3693B597",network:"mainnet",hashGenesisBlock:"00000d5dbbda01621cfc16bbc1f9bf3264d641a5dbf0de89fd0182c2c4828fcd",port:33339,portRpc:32339,protocol:{magic:3035624186},seedsDns:["denariusexplorer.org","denarius.host","denarius.tech","denarius.network"],versions:{bip32:{private:76066276,public:76067358},bip44:116,private:158,public:30,scripthash:90}}),testnet:e({},k,{id:"E6AFFDB1-89FD-4D13-B044-109750E6AC0A",network:"testnet",hashGenesisBlock:"000086bfe8264d241f7f8e5393f747784b8ca2aa98bdd066278d590462a4fdb4",port:33368,portRpc:32368,versions:{bip32:{private:70615956,public:70617039},bip44:1,private:140,public:18,scripthash:116}})},C={mainnet:e({},{name:"DigiByte",decimalPlaces:1e8,unit:"DGB",symbol:"dgb",messagePrefix:"DigiByte Signed Message:\n",confirmations:6,website:"https://www.digibyte.org/",projectUrl:"https://github.com/DigiByte-Core/digibyte"},{id:"99A8045D-48AB-4818-88F3-D5DC90D51609",network:"mainnet",hashGenesisBlock:"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",port:12024,portRpc:14022,protocol:{magic:4207130330},bech32:"dgb",seedsDns:["seed.digibyte.io","digiexplorer.info","digihash.co"],versions:{bip32:{private:76066276,public:76067358},bip44:20,private:128,public:30,scripthash:63,scripthash2:5}})},E={name:"Digital Note",unit:"XDN",symbol:"xdn",decimalPlaces:1e8,messagePrefix:"Digital Note Signed Message:\n",confirmations:10,website:"https://digitalnote.org/",projectUrl:"https://github.com/DigitalNoteXDN"},F={mainnet:e({},E,{id:"9D224C99-16BC-48E2-93EC-24FE78EFA1E0",network:"mainnet",hashGenesisBlock:"0x00000d8e7d39218c4c02132e95a3896d46939b9b95624cf9dd2b0b794e6c216a",port:18092,portRpc:18094,protocol:{magic:3818696481},seedsDns:["103.164.54.203","192.241.147.56","20.193.89.74","161.97.92.102","161.97.106.85","62.171.150.246","138.197.161.183","157.230.107.144","188.166.123.46","159.203.14.113","199.175.54.187","seed1n.digitalnote.biz","seed2n.digitalnote.biz","seed3n.digitalnote.biz","seed4n.digitalnote.biz"],versions:{bip32:{private:76066276,public:76067358},bip44:287,private:142,public:90,scripthash:140}}),testnet:e({},E,{id:"E3052A5E-648B-4A79-A48B-AFA4C3CCD175",network:"testnet",hashGenesisBlock:"0x000510a669c8d36db04317fa98f7bf183d18c96cef5a4a94a6784a2c47f92e6c",port:28092,portRpc:28094,protocol:{magic:4095523906},seedsDns:[],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:102,public:91,scripthash:100}})},x={mainnet:e({},{name:"DogeCash",decimalPlaces:1e8,unit:"DOGEC",symbol:"dogec",messagePrefix:"DarkNet Signed Message:\n",confirmations:6,website:"https://dogecash.net/",projectUrl:"https://github.com/dogecash"},{id:"01939DB9-AA6B-4DFD-805F-5192A08D7D19",network:"mainnet"})},y={name:"Dogecoin",unit:"DOGE",symbol:"doge",decimalPlaces:1e8,messagePrefix:"Dogecoin Signed Message:\n",confirmations:6,website:"https://dogecoin.com/",projectUrl:"https://github.com/dogecoin/dogecoin"},P={mainnet:e({},y,{id:"A601CBA6-D882-4377-A959-8B606EE8EF1C",network:"mainnet",hashGenesisBlock:"1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691",port:22556,portRpc:22555,protocol:{magic:3233857728},seedsDns:["seed.multidoge.org","seed2.multidoge.org"],versions:{bip32:{private:49988504,public:49990397},bip44:3,private:158,public:30,scripthash:22}}),testnet:e({},y,{id:"760C254C-AFAF-4C7E-BE95-B7EAFA302F7D",network:"testnet",hashGenesisBlock:"bb0a78264637406b6360aad926284d544d7049f45189db5664f3c4d07350559e",port:44556,portRpc:44555,protocol:{magic:4240553948},seedsDns:["testseed.jrn.me.uk"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:241,public:113,scripthash:196}})},R={mainnet:e({},{name:"Dynamo",decimalPlaces:1e8,unit:"DYN",symbol:"dyn",messagePrefix:"Bitcoin Signed Message:\n",confirmations:6,website:"https://dynamocoin.org/",projectUrl:"https://github.com/dynamofoundation/dynamo-core"},{id:"11A22C0B-5ECE-4D31-BF9B-0DD4D5FB8495",network:"mainnet"})},j={name:"Evrmore",unit:"EVR",symbol:"evr",decimalPlaces:1e8,messagePrefix:"Evrmore Signed Message:\n",confirmations:6,website:"https://evrmore.com/",projectUrl:"https://github.com/EvrmoreOrg/Evrmore"},G={mainnet:e({},j,{id:"3E6BE753-F659-4D53-BF0E-AD550513836D",network:"mainnet",hashGenesisBlock:"0000007b11d0481b2420a7c656ef76775d54ab5b29ee7ea250bc768535693b05",port:8820,portRpc:8819,protocol:{magic:1297241669},seedsDns:["seed-mainnet-evr.evrmorecoin.org"],versions:{bip32:{private:76066276,public:76067358},bip44:175,private:128,public:33,scripthash:92}}),testnet:e({},j,{id:"6A37B111-864F-4104-B396-C6CD7B15A5FA",network:"testnet",hashGenesisBlock:"00000044bc03f8460e64bc07b080f4929b1cb96fda46b8bd806e57bfb9db82f4",port:18820,portRpc:18819,protocol:{magic:1414682181},seedsDns:["seed-testnet-evr.evrmorecoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},M={name:"Feathercoin",unit:"FTC",symbol:"ftc",decimalPlaces:1e8,messagePrefix:"Feathercoin Signed Message:\n",confirmations:6,website:"https://feathercoin.com/",projectUrl:"https://github.com/FeatherCoin/Feathercoin"},S={mainnet:e({},M,{id:"8B98D6C8-6CAD-4C3E-8545-1D41E309C813",network:"mainnet",hashGenesisBlock:"0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2",port:9336,portRpc:9337,protocol:{magic:555357505},seedsDns:["dnsseed.feathercoin.com","dnsseed1.feathercoin.com","dnsseed.alltheco.in","dnsseed.bushstar.co.uk"],versions:{bip32:{private:76077806,public:76069926},bip44:8,private:142,public:224,scripthash:80}}),testnet:e({},M,{id:"3AB92BB0-BDC3-4FC1-AB47-7943CA13D064",network:"testnet",hashGenesisBlock:"0x79e4683a94fb0374ac9d52638b594dcf0318975acb8b275e280f93c082c0964c",port:19336,portRpc:19337,protocol:{magic:1902798225},seedsDns:["testnet-explorer2.feathercoin.com","testnet-dnsseed.feathercoin.com"],versions:{bip32:{private:70615956,public:4413564},bip44:1,private:239,public:111,scripthash:196}})},U={mainnet:e({},{name:"Firo",decimalPlaces:1e8,unit:"FIRO",symbol:"firo",messagePrefix:"Zcoin Signed Message:\n",messagePrefixAlts:["Lelantus signed Message:\n"],confirmations:2,website:"https://firo.org/",projectUrl:"https://github.com/firoorg/firo"},{id:"F9B3D979-C7CB-4505-95C1-4E6B97DEA3C6",network:"mainnet"})},N={mainnet:e({},{name:"Flits",decimalPlaces:8,unit:"FLS",symbol:"fls",messagePrefix:"DarkNet Signed Message:\n",confirmations:6,website:"https://flitswallet.app/coin",projectUrl:"https://github.com/decenomy/FLS"},{id:"DBF615DF-D62D-4554-A2C0-4334C0E456F2",network:"mainnet"})},z={mainnet:e({},{name:"Frencoin",decimalPlaces:1e8,unit:"FREN",symbol:"fren",messagePrefix:"Fren Signed Message:\n",confirmations:6,website:"https://frencoin.org/",projectUrl:"https://github.com/Apushii/Frencoin,"},{id:"F6435AB6-3F3A-4BC6-B66E-37AA9065A7EC",network:"mainnet"})},I={mainnet:e({},{name:"Gemlink",decimalPlaces:1e8,unit:"GLINK",symbol:"glink",messagePrefix:"Snowgem Signed Message:\n",confirmations:6,website:"https://gemlink.org/",projectUrl:"https://github.com/gemlink"},{id:"4AA16292-6793-4F68-98E9-A56617339DAA",network:"mainnet"})},T={name:"Groestlcoin",decimalPlaces:1e8,unit:"GRS",symbol:"grs",messagePrefix:"GroestlCoin Signed Message:\n",messagePrefixAlts:["GroestlCoin Signed Message:\n","GroestlCoin Signed Message:\n"],confirmations:6,website:"https://www.groestlcoin.org/",projectUrl:"https://github.com/Groestlcoin"},O={mainnet:e({},T,{id:"00D080B5-3063-49FE-B886-61D3248760BA",network:"mainnet",hashGenesisBlock:"00000ac5927c594d49cc0bdb81759d0da8297eb614683d3acb62f0703b639023",port:1331,portRpc:1441,protocol:{magic:3568615161},bech32:"grs",seedsDns:["dnsseed1.groestlcoin.org","dnsseed2.groestlcoin.org","dnsseed3.groestlcoin.org","dnsseed4.groestlcoin.org"],versions:{bip32:{private:76066276,public:76067358},bip44:17,private:128,public:36,scripthash:5}}),testnet:e({},T,{id:"732A7C65-27B7-4661-A3CB-EC2851EC0C8E",network:"testnet",hashGenesisBlock:"0x000000ffbb50fc9898cdd36ec163e6ba23230164c0052a28876255b7dcf2cd36",port:17777,portRpc:17766,protocol:{magic:118034699},bech32:"tgrs",seedsDns:["testnet-seed1.groestlcoin.org","testnet-seed2.groestlcoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}}),regtest:e({},T,{id:"5A12F31D-818D-4354-84B9-E673771A2FD4",network:"regtest",hashGenesisBlock:"0x000000ffbb50fc9898cdd36ec163e6ba23230164c0052a28876255b7dcf2cd36",port:18888,portRpc:18443,protocol:{magic:3669344250},bech32:"grsrt",seedsDns:[],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},V={mainnet:e({},{name:"Horizen",decimalPlaces:1e8,unit:"ZEN",symbol:"zen",messagePrefix:"Zcash Signed Message:\n",confirmations:6,website:"https://www.horizen.io/",projectUrl:"https://github.com/HorizenOfficial"},{id:"8BCC4E31-53F2-4F8A-A143-8687748EADB6",network:"mainnet"})},L={mainnet:e({},{name:"ILCoin",decimalPlaces:1e8,unit:"ILC",symbol:"ilc",messagePrefix:"Ilcoin Signed Message:\n",confirmations:6,website:"https://ilcoincrypto.com/",projectUrl:"https://github.com/ILCOINDevelopmentTeam/ilcoin-master,"},{id:"8EA5F372-4AFF-47CB-89EC-D03462FF4877",network:"mainnet"})},Z={mainnet:e({},{name:"Komodo",decimalPlaces:1e8,unit:"KMD",symbol:"kmd",messagePrefix:"Komodo Signed Message:\n",confirmations:6,website:"https://komodoplatform.com/",projectUrl:"https://github.com/KomodoPlatform/komodo"},{id:"BB022BDE-2D1E-4C46-862B-6F74C69A3812",network:"mainnet"})},H={name:"Litecoin",unit:"LTC",symbol:"ltc",decimalPlaces:1e8,messagePrefix:"Litecoin Signed Message:\n",confirmations:6,website:"https://litecoin.org/",projectUrl:"https://github.com/litecoin-project/litecoin"},q={mainnet:e({},H,{id:"F91D36AB-BBE4-4C35-A3BD-2C3418071883",network:"mainnet",hashGenesisBlock:"12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2",port:9333,portRpc:9332,protocol:{magic:3686187259},bech32:"ltc",seedsDns:["dnsseed.litecointools.com","dnsseed.litecoinpool.org","dnsseed.ltc.xurious.com","dnsseed.koin-project.com","dnsseed.weminemnc.com"],versions:{bip32:{private:27106558,public:27108450},bip44:2,private:176,public:48,scripthash:50,scripthash2:5}}),testnet:e({},H,{id:"AEE56E37-B187-403F-8CF1-5D18BF7ED553",network:"testnet",hashGenesisBlock:"f5ae71e26c74beacc88382716aced69cddf3dffff24f384e1808905e0188f68f",port:19335,portRpc:19332,bech32:"tltc",versions:{bip32:{private:70709117,public:70711009},bip44:1,private:239,public:111,scripthash:58,scripthash2:196}})},K={mainnet:e({},{name:"LitecoinZ",decimalPlaces:1e8,unit:"LTZ",symbol:"ltz",messagePrefix:"LitecoinZ Signed Message:\n",confirmations:6,website:"https://litecoinz.org/",projectUrl:"https://github.com/litecoinz-core/litecoinz"},{id:"E1A60F6A-A558-449F-B2BB-B7F60AB919B1",network:"mainnet"})},Y={name:"Meowcoin",unit:"MEWC",symbol:"mewc",decimalPlaces:1e8,messagePrefix:"Meowcoin Signed Message:\n",algorithm:"kawpow",confirmations:6,website:"https://www.mewccrypto.com/",projectUrl:"https://github.com/Meowcoin-Foundation/Meowcoin"},X={mainnet:e({},Y,{id:"340D72AA-B588-4AE4-9B08-99E65A61EB5F",network:"mainnet",hashGenesisBlock:"0x000000edd819220359469c54f2614b5602ebc775ea67a64602f354bdaa320f70",port:8788,portRpc:9766,protocol:{magic:1129792845},seedsDns:["66.42.117.31","167.179.94.220"],versions:{bip32:{private:76066276,public:76067358},bip44:1669,private:112,public:50,scripthash:122}}),testnet:e({},Y,{id:"457C71FE-A732-4208-A469-22FD6107EE8C",network:"testnet",hashGenesisBlock:"0x000000eaab417d6dfe9bd75119972e1d07ecfe8ff655bef7c2acb3d9a0eeed81",port:4568,portRpc:19766,protocol:{magic:1668769133},seedsDns:["66.42.117.31","167.179.94.220"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:114,public:109,scripthash:124}})},_={name:"MonaCoin",unit:"MONA",symbol:"mona",decimalPlaces:1e8,messagePrefix:"Monacoin Signed Message:\n",confirmations:6,website:"https://monacoin.org/",projectUrl:"https://github.com/monacoinproject/monacoin"},J={mainnet:e({},_,{id:"05F722D9-6B36-4474-B4BF-253BE19CD08B",network:"mainnet",hashGenesisBlock:"ff9f1c0116d19de7c9963845e129f9ed1bfc0b376eb54fd7afa42e0d418c8bb6",port:9401,portRpc:9402,protocol:{magic:3686187259},bech32:"mona",seedsDns:["dnsseed.monacoin.org"],versions:{bip32:{private:76066276,public:76067358},bip44:22,private:176,private2:178,public:50,scripthash:55,scripthash2:5}}),testnet:e({},_,{id:"35512833-0D1A-4F0F-B0ED-135BF6F1D30D",network:"testnet",hashGenesisBlock:"a2b106ceba3be0c6d097b2a6a6aacf9d638ba8258ae478158f449c321061e0b2",port:19403,portRpc:19402,protocol:{magic:4056470269},bech32:"tmona",seedsDns:["testnet-dnsseed.monacoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:117,scripthash2:196}})},Q={name:"Namecoin",unit:"NMC",symbol:"nmc",decimalPlaces:1e8,messagePrefix:"Namecoin Signed Message:\n",confirmations:6,website:"https://www.namecoin.org/",projectUrl:"https://github.com/namecoin"},W={mainnet:e({},Q,{id:"A48ADAD7-E9E8-4A60-88B3-0A3371822C4B",network:"mainnet",hashGenesisBlock:"000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770",port:8334,portRpc:8336,seedsDns:["seed.namecoin.libreisp.se","nmc.seed.quisquis.de","seed.nmc.markasoftware.com","dnsseed1.nmc.dotbit.zone","dnsseed2.nmc.dotbit.zone","dnsseed.nmc.testls.space"],versions:{bip32:{private:76066276,public:76067358},bip44:7,private:180,public:52,scripthash:5}}),testnet:e({},Q,{id:"CC712380-530A-4612-879D-40096E5B7919",network:"testnet",hashGenesisBlock:"00000007199508e34a9ff81e6ec0c477a4cccff2a4767a8eee39c11db367b008",port:18334,portRpc:18336,seedsDns:["dnsseed.test.namecoin.webbtc.com","ncts.roanapur.info"],versions:{bip32:{private:76066276,public:76067358},bip44:7,private:239,public:111,scripthash:196}})},$={name:"Navcoin",unit:"NAV",symbol:"nav",decimalPlaces:1e8,messagePrefix:"Navcoin Signed Message:\n",website:"https://navcoin.org/",projectUrl:"https://github.com/NAVCoin"},ee={mainnet:e({},$,{id:"9BBB6BBE-D8E4-4EB6-AA38-FBAAB65627BA",network:"mainnet",hashGenesisBlock:"0x00006a4e3e18c71c6d48ad6c261e2254fa764cf29607a4357c99b712dfbb8e6a",port:44440,portRpc:44444,protocol:{magic:2152739872},seedsDns:["seed.nav.community","seed2.nav.community"],versions:{bip32:{private:76066276,public:76067358},bip44:130,private:150,public:53,scripthash:85}}),testnet:e({},$,{id:"BB7AADDB-AE77-4E82-9FEB-34CD9A66BA1C",network:"testnet",hashGenesisBlock:"0x0000f8186df4648c46f445a25decd423fa6b62ed220849093f73f6f364116894",port:15556,portRpc:44445,protocol:{magic:841282055},seedsDns:["testseed.nav.community","testseed.navcoin.org"],versions:{bip32:{private:1082710606,public:1082665953},bip44:1,private:239,public:111,scripthash:196}})},te={name:"Neoxa",unit:"NEOX",symbol:"neox",decimalPlaces:1e8,messagePrefix:"Neoxa Signed Message:\n",algorithm:"kawpow",confirmations:6,website:"https://www.neoxa.net/",projectUrl:"https://github.com/NeoxaChain"},ie={mainnet:e({},te,{id:"58CFFA6F-F50F-4638-8172-960A4F871FF9",network:"mainnet",hashGenesisBlock:"0000000a50fdaaf22f1c98b8c61559e15ab2269249aa1fb20683180703cdbf07",port:8788,portRpc:15419,protocol:{magic:1162690887},seedsDns:["seed.neoxa.net","seed1.neoxa.net","seed2.neoxa.net"],versions:{bip32:{private:76066276,public:76067358},bip44:1668,private:112,public:38,scripthash:122}}),testnet:e({},te,{id:"5C68C23A-35C2-458B-94D0-28477FF808ED",network:"testnet",hashGenesisBlock:"000b93d1594035cc0ebe80bc5f69e3cebfbf80069480c8f64e7f974d1627d8a6",port:4572,portRpc:15425,protocol:{magic:1700160352},seedsDns:["testseed.nav.community","testseed.navcoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:10227,private:114,public:42,scripthash:124}})},se={name:"Neurai",unit:"XNA",symbol:"xna",decimalPlaces:1e8,messagePrefix:"Neurai Signed Message:\n",confirmations:6,website:"https://neurai.org/",projectUrl:"https://github.com/NeuraiProject"},ne={mainnet:e({},se,{id:"94C49B3B-2C88-4408-B566-3D277C596778",network:"mainnet",hashGenesisBlock:"00000044d33c0c0ba019be5c0249730424a69cb4c222153322f68c6104484806",port:19e3,portRpc:19001,protocol:{magic:1381320014},seedsDns:["seed1.neurai.org","seed2.neurai.org","neurai-ipv4.neuraiexplorer.com"],versions:{bip32:{private:76066276,public:76067358},bip44:0,private:128,public:53,scripthash:117}}),testnet:e({},se,{id:"1EB2ACBA-E8E0-4970-BB20-37DA4B70F6A6",network:"testnet",hashGenesisBlock:"0000006af8b8297448605b0283473ec712f9768f81cc7eae6269b875dee3b0cf",port:19100,portRpc:19101,protocol:{magic:1313166674},seedsDns:["testnet1.neuracrypt.org","testnet2.neuracrypt.org","testnet3.neuracrypt.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:127,scripthash:196}})},oe={mainnet:e({},{name:"NuBits",decimalPlaces:1e6,unit:"NBT",symbol:"nbt",confirmations:6,website:"https://nubits.com/",projectUrl:"https://bitbucket.org/NuNetwork/nubits/src/master/"},{id:"BCC65F82-A57C-4F18-8407-39FB4030F94E",network:"mainnet",hashGenesisBlock:"000003cc2da5a0a289ad0a590c20a8b975219ddc1204efd169e947dd4cbad73f",port:7890,portRpc:14002,protocol:{magic:3652501241},seedsDns:[],versions:{bip32:{private:76066276,public:76067358},bip44:12,private:150,public:25,scripthash:26}})},ce={name:"Peercoin",decimalPlaces:1e6,unit:"PPC",symbol:"ppc",messagePrefix:"Peercoin Signed Message:\n",messagePrefixAlts:["Peercoin Signed Message:\n"],confirmations:6,website:"https://www.peercoin.net/",projectUrl:"https://github.com/peercoin/peercoin"},ae={mainnet:e({},ce,{id:"DA217E32-4468-443D-992F-08E7A8292346",network:"mainnet",hashGenesisBlock:"0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3",port:9901,portRpc:9902,protocol:{magic:3857311974},seedsDns:["seed.peercoin.net","seed2.peercoin.net","seed.peercoin-library.org","ppcseed.ns.7server.net"],versions:{bip32:{private:76066276,public:76067358},bip44:6,private:183,public:55,scripthash:117}}),testnet:e({},ce,{id:"83D6D590-B6E0-40A6-AB07-3756618DEF92",network:"testnet",hashGenesisBlock:"00000001f757bb737f6596503e17cd17b0658ce630cc727c0cca81aec47c9f06",port:9903,portRpc:9904,protocol:{magic:4022399691},seedsDns:["tseed.peercoin.net","tseed2.peercoin.net","tseed.peercoin-library.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},re={name:"Pigeoncoin",unit:"PGN",symbol:"pgn",decimalPlaces:1e8,messagePrefix:"DarkCoin Signed Message:\n",messageName:"DarkCoin",confirmations:6,website:"https://pigeoncoin.org/",projectUrl:"https://github.com/Pigeoncoin/pigeoncoin"},pe={mainnet:e({},re,{id:"43D9A3E2-1D4A-420F-BF0B-503E15BCB211",network:"mainnet",hashGenesisBlock:"0x000000f049bef9fec0179131874c54c76c0ff59f695db30a4f0da52072c99492",port:18757,portRpc:9998,protocol:{magic:1009464103},seedsDns:["165.232.173.117","161.35.4.115","159.89.177.213","138.68.75.8","47.151.7.226"],versions:{bip32:{private:142057770,public:142057770},bip44:5,private:128,public:55,scripthash:122}}),testnet:e({},re,{id:"C3359BC1-31DE-4176-87DF-9A5A3B09BC60",network:"testnet",hashGenesisBlock:"0x000000a4d5d20f09a4cd9d47cae7e1bb056d46a1ba841ea19267341109f7b3a1",port:18757,portRpc:19998,protocol:{magic:1009464103},seedsDns:["45.63.29.105","149.28.178.208"],versions:{bip32:{private:55806097,public:55801802},bip44:1,private:233,public:112,scripthash:193}})},de={mainnet:e({},{name:"PIVX",decimalPlaces:1e8,unit:"PIVX",symbol:"pivx",messagePrefix:"DarkNet Signed Message:\n",confirmations:6,website:"https://pivx.org/",projectUrl:"https://github.com/PIVX-Project/PIVX/"},{id:"A72D271B-350A-4843-9F8A-A7C51EEE4F1F",network:"mainnet"})},be={mainnet:e({},{name:"Qtum",unit:"QTUM",symbol:"qtum",decimalPlaces:1e8,messagePrefix:"Qtum Signed Message:\n",confirmations:10,website:"https://www.qtum.org/",projectUrl:"https://github.com/qtumproject/qtum/"},{id:"D39DB457-0B65-418D-86F1-2E811E5343E5",network:"mainnet",hashGenesisBlock:"000075aef83cf2853580f8ae8ce6f8c3096cfa21d98334d6e3f95e5582ed986c",port:3888,portRpc:3889,protocol:{magic:3550924785},bech32:"qc",seedsDns:["qtum3.dynu.net","qtum5.dynu.net","qtum6.dynu.net","qtum7.dynu.net"],versions:{bip32:{private:76066276,public:76067358},bip44:2301,private:128,public:58,scripthash:50}})},me={mainnet:e({},{name:"Raptoreum",decimalPlaces:1e8,unit:"RTM",symbol:"rtm",messagePrefix:"DarkCoin Signed Message:\n",confirmations:6,website:"https://raptoreum.com/",projectUrl:"https://github.com/Raptor3um/raptoreum,"},{id:"F9E46898-2D4C-4435-88C4-FF520BA19053",network:"mainnet"})},le={name:"Ravencoin",unit:"RVN",symbol:"rvn",decimalPlaces:1e8,messagePrefix:"Raven Signed Message:\n",algorithm:"kawpow",confirmations:6,website:"https://ravencoin.org/",projectUrl:"https://github.com/RavenProject/Ravencoin"},he={mainnet:e({},le,{id:"A1AC99E9-7285-4C81-8FE6-BF298E32E597",network:"mainnet",hashGenesisBlock:"0000006b444bc2f2ffe627be9d9e7e7a0730000870ef6eb6da46c8eae389df90",port:8767,portRpc:8766,protocol:{magic:1314275666},seedsDns:["seed-raven.bitactivate.com","seed-raven.ravencoin.com","seed-raven.ravencoin.org"],versions:{bip32:{private:76066276,public:76067358},bip44:175,private:128,public:60,scripthash:122}}),testnet:e({},le,{id:"C5546570-CE22-49CD-9F03-F55285B1D659",network:"testnet",hashGenesisBlock:"000000ecfc5e6324a079542221d00e10362bdc894d56500c414060eea8a3ad5a",port:18770,portRpc:18766,protocol:{magic:1414420050},seedsDns:["seed-testnet-raven.bitactivate.com","seed-testnet-raven.ravencoin.com","seed-testnet-raven.ravencoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},ge={mainnet:e({},{name:"Ravencoin Classic",decimalPlaces:1e8,unit:"RVC",symbol:"rvc",messagePrefix:"Raven Signed Message:\n",confirmations:6,website:"https://ravencoinclassic.io/",projectUrl:"https://github.com/ravencoinclassicio"},{id:"F17CB828-4786-4F77-A727-A0C03516D4B2",network:"mainnet"})},fe={name:"ReddCoin",unit:"RDD",symbol:"rdd",decimalPlaces:1e8,confirmations:6,website:"https://www.reddcoin.com/",projectUrl:"https://github.com/reddcoin-project/reddcoin"},ue={mainnet:e({},fe,{id:"A0F1B6CA-5A6E-4D09-8334-EE5C9AC4C21D",network:"mainnet",hashGenesisBlock:"b868e0d95a3c3c0e0dadc67ee587aaf9dc8acbf99e3b4b3110fad4eb74c1decc",port:45444,portRpc:45443,seedsDns:["seed.reddcoin.com","dnsseed01.redd.ink","dnsseed02.redd.ink","dnsseed03.redd.ink"],versions:{bip32:{private:76067358,public:76066276},bip44:4,private:189,public:61,scripthash:5}}),testnet:e({},fe,{id:"86EC9D82-4A7C-4B99-8261-D185B898A5F1",network:"testnet",hashGenesisBlock:"a12ac9bd4cd26262c53a6277aafc61fe9dfe1e2b05eaa1ca148a5be8b394e35a",port:55444,portRpc:55443,seedsDns:["testnet-seed.reddcoin.com","testnet-dnsseed.redd.ink"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},ve={name:"Ritocoin",unit:"RITO",symbol:"rito",decimalPlaces:1e8,messagePrefix:"Rito Signed Message:\n",algorithm:"x21s",confirmations:6,website:"https://ritocoin.org/",projectUrl:"https://github.com/RitoProject"},Be={mainnet:e({},ve,{id:"8587F97F-32F3-4F68-9426-447653FA183C",network:"mainnet",hashGenesisBlock:"00000075e344bdf1c0e433f453764b1830a7aa19b2a5213e707502a22b779c1b",port:7342,portRpc:8501,protocol:{magic:712753313},seedsDns:["s1.ritocoin.org","s2.ritocoin.org","s3.ritocoin.org"],versions:{bip32:{private:76066276,public:76067358},bip44:19169,private:139,public:25,scripthash:105}}),testnet:e({},ve,{id:"67BD4164-3115-4695-B728-F49FC1131110",network:"testnet",hashGenesisBlock:"0x00000075e344bdf1c0e433f453764b1830a7aa19b2a5213e707502a22b779c1b",port:17342,portRpc:18501,protocol:{magic:1364087634},seedsDns:["tn.s1.ritocoin.org","tn.s2.ritocoin.org","tn.s3.ritocoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:239,public:111,scripthash:196}})},De={mainnet:e({},{name:"Satoxcoin",decimalPlaces:1e8,unit:"SATOX",symbol:"satox",messagePrefix:"Satoxcoin Signed Message:\n",confirmations:6,website:"https://www.satoverse.io/",projectUrl:"https://github.com/satoverse/satoxcoin"},{id:"84217150-7448-4504-A616-F66F4530D3B6",network:"mainnet"})},we={mainnet:e({},{name:"Telestai",unit:"TLS",symbol:"tls",decimalPlaces:1e8,messagePrefix:"Telestai Signed Message:\n",algorithm:"meraki",confirmations:6,website:"https://www.telestai.io/",projectUrl:"https://github.com/Telestai-Project/telestai"},{id:"F937B313-630A-4C72-AA4D-599875C4B8B9",network:"mainnet",hashGenesisBlock:"0x00000056b9854abf830236d77443a8e3556f0244265e3eb12281a7bc43b7ff57",port:8767,portRpc:8766,protocol:{magic:1162626388},seedsDns:["45.79.159.32","dnsseed.telestainodes.xyz","telestai.seeds.multicoin.co"],versions:{bip32:{private:76066276,public:76067358},bip44:10117,private:128,public:66,scripthash:127}})},ke={name:"Vertcoin",unit:"VTC",symbol:"vtc",decimalPlaces:1e8,messagePrefix:"Bitcoin Signed Message:\n",messageName:"Bitcoin Signed Message:\n",confirmations:6,website:"https://vertcoin.org/",projectUrl:"https://github.com/vertcoin-project"},Ae={mainnet:e({},ke,{id:"14599957-98DD-4327-9B40-EABE9CD7D603",network:"mainnet",hashGenesisBlock:"4d96a915f49d40b1e5c2844d1ee2dccb90013a990ccea12c492d22110489f0c4",port:5889,portRpc:5888,protocol:{magic:3669344250},bech32:"vtc",seedsDns:["useast1.vtconline.org","vtc.gertjaap.org","seed.vtc.bryangoodson.org","dnsseed.pknight.ca","seed.orderofthetaco.org","seed.alexturek.org","vertcoin.mbl.cash"],versions:{bip32:{private:76066276,public:76067358},bip44:28,private:128,public:71,scripthash:5}}),testnet:e({},ke,{id:"3398E662-F917-4935-927E-EA518834C460",network:"testnet",hashGenesisBlock:"cee8f24feb7a64c8f07916976aa4855decac79b6741a8ec2e32e2747497ad2c9",port:15889,portRpc:15888,protocol:{magic:1953654134},bech32:"tvtc",seedsDns:["jlovejoy.mit.edu","gertjaap.ddns.net","fr1.vtconline.org","tvtc.vertcoin.org"],versions:{bip32:{private:70615956,public:70617039},bip44:28,private:239,public:74,scripthash:196}}),regtest:e({},ke,{id:"1F1F20A5-097A-43FC-8CCE-79BE5EB2ABE3",network:"regtest",hashGenesisBlock:"0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206",port:18444,portRpc:18332,protocol:{magic:3669344250},seedsDns:[],versions:{bip32:{private:70615956,public:70617039},bip44:28,private:239,public:111,scripthash:196}})},Ce={mainnet:e({},{name:"VerusCoin",decimalPlaces:1e8,unit:"VRSC",symbol:"vrsc",messagePrefix:"VerusCoin Signed Message:\n",confirmations:6,website:"https://verus.io/",projectUrl:"https://github.com/VerusCoin"},{id:"0FD80C01-9F07-4BF8-8B62-D5648D23CFD6",network:"mainnet"})},Ee={name:"Viacoin",unit:"VIA",symbol:"via",decimalPlaces:1e8,confirmations:6,website:"https://viacoin.org/",projectUrl:"https://github.com/viacoin/viacoin"},Fe={mainnet:e({},Ee,{id:"EE2A1FE2-AC47-41EA-A0DF-7E7CBDCDF778",network:"mainnet",hashGenesisBlock:"4e9b54001f9976049830128ec0331515eaabe35a70970d79971da1539a400ba1",port:5223,portRpc:5222,protocol:{magic:3418777615},seedsDns:["seed.viacoin.net","viaseeder.barbatos.fr","mainnet.viacoin.net"],versions:{bip32:{private:76066276,public:76067358},bip44:14,private:199,public:71,scripthash:33}}),testnet:e({},Ee,{id:"E9D78E61-AD75-4B33-B8F5-FCCB4FB7D843",network:"testnet",hashGenesisBlock:"770aa712aa08fdcbdecc1c8df1b3e2d4e17a7cf6e63a28b785b32e74c96cb27d",port:25223,portRpc:25222,protocol:{magic:2465187241},seedsDns:["testnet.viacoin.net","seed-testnet.viacoin.net"],versions:{bip32:{private:70615956,public:70617039},bip44:1,private:255,public:127,scripthash:196}})},xe={name:"x42 Protocol",unit:"X42",symbol:"x42",decimalPlaces:1e8,consensus:"PoS",website:"https://www.x42.tech/",projectUrl:"https://github.com/x42protocol"},ye={mainnet:e({},xe,{id:"D05BAF13-CF40-478E-8A9A-03765FD000F8",network:"mainnet",unit:"x42",hashGenesisBlock:"04ffe583707a96c1c2eb54af33a4b1dc6d9d8e09fea8c9a7b097ba88f0cb64c4",port:52342,portRpc:52343,protocol:{magic:55731778},seedsDns:["mainnet1.x42seed.host","mainnetnode1.x42seed.host","tech.x42.cloud","x42.seed.blockcore.net"],versions:{bip32:{private:76066276,public:76067358},bip44:424242,private:203,public:75,scripthash:125}}),testnet:e({},xe,{id:"5C61B20A-FD9D-435A-9304-D314E7F93A62",network:"testnet",unit:"Tx42",hashGenesisBlock:"a92bf124a1e6f237015440d5f1e1999bdef8e321f2d3fdc367eb2f7733b17854",port:62342,portRpc:62343,protocol:{magic:72508994},seedsDns:["testnet1.x42seed.host"],versions:{bip32:{private:76066276,public:76067358},bip44:424242,private:193,public:65,scripthash:196}})},Pe={name:"Zcash",unit:"ZEC",symbol:"zec",decimalPlaces:1e8,messagePrefix:"Zcash Signed Message:\n",website:"https://z.cash/",projectUrl:"https://github.com/zcash/zcash"},Re={mainnet:e({},Pe,{id:"ABADAA64-6BC6-490B-A6A3-67C038205319",network:"mainnet",hashGenesisBlock:"00040fe8ec8471911baa1db1266ea15dd06b4a8a5c453883c000b031973dce08",port:8233,portRpc:8232,protocol:{magic:1680337188},seedsDns:["dnsseed.z.cash","dnsseed.str4d.xyz","dnsseed.znodes.org"],versions:{bip32:{private:76066276,public:76067358},bip44:133,private:128,public:7352,scripthash:7357}}),testnet:e({},Pe,{id:"104F0CF8-016A-4BF5-9282-B071C6A2C34F",network:"testnet",hashGenesisBlock:"0x05a60a92d99d85997cce3b87616c089f6124d7342af37106edc76126334a2c38",port:18233,portRpc:18232,protocol:{magic:3220773626},seedsDns:["dnsseed.testnet.z.cash"],versions:{bip32:{private:70615956,public:70617039},bip44:133,private:239,public:7461,scripthash:7354}})},je={mainnet:e({},{name:"Zelcash",displayName:"Flux",decimalPlaces:1e8,unit:"ZEL",symbol:"flux",messagePrefix:"Zelcash Signed Message:\n",confirmations:6,website:"https://runonflux.io/",projectUrl:"https://github.com/RunOnFlux/fluxd"},{id:"0D07EBF0-8D83-4590-873F-3A8339C85582",network:"mainnet"})},Ge={mainnet:e({},{name:"Zero",decimalPlaces:1e8,unit:"ZER",symbol:"zer",messagePrefix:"Zero Signed Message:\n",confirmations:6,website:"https://zero.directory/",projectUrl:"https://github.com/zerocurrencycoin"},{id:"1E463F87-E1B3-46B9-ADEE-83A601A16765",network:"mainnet"})},Me={__proto__:null,vgc:t,btc:s,cdy:n,bch:c,btg:r,btcz:p,blk:d,bze:b,cbn:l,city:g,clore:f,cmm:u,dash:B,dcr:w,dnr:A,dgb:C,xdn:F,dogec:x,doge:P,dyn:R,evr:G,ftc:S,firo:U,fls:N,fren:z,glink:I,grs:O,zen:V,ilc:L,kmd:Z,ltc:q,ltz:K,mewc:X,mona:J,nmc:W,nav:ee,neox:ie,xna:ne,nbt:oe,ppc:ae,pgn:pe,pivx:de,qtum:be,rtm:me,rvn:he,rvc:ge,rdd:ue,rito:Be,satox:De,tls:we,vtc:Ae,vrsc:Ce,via:Fe,x42:ye,zec:Re,flux:je,zer:Ge},Se=Me,Ue=Me,Ne={__proto__:null,evr:{hyperbit:{id:"2D69E114-25D2-4F2B-82C7-8D66B84C8FE3",name:"Hyperbit",asset:"HYPERBIT",symbol:"evr:hyperbit",website:"https://hyperbit.app",networkId:G.mainnet.id},jackdaw:{id:"5909740C-378C-4D47-B5EA-C77DF27FC6F3",name:"Jackdaw",asset:"JACKDAW",symbol:"evr:jackdaw",website:"https://jackdawtoken.com/",networkId:G.mainnet.id},satori:{id:"50857C63-77E6-44A4-80FF-79FCC1D3B690",name:"Satori",asset:"SATORI",symbol:"evr:satori",website:"https://www.satorinet.io/",networkId:G.mainnet.id}},mewc:{hyperbit:{id:"99D1DC2E-A758-46D8-AA06-BB93D69EB559",name:"Hyperbit",asset:"HYPERBIT",symbol:"mewc:hyperbit",website:"https://hyperbit.app",networkId:X.mainnet.id}},neox:{hyperbit:{id:"8AE8E460-AB99-44EE-9795-5474115898D2",name:"Hyperbit",asset:"HYPERBIT",symbol:"neox:hyperbit",website:"https://hyperbit.app",networkId:ie.mainnet.id},kris:{id:"475305E7-B22A-49FC-BB67-50920602EAD8",name:"Kris",asset:"KRIS",symbol:"neox:kris",website:"https://kristoken.net/",networkId:ie.mainnet.id},neoinu:{id:"10E8AAE3-CAA8-4004-96A5-BF2BC9D7A8DD",name:"Neoinu",asset:"NEOINU",symbol:"neox:neoinu",website:"https://www.neoinu.org/",networkId:ie.mainnet.id}},rvn:{hyperbit:{id:"D50122C3-F69E-4D2E-B5FE-6377EE569A9F",name:"Hyperbit",asset:"HYPERBIT",symbol:"rvn:hyperbit",website:"https://hyperbit.app",networkId:he.mainnet.id},jackdaw:{id:"5909740C-378C-4D47-B5EA-C77DF27FC6F3",name:"Jackdaw",asset:"JACKDAW",symbol:"rvn:jackdaw",website:"https://jackdawtoken.com/",networkId:he.mainnet.id},niftyraven:{id:"031E0B15-D9DD-4E01-9595-91CDDDC514DA",name:"Nifty Raven",asset:"NIFTYRAVEN.COM",symbol:"rvn:niftyraven",website:"https://niftyraven.com/",networkId:he.mainnet.id},niftyravenvip:{id:"EC223908-B95A-470A-9A34-1CE9410B09C3",name:"Nifty Raven VIP",asset:"NIFTYRAVEN.COM/VIP",symbol:"rvn:niftyravenvip",website:"https://niftyraven.com/",networkId:he.mainnet.id},pkbit:{id:"003D2D1C-7BF2-4DAB-B4DD-6CDD19702F43",name:"Pickbit",asset:"PKBIT",symbol:"rvn:pkbit",website:"https://www.hmgameco.com/",networkId:he.mainnet.id}}};exports.bch=c,exports.blk=d,exports.btc=s,exports.btcz=p,exports.btg=r,exports.bze=b,exports.cbn=l,exports.cdy=n,exports.chains=Ue,exports.city=g,exports.clore=f,exports.cmm=u,exports.dash=B,exports.dcr=w,exports.dgb=C,exports.dnr=A,exports.doge=P,exports.dogec=x,exports.dyn=R,exports.evr=G,exports.findNetworkById=function(e){for(var t=0;t<Object.values(Se).length;t++)for(var i=Object.values(Se)[t],s=0;s<Object.values(i).length;s++)if(Object.values(i)[s].id.toLowerCase()===e.toLowerCase())return Object.values(i)[s]},exports.firo=U,exports.fls=N,exports.flux=je,exports.fren=z,exports.ftc=S,exports.getChainIds=function(e){return Object.keys(Se).reduce((function(t,i){var s=Se[i][e];return s?[].concat(t,[s.id]):t}),[])},exports.getChainNames=function(){return Object.keys(Se).reduce((function(e,t){return[].concat(e,[Se[t].mainnet.name])}),[])},exports.getChainsByNetwork=function(e,t){return Object.keys(Se).reduce((function(i,s){var n=Se[s][e];return n?t?n.symbol===t?[].concat(i,[n]):i:[].concat(i,[n]):i}),[])},exports.glink=I,exports.grs=O,exports.ilc=L,exports.kmd=Z,exports.ltc=q,exports.ltz=K,exports.mewc=X,exports.mona=J,exports.nav=ee,exports.nbt=oe,exports.neox=ie,exports.nmc=W,exports.pgn=pe,exports.pivx=de,exports.ppc=ae,exports.qtum=be,exports.rdd=ue,exports.rito=Be,exports.rtm=me,exports.rvc=ge,exports.rvn=he,exports.satox=De,exports.tls=we,exports.toBitcoinJS=function(t){var i;return e({},t,{messagePrefix:t.messagePrefix||""+(null!=(i=null==t?void 0:t.messageName)?i:t.name)+" Signed Message:\n",bech32:t.bech32,bip32:{public:t.versions.bip32.public,private:t.versions.bip32.private},pubKeyHash:t.versions.public,scriptHash:t.versions.scripthash,wif:t.versions.private,dustThreshold:null})},exports.toBitcore=function(t,i){var s,n,o=Buffer.allocUnsafe(4);o.writeUInt32BE(null!=(s=null==t||null==(n=t.protocol)?void 0:n.magic)?s:0);var c=o.readUInt32LE(0);return e({},t,{name:"testnet"===i||"testnet"===t.network?"testnet":"livenet",alias:"testnet"===i||"testnet"===t.network?"testnet":"mainnet",pubkeyhash:t.versions.public,privatekey:t.versions.private,scripthash:t.versions.scripthash,xpubkey:t.versions.bip32.public,xprivkey:t.versions.bip32.private,networkMagic:c,port:t.port,dnsSeeds:t.seedsDns||[]})},exports.tokens=Ne,exports.vgc=t,exports.via=Fe,exports.vrsc=Ce,exports.vtc=Ae,exports.x42=ye,exports.xdn=F,exports.xna=ne,exports.zec=Re,exports.zen=V,exports.zer=Ge;
|
|
3554
3570
|
|
|
3555
3571
|
|
|
3556
3572
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
3557
|
-
},{"buffer":
|
|
3573
|
+
},{"buffer":83}],4:[function(require,module,exports){
|
|
3558
3574
|
(function (process){(function (){
|
|
3559
3575
|
|
|
3560
3576
|
'use strict'
|
|
@@ -4965,7 +4981,7 @@ EncoderBuffer.prototype.join = function join(out, offset) {
|
|
|
4965
4981
|
return out;
|
|
4966
4982
|
};
|
|
4967
4983
|
|
|
4968
|
-
},{"../base":17,"buffer":
|
|
4984
|
+
},{"../base":17,"buffer":83,"inherits":180}],17:[function(require,module,exports){
|
|
4969
4985
|
var base = exports;
|
|
4970
4986
|
|
|
4971
4987
|
base.Reporter = require('./reporter').Reporter;
|
|
@@ -6180,7 +6196,7 @@ PEMDecoder.prototype.decode = function decode(data, options) {
|
|
|
6180
6196
|
return DERDecoder.prototype.decode.call(this, input, options);
|
|
6181
6197
|
};
|
|
6182
6198
|
|
|
6183
|
-
},{"./der":22,"buffer":
|
|
6199
|
+
},{"./der":22,"buffer":83,"inherits":180}],25:[function(require,module,exports){
|
|
6184
6200
|
var inherits = require('inherits');
|
|
6185
6201
|
var Buffer = require('buffer').Buffer;
|
|
6186
6202
|
|
|
@@ -6477,7 +6493,7 @@ function encodeTag(tag, primitive, cls, reporter) {
|
|
|
6477
6493
|
return res;
|
|
6478
6494
|
}
|
|
6479
6495
|
|
|
6480
|
-
},{"../../asn1":14,"buffer":
|
|
6496
|
+
},{"../../asn1":14,"buffer":83,"inherits":180}],26:[function(require,module,exports){
|
|
6481
6497
|
var encoders = exports;
|
|
6482
6498
|
|
|
6483
6499
|
encoders.der = require('./der');
|
|
@@ -11624,7 +11640,7 @@ var _wordlists_2 = require("./_wordlists");
|
|
|
11624
11640
|
exports.wordlists = _wordlists_2.wordlists;
|
|
11625
11641
|
|
|
11626
11642
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
11627
|
-
},{"./_wordlists":36,"@noble/hashes/pbkdf2":9,"@noble/hashes/sha256":11,"@noble/hashes/sha512":12,"@noble/hashes/utils":13,"buffer":
|
|
11643
|
+
},{"./_wordlists":36,"@noble/hashes/pbkdf2":9,"@noble/hashes/sha256":11,"@noble/hashes/sha512":12,"@noble/hashes/utils":13,"buffer":83}],38:[function(require,module,exports){
|
|
11628
11644
|
module.exports=[
|
|
11629
11645
|
"的",
|
|
11630
11646
|
"一",
|
|
@@ -36227,7 +36243,7 @@ StreamCipher.prototype.setAAD = function setAAD (buf) {
|
|
|
36227
36243
|
|
|
36228
36244
|
module.exports = StreamCipher
|
|
36229
36245
|
|
|
36230
|
-
},{"./aes":52,"./ghash":57,"./incr32":58,"buffer-xor":
|
|
36246
|
+
},{"./aes":52,"./ghash":57,"./incr32":58,"buffer-xor":82,"cipher-base":92,"inherits":180,"safe-buffer":240}],54:[function(require,module,exports){
|
|
36231
36247
|
var ciphers = require('./encrypter')
|
|
36232
36248
|
var deciphers = require('./decrypter')
|
|
36233
36249
|
var modes = require('./modes/list.json')
|
|
@@ -36368,7 +36384,7 @@ function createDecipher (suite, password) {
|
|
|
36368
36384
|
exports.createDecipher = createDecipher
|
|
36369
36385
|
exports.createDecipheriv = createDecipheriv
|
|
36370
36386
|
|
|
36371
|
-
},{"./aes":52,"./authCipher":53,"./modes":65,"./streamCipher":68,"cipher-base":
|
|
36387
|
+
},{"./aes":52,"./authCipher":53,"./modes":65,"./streamCipher":68,"cipher-base":92,"evp_bytestokey":146,"inherits":180,"safe-buffer":240}],56:[function(require,module,exports){
|
|
36372
36388
|
var MODES = require('./modes')
|
|
36373
36389
|
var AuthCipher = require('./authCipher')
|
|
36374
36390
|
var Buffer = require('safe-buffer').Buffer
|
|
@@ -36484,7 +36500,7 @@ function createCipher (suite, password) {
|
|
|
36484
36500
|
exports.createCipheriv = createCipheriv
|
|
36485
36501
|
exports.createCipher = createCipher
|
|
36486
36502
|
|
|
36487
|
-
},{"./aes":52,"./authCipher":53,"./modes":65,"./streamCipher":68,"cipher-base":
|
|
36503
|
+
},{"./aes":52,"./authCipher":53,"./modes":65,"./streamCipher":68,"cipher-base":92,"evp_bytestokey":146,"inherits":180,"safe-buffer":240}],57:[function(require,module,exports){
|
|
36488
36504
|
var Buffer = require('safe-buffer').Buffer
|
|
36489
36505
|
var ZEROES = Buffer.alloc(16, 0)
|
|
36490
36506
|
|
|
@@ -36611,7 +36627,7 @@ exports.decrypt = function (self, block) {
|
|
|
36611
36627
|
return xor(out, pad)
|
|
36612
36628
|
}
|
|
36613
36629
|
|
|
36614
|
-
},{"buffer-xor":
|
|
36630
|
+
},{"buffer-xor":82}],60:[function(require,module,exports){
|
|
36615
36631
|
var Buffer = require('safe-buffer').Buffer
|
|
36616
36632
|
var xor = require('buffer-xor')
|
|
36617
36633
|
|
|
@@ -36646,7 +36662,7 @@ exports.encrypt = function (self, data, decrypt) {
|
|
|
36646
36662
|
return out
|
|
36647
36663
|
}
|
|
36648
36664
|
|
|
36649
|
-
},{"buffer-xor":
|
|
36665
|
+
},{"buffer-xor":82,"safe-buffer":240}],61:[function(require,module,exports){
|
|
36650
36666
|
var Buffer = require('safe-buffer').Buffer
|
|
36651
36667
|
|
|
36652
36668
|
function encryptByte (self, byteParam, decrypt) {
|
|
@@ -36749,7 +36765,7 @@ exports.encrypt = function (self, chunk) {
|
|
|
36749
36765
|
return xor(chunk, pad)
|
|
36750
36766
|
}
|
|
36751
36767
|
|
|
36752
|
-
},{"../incr32":58,"buffer-xor":
|
|
36768
|
+
},{"../incr32":58,"buffer-xor":82,"safe-buffer":240}],64:[function(require,module,exports){
|
|
36753
36769
|
exports.encrypt = function (self, block) {
|
|
36754
36770
|
return self._cipher.encryptBlock(block)
|
|
36755
36771
|
}
|
|
@@ -36991,7 +37007,7 @@ exports.encrypt = function (self, chunk) {
|
|
|
36991
37007
|
}
|
|
36992
37008
|
|
|
36993
37009
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
36994
|
-
},{"buffer":
|
|
37010
|
+
},{"buffer":83,"buffer-xor":82}],68:[function(require,module,exports){
|
|
36995
37011
|
var aes = require('./aes')
|
|
36996
37012
|
var Buffer = require('safe-buffer').Buffer
|
|
36997
37013
|
var Transform = require('cipher-base')
|
|
@@ -37020,7 +37036,7 @@ StreamCipher.prototype._final = function () {
|
|
|
37020
37036
|
|
|
37021
37037
|
module.exports = StreamCipher
|
|
37022
37038
|
|
|
37023
|
-
},{"./aes":52,"cipher-base":
|
|
37039
|
+
},{"./aes":52,"cipher-base":92,"inherits":180,"safe-buffer":240}],69:[function(require,module,exports){
|
|
37024
37040
|
var DES = require('browserify-des')
|
|
37025
37041
|
var aes = require('browserify-aes/browser')
|
|
37026
37042
|
var aesModes = require('browserify-aes/modes')
|
|
@@ -37141,7 +37157,7 @@ DES.prototype._final = function () {
|
|
|
37141
37157
|
return Buffer.from(this._des.final())
|
|
37142
37158
|
}
|
|
37143
37159
|
|
|
37144
|
-
},{"cipher-base":
|
|
37160
|
+
},{"cipher-base":92,"des.js":106,"inherits":180,"safe-buffer":240}],71:[function(require,module,exports){
|
|
37145
37161
|
exports['des-ecb'] = {
|
|
37146
37162
|
key: 8,
|
|
37147
37163
|
iv: 0
|
|
@@ -37711,93 +37727,12 @@ function checkValue(b, q) {
|
|
|
37711
37727
|
module.exports = verify;
|
|
37712
37728
|
|
|
37713
37729
|
},{"./curves.json":75,"bn.js":49,"elliptic":119,"parse-asn1":207,"safe-buffer":240}],79:[function(require,module,exports){
|
|
37714
|
-
|
|
37715
|
-
// Originally written by Mike Hearn for BitcoinJ
|
|
37716
|
-
// Copyright (c) 2011 Google Inc
|
|
37717
|
-
// Ported to JavaScript by Stefan Thomas
|
|
37718
|
-
// Merged Buffer refactorings from base58-native by Stephen Pair
|
|
37719
|
-
// Copyright (c) 2013 BitPay Inc
|
|
37720
|
-
|
|
37730
|
+
var basex = require('base-x')
|
|
37721
37731
|
var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
|
|
37722
|
-
var ALPHABET_MAP = {}
|
|
37723
|
-
for(var i = 0; i < ALPHABET.length; i++) {
|
|
37724
|
-
ALPHABET_MAP[ALPHABET.charAt(i)] = i
|
|
37725
|
-
}
|
|
37726
|
-
var BASE = 58
|
|
37727
|
-
|
|
37728
|
-
function encode(buffer) {
|
|
37729
|
-
if (buffer.length === 0) return ''
|
|
37730
|
-
|
|
37731
|
-
var i, j, digits = [0]
|
|
37732
|
-
for (i = 0; i < buffer.length; i++) {
|
|
37733
|
-
for (j = 0; j < digits.length; j++) digits[j] <<= 8
|
|
37734
|
-
|
|
37735
|
-
digits[0] += buffer[i]
|
|
37736
|
-
|
|
37737
|
-
var carry = 0
|
|
37738
|
-
for (j = 0; j < digits.length; ++j) {
|
|
37739
|
-
digits[j] += carry
|
|
37740
|
-
|
|
37741
|
-
carry = (digits[j] / BASE) | 0
|
|
37742
|
-
digits[j] %= BASE
|
|
37743
|
-
}
|
|
37744
|
-
|
|
37745
|
-
while (carry) {
|
|
37746
|
-
digits.push(carry % BASE)
|
|
37747
|
-
|
|
37748
|
-
carry = (carry / BASE) | 0
|
|
37749
|
-
}
|
|
37750
|
-
}
|
|
37751
|
-
|
|
37752
|
-
// deal with leading zeros
|
|
37753
|
-
for (i = 0; buffer[i] === 0 && i < buffer.length - 1; i++) digits.push(0)
|
|
37754
37732
|
|
|
37755
|
-
|
|
37756
|
-
var stringOutput = ""
|
|
37757
|
-
for (var i = digits.length - 1; i >= 0; i--) {
|
|
37758
|
-
stringOutput = stringOutput + ALPHABET[digits[i]]
|
|
37759
|
-
}
|
|
37760
|
-
return stringOutput
|
|
37761
|
-
}
|
|
37762
|
-
|
|
37763
|
-
function decode(string) {
|
|
37764
|
-
if (string.length === 0) return []
|
|
37765
|
-
|
|
37766
|
-
var i, j, bytes = [0]
|
|
37767
|
-
for (i = 0; i < string.length; i++) {
|
|
37768
|
-
var c = string[i]
|
|
37769
|
-
if (!(c in ALPHABET_MAP)) throw new Error('Non-base58 character')
|
|
37770
|
-
|
|
37771
|
-
for (j = 0; j < bytes.length; j++) bytes[j] *= BASE
|
|
37772
|
-
bytes[0] += ALPHABET_MAP[c]
|
|
37773
|
-
|
|
37774
|
-
var carry = 0
|
|
37775
|
-
for (j = 0; j < bytes.length; ++j) {
|
|
37776
|
-
bytes[j] += carry
|
|
37777
|
-
|
|
37778
|
-
carry = bytes[j] >> 8
|
|
37779
|
-
bytes[j] &= 0xff
|
|
37780
|
-
}
|
|
37781
|
-
|
|
37782
|
-
while (carry) {
|
|
37783
|
-
bytes.push(carry & 0xff)
|
|
37784
|
-
|
|
37785
|
-
carry >>= 8
|
|
37786
|
-
}
|
|
37787
|
-
}
|
|
37788
|
-
|
|
37789
|
-
// deal with leading zeros
|
|
37790
|
-
for (i = 0; string[i] === '1' && i < string.length - 1; i++) bytes.push(0)
|
|
37791
|
-
|
|
37792
|
-
return bytes.reverse()
|
|
37793
|
-
}
|
|
37794
|
-
|
|
37795
|
-
module.exports = {
|
|
37796
|
-
encode: encode,
|
|
37797
|
-
decode: decode
|
|
37798
|
-
}
|
|
37733
|
+
module.exports = basex(ALPHABET)
|
|
37799
37734
|
|
|
37800
|
-
},{}],80:[function(require,module,exports){
|
|
37735
|
+
},{"base-x":34}],80:[function(require,module,exports){
|
|
37801
37736
|
'use strict'
|
|
37802
37737
|
|
|
37803
37738
|
var base58 = require('bs58')
|
|
@@ -37849,7 +37784,7 @@ module.exports = function (checksumFn) {
|
|
|
37849
37784
|
}
|
|
37850
37785
|
}
|
|
37851
37786
|
|
|
37852
|
-
},{"bs58":
|
|
37787
|
+
},{"bs58":79,"safe-buffer":240}],81:[function(require,module,exports){
|
|
37853
37788
|
'use strict'
|
|
37854
37789
|
|
|
37855
37790
|
var createHash = require('create-hash')
|
|
@@ -37864,12 +37799,6 @@ function sha256x2 (buffer) {
|
|
|
37864
37799
|
module.exports = bs58checkBase(sha256x2)
|
|
37865
37800
|
|
|
37866
37801
|
},{"./base":80,"create-hash":100}],82:[function(require,module,exports){
|
|
37867
|
-
var basex = require('base-x')
|
|
37868
|
-
var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
|
|
37869
|
-
|
|
37870
|
-
module.exports = basex(ALPHABET)
|
|
37871
|
-
|
|
37872
|
-
},{"base-x":34}],83:[function(require,module,exports){
|
|
37873
37802
|
(function (Buffer){(function (){
|
|
37874
37803
|
module.exports = function xor (a, b) {
|
|
37875
37804
|
var length = Math.min(a.length, b.length)
|
|
@@ -37883,7 +37812,7 @@ module.exports = function xor (a, b) {
|
|
|
37883
37812
|
}
|
|
37884
37813
|
|
|
37885
37814
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
37886
|
-
},{"buffer":
|
|
37815
|
+
},{"buffer":83}],83:[function(require,module,exports){
|
|
37887
37816
|
(function (Buffer){(function (){
|
|
37888
37817
|
/*!
|
|
37889
37818
|
* The buffer module from node.js, for the browser.
|
|
@@ -39664,7 +39593,7 @@ function numberIsNaN (obj) {
|
|
|
39664
39593
|
}
|
|
39665
39594
|
|
|
39666
39595
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
39667
|
-
},{"base64-js":35,"buffer":
|
|
39596
|
+
},{"base64-js":35,"buffer":83,"ieee754":179}],84:[function(require,module,exports){
|
|
39668
39597
|
'use strict';
|
|
39669
39598
|
|
|
39670
39599
|
var bind = require('function-bind');
|
|
@@ -39676,7 +39605,7 @@ var $reflectApply = require('./reflectApply');
|
|
|
39676
39605
|
/** @type {import('./actualApply')} */
|
|
39677
39606
|
module.exports = $reflectApply || bind.call($call, $apply);
|
|
39678
39607
|
|
|
39679
|
-
},{"./functionApply":
|
|
39608
|
+
},{"./functionApply":86,"./functionCall":87,"./reflectApply":89,"function-bind":149}],85:[function(require,module,exports){
|
|
39680
39609
|
'use strict';
|
|
39681
39610
|
|
|
39682
39611
|
var bind = require('function-bind');
|
|
@@ -39688,19 +39617,19 @@ module.exports = function applyBind() {
|
|
|
39688
39617
|
return actualApply(bind, $apply, arguments);
|
|
39689
39618
|
};
|
|
39690
39619
|
|
|
39691
|
-
},{"./actualApply":
|
|
39620
|
+
},{"./actualApply":84,"./functionApply":86,"function-bind":149}],86:[function(require,module,exports){
|
|
39692
39621
|
'use strict';
|
|
39693
39622
|
|
|
39694
39623
|
/** @type {import('./functionApply')} */
|
|
39695
39624
|
module.exports = Function.prototype.apply;
|
|
39696
39625
|
|
|
39697
|
-
},{}],
|
|
39626
|
+
},{}],87:[function(require,module,exports){
|
|
39698
39627
|
'use strict';
|
|
39699
39628
|
|
|
39700
39629
|
/** @type {import('./functionCall')} */
|
|
39701
39630
|
module.exports = Function.prototype.call;
|
|
39702
39631
|
|
|
39703
|
-
},{}],
|
|
39632
|
+
},{}],88:[function(require,module,exports){
|
|
39704
39633
|
'use strict';
|
|
39705
39634
|
|
|
39706
39635
|
var bind = require('function-bind');
|
|
@@ -39717,13 +39646,13 @@ module.exports = function callBindBasic(args) {
|
|
|
39717
39646
|
return $actualApply(bind, $call, args);
|
|
39718
39647
|
};
|
|
39719
39648
|
|
|
39720
|
-
},{"./actualApply":
|
|
39649
|
+
},{"./actualApply":84,"./functionCall":87,"es-errors/type":142,"function-bind":149}],89:[function(require,module,exports){
|
|
39721
39650
|
'use strict';
|
|
39722
39651
|
|
|
39723
39652
|
/** @type {import('./reflectApply')} */
|
|
39724
39653
|
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
39725
39654
|
|
|
39726
|
-
},{}],
|
|
39655
|
+
},{}],90:[function(require,module,exports){
|
|
39727
39656
|
'use strict';
|
|
39728
39657
|
|
|
39729
39658
|
var setFunctionLength = require('set-function-length');
|
|
@@ -39749,7 +39678,7 @@ if ($defineProperty) {
|
|
|
39749
39678
|
module.exports.apply = applyBind;
|
|
39750
39679
|
}
|
|
39751
39680
|
|
|
39752
|
-
},{"call-bind-apply-helpers":
|
|
39681
|
+
},{"call-bind-apply-helpers":88,"call-bind-apply-helpers/applyBind":85,"es-define-property":136,"set-function-length":249}],91:[function(require,module,exports){
|
|
39753
39682
|
'use strict';
|
|
39754
39683
|
|
|
39755
39684
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -39770,7 +39699,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
39770
39699
|
return intrinsic;
|
|
39771
39700
|
};
|
|
39772
39701
|
|
|
39773
|
-
},{"call-bind-apply-helpers":
|
|
39702
|
+
},{"call-bind-apply-helpers":88,"get-intrinsic":150}],92:[function(require,module,exports){
|
|
39774
39703
|
'use strict';
|
|
39775
39704
|
|
|
39776
39705
|
var Buffer = require('safe-buffer').Buffer;
|
|
@@ -39875,7 +39804,7 @@ CipherBase.prototype._toString = function (value, enc, fin) {
|
|
|
39875
39804
|
|
|
39876
39805
|
module.exports = CipherBase;
|
|
39877
39806
|
|
|
39878
|
-
},{"inherits":180,"safe-buffer":240,"stream":258,"string_decoder":273,"to-buffer":275}],
|
|
39807
|
+
},{"inherits":180,"safe-buffer":240,"stream":258,"string_decoder":273,"to-buffer":275}],93:[function(require,module,exports){
|
|
39879
39808
|
var assert = require('assert')
|
|
39880
39809
|
var cs = require('coinstring')
|
|
39881
39810
|
var ECKey = require('eckey')
|
|
@@ -39958,7 +39887,7 @@ CoinKey.addressToHash = function (address) {
|
|
|
39958
39887
|
|
|
39959
39888
|
module.exports = CoinKey
|
|
39960
39889
|
|
|
39961
|
-
},{"./util":
|
|
39890
|
+
},{"./util":94,"assert":29,"coinstring":95,"eckey":118,"inherits":180,"secure-random":248}],94:[function(require,module,exports){
|
|
39962
39891
|
(function (Buffer){(function (){
|
|
39963
39892
|
// poor man's clone
|
|
39964
39893
|
function clone (obj) {
|
|
@@ -40016,7 +39945,7 @@ module.exports = {
|
|
|
40016
39945
|
}
|
|
40017
39946
|
|
|
40018
39947
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
40019
|
-
},{"buffer":
|
|
39948
|
+
},{"buffer":83}],95:[function(require,module,exports){
|
|
40020
39949
|
(function (Buffer){(function (){
|
|
40021
39950
|
var base58 = require('bs58')
|
|
40022
39951
|
var createHash = require('create-hash')
|
|
@@ -40113,7 +40042,94 @@ module.exports = {
|
|
|
40113
40042
|
}
|
|
40114
40043
|
|
|
40115
40044
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
40116
|
-
},{"bs58":
|
|
40045
|
+
},{"bs58":96,"buffer":83,"create-hash":100}],96:[function(require,module,exports){
|
|
40046
|
+
// Base58 encoding/decoding
|
|
40047
|
+
// Originally written by Mike Hearn for BitcoinJ
|
|
40048
|
+
// Copyright (c) 2011 Google Inc
|
|
40049
|
+
// Ported to JavaScript by Stefan Thomas
|
|
40050
|
+
// Merged Buffer refactorings from base58-native by Stephen Pair
|
|
40051
|
+
// Copyright (c) 2013 BitPay Inc
|
|
40052
|
+
|
|
40053
|
+
var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
|
|
40054
|
+
var ALPHABET_MAP = {}
|
|
40055
|
+
for(var i = 0; i < ALPHABET.length; i++) {
|
|
40056
|
+
ALPHABET_MAP[ALPHABET.charAt(i)] = i
|
|
40057
|
+
}
|
|
40058
|
+
var BASE = 58
|
|
40059
|
+
|
|
40060
|
+
function encode(buffer) {
|
|
40061
|
+
if (buffer.length === 0) return ''
|
|
40062
|
+
|
|
40063
|
+
var i, j, digits = [0]
|
|
40064
|
+
for (i = 0; i < buffer.length; i++) {
|
|
40065
|
+
for (j = 0; j < digits.length; j++) digits[j] <<= 8
|
|
40066
|
+
|
|
40067
|
+
digits[0] += buffer[i]
|
|
40068
|
+
|
|
40069
|
+
var carry = 0
|
|
40070
|
+
for (j = 0; j < digits.length; ++j) {
|
|
40071
|
+
digits[j] += carry
|
|
40072
|
+
|
|
40073
|
+
carry = (digits[j] / BASE) | 0
|
|
40074
|
+
digits[j] %= BASE
|
|
40075
|
+
}
|
|
40076
|
+
|
|
40077
|
+
while (carry) {
|
|
40078
|
+
digits.push(carry % BASE)
|
|
40079
|
+
|
|
40080
|
+
carry = (carry / BASE) | 0
|
|
40081
|
+
}
|
|
40082
|
+
}
|
|
40083
|
+
|
|
40084
|
+
// deal with leading zeros
|
|
40085
|
+
for (i = 0; buffer[i] === 0 && i < buffer.length - 1; i++) digits.push(0)
|
|
40086
|
+
|
|
40087
|
+
// convert digits to a string
|
|
40088
|
+
var stringOutput = ""
|
|
40089
|
+
for (var i = digits.length - 1; i >= 0; i--) {
|
|
40090
|
+
stringOutput = stringOutput + ALPHABET[digits[i]]
|
|
40091
|
+
}
|
|
40092
|
+
return stringOutput
|
|
40093
|
+
}
|
|
40094
|
+
|
|
40095
|
+
function decode(string) {
|
|
40096
|
+
if (string.length === 0) return []
|
|
40097
|
+
|
|
40098
|
+
var i, j, bytes = [0]
|
|
40099
|
+
for (i = 0; i < string.length; i++) {
|
|
40100
|
+
var c = string[i]
|
|
40101
|
+
if (!(c in ALPHABET_MAP)) throw new Error('Non-base58 character')
|
|
40102
|
+
|
|
40103
|
+
for (j = 0; j < bytes.length; j++) bytes[j] *= BASE
|
|
40104
|
+
bytes[0] += ALPHABET_MAP[c]
|
|
40105
|
+
|
|
40106
|
+
var carry = 0
|
|
40107
|
+
for (j = 0; j < bytes.length; ++j) {
|
|
40108
|
+
bytes[j] += carry
|
|
40109
|
+
|
|
40110
|
+
carry = bytes[j] >> 8
|
|
40111
|
+
bytes[j] &= 0xff
|
|
40112
|
+
}
|
|
40113
|
+
|
|
40114
|
+
while (carry) {
|
|
40115
|
+
bytes.push(carry & 0xff)
|
|
40116
|
+
|
|
40117
|
+
carry >>= 8
|
|
40118
|
+
}
|
|
40119
|
+
}
|
|
40120
|
+
|
|
40121
|
+
// deal with leading zeros
|
|
40122
|
+
for (i = 0; string[i] === '1' && i < string.length - 1; i++) bytes.push(0)
|
|
40123
|
+
|
|
40124
|
+
return bytes.reverse()
|
|
40125
|
+
}
|
|
40126
|
+
|
|
40127
|
+
module.exports = {
|
|
40128
|
+
encode: encode,
|
|
40129
|
+
decode: decode
|
|
40130
|
+
}
|
|
40131
|
+
|
|
40132
|
+
},{}],97:[function(require,module,exports){
|
|
40117
40133
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
40118
40134
|
//
|
|
40119
40135
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -40222,7 +40238,7 @@ function objectToString(o) {
|
|
|
40222
40238
|
return Object.prototype.toString.call(o);
|
|
40223
40239
|
}
|
|
40224
40240
|
|
|
40225
|
-
},{"buffer":
|
|
40241
|
+
},{"buffer":83}],98:[function(require,module,exports){
|
|
40226
40242
|
(function (Buffer){(function (){
|
|
40227
40243
|
var elliptic = require('elliptic')
|
|
40228
40244
|
var BN = require('bn.js')
|
|
@@ -40350,7 +40366,7 @@ function formatReturnValue (bn, enc, len) {
|
|
|
40350
40366
|
}
|
|
40351
40367
|
|
|
40352
40368
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
40353
|
-
},{"bn.js":99,"buffer":
|
|
40369
|
+
},{"bn.js":99,"buffer":83,"elliptic":119}],99:[function(require,module,exports){
|
|
40354
40370
|
arguments[4][28][0].apply(exports,arguments)
|
|
40355
40371
|
},{"buffer":51,"dup":28}],100:[function(require,module,exports){
|
|
40356
40372
|
'use strict'
|
|
@@ -40384,7 +40400,7 @@ module.exports = function createHash (alg) {
|
|
|
40384
40400
|
return new Hash(sha(alg))
|
|
40385
40401
|
}
|
|
40386
40402
|
|
|
40387
|
-
},{"cipher-base":
|
|
40403
|
+
},{"cipher-base":92,"inherits":180,"md5.js":193,"ripemd160":237,"sha.js":251}],101:[function(require,module,exports){
|
|
40388
40404
|
var MD5 = require('md5.js')
|
|
40389
40405
|
|
|
40390
40406
|
module.exports = function (buffer) {
|
|
@@ -40455,7 +40471,7 @@ module.exports = function createHmac (alg, key) {
|
|
|
40455
40471
|
return new Hmac(alg, key)
|
|
40456
40472
|
}
|
|
40457
40473
|
|
|
40458
|
-
},{"./legacy":103,"cipher-base":
|
|
40474
|
+
},{"./legacy":103,"cipher-base":92,"create-hash/md5":101,"inherits":180,"ripemd160":237,"safe-buffer":240,"sha.js":251}],103:[function(require,module,exports){
|
|
40459
40475
|
'use strict'
|
|
40460
40476
|
var inherits = require('inherits')
|
|
40461
40477
|
var Buffer = require('safe-buffer').Buffer
|
|
@@ -40503,7 +40519,7 @@ Hmac.prototype._final = function () {
|
|
|
40503
40519
|
}
|
|
40504
40520
|
module.exports = Hmac
|
|
40505
40521
|
|
|
40506
|
-
},{"cipher-base":
|
|
40522
|
+
},{"cipher-base":92,"inherits":180,"safe-buffer":240}],104:[function(require,module,exports){
|
|
40507
40523
|
'use strict';
|
|
40508
40524
|
|
|
40509
40525
|
// eslint-disable-next-line no-multi-assign
|
|
@@ -41398,7 +41414,7 @@ exports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffi
|
|
|
41398
41414
|
exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman
|
|
41399
41415
|
|
|
41400
41416
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
41401
|
-
},{"./lib/dh":113,"./lib/generatePrime":114,"./lib/primes.json":115,"buffer":
|
|
41417
|
+
},{"./lib/dh":113,"./lib/generatePrime":114,"./lib/primes.json":115,"buffer":83}],113:[function(require,module,exports){
|
|
41402
41418
|
(function (Buffer){(function (){
|
|
41403
41419
|
var BN = require('bn.js');
|
|
41404
41420
|
var MillerRabin = require('miller-rabin');
|
|
@@ -41566,7 +41582,7 @@ function formatReturnValue(bn, enc) {
|
|
|
41566
41582
|
}
|
|
41567
41583
|
|
|
41568
41584
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
41569
|
-
},{"./generatePrime":114,"bn.js":116,"buffer":
|
|
41585
|
+
},{"./generatePrime":114,"bn.js":116,"buffer":83,"miller-rabin":194,"randombytes":224}],114:[function(require,module,exports){
|
|
41570
41586
|
var randomBytes = require('randombytes');
|
|
41571
41587
|
module.exports = findPrime;
|
|
41572
41588
|
findPrime.simpleSieve = simpleSieve;
|
|
@@ -41742,7 +41758,7 @@ module.exports = desc && typeof desc.get === 'function'
|
|
|
41742
41758
|
}
|
|
41743
41759
|
: false;
|
|
41744
41760
|
|
|
41745
|
-
},{"call-bind-apply-helpers":
|
|
41761
|
+
},{"call-bind-apply-helpers":88,"gopd":155}],118:[function(require,module,exports){
|
|
41746
41762
|
(function (Buffer){(function (){
|
|
41747
41763
|
var crypto = require('crypto')
|
|
41748
41764
|
var secp256k1 = require('secp256k1')
|
|
@@ -41843,7 +41859,7 @@ ECKey.prototype.toString = function (format) {
|
|
|
41843
41859
|
module.exports = ECKey
|
|
41844
41860
|
|
|
41845
41861
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
41846
|
-
},{"buffer":
|
|
41862
|
+
},{"buffer":83,"crypto":104,"secp256k1":241}],119:[function(require,module,exports){
|
|
41847
41863
|
'use strict';
|
|
41848
41864
|
|
|
41849
41865
|
var elliptic = exports;
|
|
@@ -47005,7 +47021,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
47005
47021
|
return value;
|
|
47006
47022
|
};
|
|
47007
47023
|
|
|
47008
|
-
},{"call-bind-apply-helpers/functionApply":
|
|
47024
|
+
},{"call-bind-apply-helpers/functionApply":86,"call-bind-apply-helpers/functionCall":87,"es-define-property":136,"es-errors":138,"es-errors/eval":137,"es-errors/range":139,"es-errors/ref":140,"es-errors/syntax":141,"es-errors/type":142,"es-errors/uri":143,"es-object-atoms":144,"function-bind":149,"get-proto":153,"get-proto/Object.getPrototypeOf":151,"get-proto/Reflect.getPrototypeOf":152,"gopd":155,"has-symbols":157,"hasown":173,"math-intrinsics/abs":185,"math-intrinsics/floor":186,"math-intrinsics/max":188,"math-intrinsics/min":189,"math-intrinsics/pow":190,"math-intrinsics/round":191,"math-intrinsics/sign":192}],151:[function(require,module,exports){
|
|
47009
47025
|
'use strict';
|
|
47010
47026
|
|
|
47011
47027
|
var $Object = require('es-object-atoms');
|
|
@@ -50554,7 +50570,7 @@ module.exports = function assign(target, source1) {
|
|
|
50554
50570
|
return to; // step 4
|
|
50555
50571
|
};
|
|
50556
50572
|
|
|
50557
|
-
},{"call-bound":
|
|
50573
|
+
},{"call-bound":91,"es-object-atoms":144,"has-symbols/shams":158,"object-keys":199}],202:[function(require,module,exports){
|
|
50558
50574
|
'use strict';
|
|
50559
50575
|
|
|
50560
50576
|
var implementation = require('./implementation');
|
|
@@ -54330,7 +54346,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
54330
54346
|
return buffer.SlowBuffer(size)
|
|
54331
54347
|
}
|
|
54332
54348
|
|
|
54333
|
-
},{"buffer":
|
|
54349
|
+
},{"buffer":83}],235:[function(require,module,exports){
|
|
54334
54350
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
54335
54351
|
//
|
|
54336
54352
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -54805,7 +54821,7 @@ RIPEMD160.prototype._digest = function () {
|
|
|
54805
54821
|
|
|
54806
54822
|
module.exports = RIPEMD160;
|
|
54807
54823
|
|
|
54808
|
-
},{"buffer":
|
|
54824
|
+
},{"buffer":83,"hash-base":238,"inherits":180}],238:[function(require,module,exports){
|
|
54809
54825
|
'use strict';
|
|
54810
54826
|
|
|
54811
54827
|
var Buffer = require('safe-buffer').Buffer;
|
|
@@ -55005,7 +55021,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
55005
55021
|
return buffer.SlowBuffer(size)
|
|
55006
55022
|
}
|
|
55007
55023
|
|
|
55008
|
-
},{"buffer":
|
|
55024
|
+
},{"buffer":83}],241:[function(require,module,exports){
|
|
55009
55025
|
'use strict'
|
|
55010
55026
|
module.exports = require('./lib')(require('./lib/elliptic'))
|
|
55011
55027
|
|
|
@@ -55896,7 +55912,7 @@ secureRandom.randomBuffer = function(byteCount) {
|
|
|
55896
55912
|
}(this);
|
|
55897
55913
|
|
|
55898
55914
|
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
55899
|
-
},{"_process":216,"buffer":
|
|
55915
|
+
},{"_process":216,"buffer":83,"crypto":51}],249:[function(require,module,exports){
|
|
55900
55916
|
'use strict';
|
|
55901
55917
|
|
|
55902
55918
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -58414,7 +58430,7 @@ function indexOf(xs, x) {
|
|
|
58414
58430
|
return -1;
|
|
58415
58431
|
}
|
|
58416
58432
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
58417
|
-
},{"../errors":259,"./_stream_duplex":260,"./internal/streams/async_iterator":265,"./internal/streams/buffer_list":266,"./internal/streams/destroy":267,"./internal/streams/from":269,"./internal/streams/state":271,"./internal/streams/stream":272,"_process":216,"buffer":
|
|
58433
|
+
},{"../errors":259,"./_stream_duplex":260,"./internal/streams/async_iterator":265,"./internal/streams/buffer_list":266,"./internal/streams/destroy":267,"./internal/streams/from":269,"./internal/streams/state":271,"./internal/streams/stream":272,"_process":216,"buffer":83,"events":145,"inherits":180,"string_decoder/":273,"util":51}],263:[function(require,module,exports){
|
|
58418
58434
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
58419
58435
|
//
|
|
58420
58436
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -59249,7 +59265,7 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
59249
59265
|
cb(err);
|
|
59250
59266
|
};
|
|
59251
59267
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
59252
|
-
},{"../errors":259,"./_stream_duplex":260,"./internal/streams/destroy":267,"./internal/streams/state":271,"./internal/streams/stream":272,"_process":216,"buffer":
|
|
59268
|
+
},{"../errors":259,"./_stream_duplex":260,"./internal/streams/destroy":267,"./internal/streams/state":271,"./internal/streams/stream":272,"_process":216,"buffer":83,"inherits":180,"util-deprecate":278}],265:[function(require,module,exports){
|
|
59253
59269
|
(function (process){(function (){
|
|
59254
59270
|
'use strict';
|
|
59255
59271
|
|
|
@@ -59616,7 +59632,7 @@ module.exports = /*#__PURE__*/function () {
|
|
|
59616
59632
|
}]);
|
|
59617
59633
|
return BufferList;
|
|
59618
59634
|
}();
|
|
59619
|
-
},{"buffer":
|
|
59635
|
+
},{"buffer":83,"util":51}],267:[function(require,module,exports){
|
|
59620
59636
|
(function (process){(function (){
|
|
59621
59637
|
'use strict';
|
|
59622
59638
|
|
|
@@ -60134,7 +60150,7 @@ module.exports = $typedArrayBuffer || function typedArrayBuffer(x) {
|
|
|
60134
60150
|
return x.buffer;
|
|
60135
60151
|
};
|
|
60136
60152
|
|
|
60137
|
-
},{"call-bound":
|
|
60153
|
+
},{"call-bound":91,"es-errors/type":142,"is-typed-array":183}],278:[function(require,module,exports){
|
|
60138
60154
|
(function (global){(function (){
|
|
60139
60155
|
|
|
60140
60156
|
/**
|
|
@@ -60477,5 +60493,5 @@ module.exports = function whichTypedArray(value) {
|
|
|
60477
60493
|
};
|
|
60478
60494
|
|
|
60479
60495
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
60480
|
-
},{"available-typed-arrays":33,"call-bind":
|
|
60496
|
+
},{"available-typed-arrays":33,"call-bind":90,"call-bound":91,"for-each":147,"get-proto":153,"gopd":155,"has-tostringtag/shams":159}]},{},[1])(1)
|
|
60481
60497
|
});
|