-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig_networks_flo_mainnet.js.html
222 lines (171 loc) · 31.2 KB
/
config_networks_flo_mainnet.js.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
config/networks/flo/mainnet.js - Documentation
</title>
<link href="https://www.braintreepayments.com/images/favicon-ccda0b14.png" rel="icon" type="image/png">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlightjs-line-numbers.js/2.3.0/highlightjs-line-numbers.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/monokai-sublime.css">
<!-- start Mixpanel -->
<script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
<!-- end Mixpanel -->
</head>
<body>
<svg style="display: none;">
<defs>
<symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
</symbol>
</defs>
</svg>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
<div class="navicon"></div>
</label>
<label for="nav-trigger" class="overlay"></label>
<div class="top-nav-wrapper">
<ul>
<li >
<a href="index.html">
<svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
<path d="M0 0h24v24H0z" fill="none"/>
</svg>
</a>
</li>
</ul>
</div>
<nav>
<h3 class="reference-title">
js-oip
</h3>
<h3>Classes</h3><ul><li id="Artifact-nav"><a href="Artifact.html">Artifact</a><ul class='methods'><li data-type="method" id="Artifact-getArtifactSubtype-nav"><a href="Artifact.html#.getArtifactSubtype">getArtifactSubtype</a></li><li data-type="method" id="Artifact-getArtifactType-nav"><a href="Artifact.html#.getArtifactType">getArtifactType</a></li><li data-type="method" id="Artifact-addFile-nav"><a href="Artifact.html#addFile">addFile</a></li><li data-type="method" id="Artifact-addSinglePaymentAddress-nav"><a href="Artifact.html#addSinglePaymentAddress">addSinglePaymentAddress</a></li><li data-type="method" id="Artifact-addTokenRule-nav"><a href="Artifact.html#addTokenRule">addTokenRule</a></li><li data-type="method" id="Artifact-createPreimage-nav"><a href="Artifact.html#createPreimage">createPreimage</a></li><li data-type="method" id="Artifact-fromJSON-nav"><a href="Artifact.html#fromJSON">fromJSON</a></li><li data-type="method" id="Artifact-getArtifact-nav"><a href="Artifact.html#getArtifact">getArtifact</a></li><li data-type="method" id="Artifact-getBlock-nav"><a href="Artifact.html#getBlock">getBlock</a></li><li data-type="method" id="Artifact-getBlockHash-nav"><a href="Artifact.html#getBlockHash">getBlockHash</a></li><li data-type="method" id="Artifact-getClassName-nav"><a href="Artifact.html#getClassName">getClassName</a></li><li data-type="method" id="Artifact-getDeactivated-nav"><a href="Artifact.html#getDeactivated">getDeactivated</a></li><li data-type="method" id="Artifact-getDescription-nav"><a href="Artifact.html#getDescription">getDescription</a></li><li data-type="method" id="Artifact-getDetail-nav"><a href="Artifact.html#getDetail">getDetail</a></li><li data-type="method" id="Artifact-getDuration-nav"><a href="Artifact.html#getDuration">getDuration</a></li><li data-type="method" id="Artifact-getEditVersion-nav"><a href="Artifact.html#getEditVersion">getEditVersion</a></li><li data-type="method" id="Artifact-getFiles-nav"><a href="Artifact.html#getFiles">getFiles</a></li><li data-type="method" id="Artifact-getLocation-nav"><a href="Artifact.html#getLocation">getLocation</a></li><li data-type="method" id="Artifact-getMaxDiscount-nav"><a href="Artifact.html#getMaxDiscount">getMaxDiscount</a></li><li data-type="method" id="Artifact-getMeta-nav"><a href="Artifact.html#getMeta">getMeta</a></li><li data-type="method" id="Artifact-getNetwork-nav"><a href="Artifact.html#getNetwork">getNetwork</a></li><li data-type="method" id="Artifact-getNSFW-nav"><a href="Artifact.html#getNSFW">getNSFW</a></li><li data-type="method" id="Artifact-getOriginalTXID-nav"><a href="Artifact.html#getOriginalTXID">getOriginalTXID</a></li><li data-type="method" id="Artifact-getPaymentAddress-nav"><a href="Artifact.html#getPaymentAddress">getPaymentAddress</a></li><li data-type="method" id="Artifact-getPaymentAddresses-nav"><a href="Artifact.html#getPaymentAddresses">getPaymentAddresses</a></li><li data-type="method" id="Artifact-getPaymentFiat-nav"><a href="Artifact.html#getPaymentFiat">getPaymentFiat</a></li><li data-type="method" id="Artifact-getPaymentScale-nav"><a href="Artifact.html#getPaymentScale">getPaymentScale</a></li><li data-type="method" id="Artifact-getPromoterCut-nav"><a href="Artifact.html#getPromoterCut">getPromoterCut</a></li><li data-type="method" id="Artifact-getPubAddress-nav"><a href="Artifact.html#getPubAddress">getPubAddress</a></li><li data-type="method" id="Artifact-getPublisherName-nav"><a href="Artifact.html#getPublisherName">getPublisherName</a></li><li data-type="method" id="Artifact-getRetailerCut-nav"><a href="Artifact.html#getRetailerCut">getRetailerCut</a></li><li data-type="method" id="Artifact-getSignature-nav"><a href="Artifact.html#getSignature">getSignature</a></li><li data-type="method" id="Artifact-getSubtype-nav"><a href="Artifact.html#getSubtype">getSubtype</a></li><li data-type="method" id="Artifact-getSuggestedTip-nav"><a href="Artifact.html#getSuggestedTip">getSuggestedTip</a></li><li data-type="method" id="Artifact-getSupportedCoins-nav"><a href="Artifact.html#getSupportedCoins">getSupportedCoins</a></li><li data-type="method" id="Artifact-getTags-nav"><a href="Artifact.html#getTags">getTags</a></li><li data-type="method" id="Artifact-getThumbnail-nav"><a href="Artifact.html#getThumbnail">getThumbnail</a></li><li data-type="method" id="Artifact-getTime-nav"><a href="Artifact.html#getTime">getTime</a></li><li data-type="method" id="Artifact-getTimestamp-nav"><a href="Artifact.html#getTimestamp">getTimestamp</a></li><li data-type="method" id="Artifact-getTipAddresses-nav"><a href="Artifact.html#getTipAddresses">getTipAddresses</a></li><li data-type="method" id="Artifact-getTitle-nav"><a href="Artifact.html#getTitle">getTitle</a></li><li data-type="method" id="Artifact-getTokenRules-nav"><a href="Artifact.html#getTokenRules">getTokenRules</a></li><li data-type="method" id="Artifact-getTXID-nav"><a href="Artifact.html#getTXID">getTXID</a></li><li data-type="method" id="Artifact-getType-nav"><a href="Artifact.html#getType">getType</a></li><li data-type="method" id="Artifact-getVersion-nav"><a href="Artifact.html#getVersion">getVersion</a></li><li data-type="method" id="Artifact-getYear-nav"><a href="Artifact.html#getYear">getYear</a></li><li data-type="method" id="Artifact-import041-nav"><a href="Artifact.html#import041">import041</a></li><li data-type="method" id="Artifact-import042-nav"><a href="Artifact.html#import042">import042</a></li><li data-type="method" id="Artifact-importAlexandriaMedia-nav"><a href="Artifact.html#importAlexandriaMedia">importAlexandriaMedia</a></li><li data-type="method" id="Artifact-isPaid-nav"><a href="Artifact.html#isPaid">isPaid</a></li><li data-type="method" id="Artifact-isValid-nav"><a href="Artifact.html#isValid">isValid</a></li><li data-type="method" id="Artifact-setBlock-nav"><a href="Artifact.html#setBlock">setBlock</a></li><li data-type="method" id="Artifact-setBlockHash-nav"><a href="Artifact.html#setBlockHash">setBlockHash</a></li><li data-type="method" id="Artifact-setDeactivated-nav"><a href="Artifact.html#setDeactivated">setDeactivated</a></li><li data-type="method" id="Artifact-setDescription-nav"><a href="Artifact.html#setDescription">setDescription</a></li><li data-type="method" id="Artifact-setDetail-nav"><a href="Artifact.html#setDetail">setDetail</a></li><li data-type="method" id="Artifact-setEditVersion-nav"><a href="Artifact.html#setEditVersion">setEditVersion</a></li><li data-type="method" id="Artifact-setLocation-nav"><a href="Artifact.html#setLocation">setLocation</a></li><li data-type="method" id="Artifact-setMaxDiscount-nav"><a href="Artifact.html#setMaxDiscount">setMaxDiscount</a></li><li data-type="method" id="Artifact-setNetwork-nav"><a href="Artifact.html#setNetwork">setNetwork</a></li><li data-type="method" id="Artifact-setNSFW-nav"><a href="Artifact.html#setNSFW">setNSFW</a></li><li data-type="method" id="Artifact-setOriginalTXID-nav"><a href="Artifact.html#setOriginalTXID">setOriginalTXID</a></li><li data-type="method" id="Artifact-setPaymentFiat-nav"><a href="Artifact.html#setPaymentFiat">setPaymentFiat</a></li><li data-type="method" id="Artifact-setPaymentScale-nav"><a href="Artifact.html#setPaymentScale">setPaymentScale</a></li><li data-type="method" id="Artifact-setPromoterCut-nav"><a href="Artifact.html#setPromoterCut">setPromoterCut</a></li><li data-type="method" id="Artifact-setPubAddress-nav"><a href="Artifact.html#setPubAddress">setPubAddress</a></li><li data-type="method" id="Artifact-setPublisherName-nav"><a href="Artifact.html#setPublisherName">setPublisherName</a></li><li data-type="method" id="Artifact-setRetailerCut-nav"><a href="Artifact.html#setRetailerCut">setRetailerCut</a></li><li data-type="method" id="Artifact-setSignature-nav"><a href="Artifact.html#setSignature">setSignature</a></li><li data-type="method" id="Artifact-setSubtype-nav"><a href="Artifact.html#setSubtype">setSubtype</a></li><li data-type="method" id="Artifact-setSuggestedTip-nav"><a href="Artifact.html#setSuggestedTip">setSuggestedTip</a></li><li data-type="method" id="Artifact-setTags-nav"><a href="Artifact.html#setTags">setTags</a></li><li data-type="method" id="Artifact-setTime-nav"><a href="Artifact.html#setTime">setTime</a></li><li data-type="method" id="Artifact-setTimestamp-nav"><a href="Artifact.html#setTimestamp">setTimestamp</a></li><li data-type="method" id="Artifact-setTitle-nav"><a href="Artifact.html#setTitle">setTitle</a></li><li data-type="method" id="Artifact-setTXID-nav"><a href="Artifact.html#setTXID">setTXID</a></li><li data-type="method" id="Artifact-setType-nav"><a href="Artifact.html#setType">setType</a></li><li data-type="method" id="Artifact-setVersion-nav"><a href="Artifact.html#setVersion">setVersion</a></li><li data-type="method" id="Artifact-setYear-nav"><a href="Artifact.html#setYear">setYear</a></li><li data-type="method" id="Artifact-toJSON-nav"><a href="Artifact.html#toJSON">toJSON</a></li><li data-type="method" id="Artifact-toString-nav"><a href="Artifact.html#toString">toString</a></li></ul></li><li id="DaemonApi-nav"><a href="DaemonApi.html">DaemonApi</a><ul class='methods'><li data-type="method" id="DaemonApi-createQs-nav"><a href="DaemonApi.html#createQs">createQs</a></li><li data-type="method" id="DaemonApi-get041Artifact-nav"><a href="DaemonApi.html#get041Artifact">get041Artifact</a></li><li data-type="method" id="DaemonApi-get041Artifacts-nav"><a href="DaemonApi.html#get041Artifacts">get041Artifacts</a></li><li data-type="method" id="DaemonApi-getAlexandriaMediaArtifact-nav"><a href="DaemonApi.html#getAlexandriaMediaArtifact">getAlexandriaMediaArtifact</a></li><li data-type="method" id="DaemonApi-getAlexandriaMediaArtifacts-nav"><a href="DaemonApi.html#getAlexandriaMediaArtifacts">getAlexandriaMediaArtifacts</a></li><li data-type="method" id="DaemonApi-getArtifact-nav"><a href="DaemonApi.html#getArtifact">getArtifact</a></li><li data-type="method" id="DaemonApi-getArtifacts-nav"><a href="DaemonApi.html#getArtifacts">getArtifacts</a></li><li data-type="method" id="DaemonApi-getFloData-nav"><a href="DaemonApi.html#getFloData">getFloData</a></li><li data-type="method" id="DaemonApi-getHistorianData-nav"><a href="DaemonApi.html#getHistorianData">getHistorianData</a></li><li data-type="method" id="DaemonApi-getLastestHistorianData-nav"><a href="DaemonApi.html#getLastestHistorianData">getLastestHistorianData</a></li><li data-type="method" id="DaemonApi-getLatest041Artifacts-nav"><a href="DaemonApi.html#getLatest041Artifacts">getLatest041Artifacts</a></li><li data-type="method" id="DaemonApi-getLatest042Artifacts-nav"><a href="DaemonApi.html#getLatest042Artifacts">getLatest042Artifacts</a></li><li data-type="method" id="DaemonApi-getLatestAlexandriaMediaArtifacts-nav"><a href="DaemonApi.html#getLatestAlexandriaMediaArtifacts">getLatestAlexandriaMediaArtifacts</a></li><li data-type="method" id="DaemonApi-getLatestArtifacts-nav"><a href="DaemonApi.html#getLatestArtifacts">getLatestArtifacts</a></li><li data-type="method" id="DaemonApi-getLatestOip5Records-nav"><a href="DaemonApi.html#getLatestOip5Records">getLatestOip5Records</a></li><li data-type="method" id="DaemonApi-getLatestOip5Templates-nav"><a href="DaemonApi.html#getLatestOip5Templates">getLatestOip5Templates</a></li><li data-type="method" id="DaemonApi-getMultipart-nav"><a href="DaemonApi.html#getMultipart">getMultipart</a></li><li data-type="method" id="DaemonApi-getMultiparts-nav"><a href="DaemonApi.html#getMultiparts">getMultiparts</a></li><li data-type="method" id="DaemonApi-getNetwork-nav"><a href="DaemonApi.html#getNetwork">getNetwork</a></li><li data-type="method" id="DaemonApi-getOip5Mapping-nav"><a href="DaemonApi.html#getOip5Mapping">getOip5Mapping</a></li><li data-type="method" id="DaemonApi-getOip5Record-nav"><a href="DaemonApi.html#getOip5Record">getOip5Record</a></li><li data-type="method" id="DaemonApi-getOip5Records-nav"><a href="DaemonApi.html#getOip5Records">getOip5Records</a></li><li data-type="method" id="DaemonApi-getOip5Template-nav"><a href="DaemonApi.html#getOip5Template">getOip5Template</a></li><li data-type="method" id="DaemonApi-getOip5Templates-nav"><a href="DaemonApi.html#getOip5Templates">getOip5Templates</a></li><li data-type="method" id="DaemonApi-getRecord-nav"><a href="DaemonApi.html#getRecord">getRecord</a></li><li data-type="method" id="DaemonApi-getSyncStatus-nav"><a href="DaemonApi.html#getSyncStatus">getSyncStatus</a></li><li data-type="method" id="DaemonApi-getUrl-nav"><a href="DaemonApi.html#getUrl">getUrl</a></li><li data-type="method" id="DaemonApi-getVersion-nav"><a href="DaemonApi.html#getVersion">getVersion</a></li><li data-type="method" id="DaemonApi-searchArtifacts-nav"><a href="DaemonApi.html#searchArtifacts">searchArtifacts</a></li><li data-type="method" id="DaemonApi-searchArtifactsByType-nav"><a href="DaemonApi.html#searchArtifactsByType">searchArtifactsByType</a></li><li data-type="method" id="DaemonApi-searchFloData-nav"><a href="DaemonApi.html#searchFloData">searchFloData</a></li><li data-type="method" id="DaemonApi-searchOip5Records-nav"><a href="DaemonApi.html#searchOip5Records">searchOip5Records</a></li><li data-type="method" id="DaemonApi-searchOip5Templates-nav"><a href="DaemonApi.html#searchOip5Templates">searchOip5Templates</a></li><li data-type="method" id="DaemonApi-setUrl-nav"><a href="DaemonApi.html#setUrl">setUrl</a></li></ul></li><li id="ExplorerWallet-nav"><a href="ExplorerWallet.html">ExplorerWallet</a><ul class='methods'><li data-type="method" id="ExplorerWallet-addSpentTransaction-nav"><a href="ExplorerWallet.html#addSpentTransaction">addSpentTransaction</a></li><li data-type="method" id="ExplorerWallet-broadcastRawHex-nav"><a href="ExplorerWallet.html#broadcastRawHex">broadcastRawHex</a></li><li data-type="method" id="ExplorerWallet-buildInputsAndOutputs-nav"><a href="ExplorerWallet.html#buildInputsAndOutputs">buildInputsAndOutputs</a></li><li data-type="method" id="ExplorerWallet-buildTXHex-nav"><a href="ExplorerWallet.html#buildTXHex">buildTXHex</a></li><li data-type="method" id="ExplorerWallet-createManualUtxos-nav"><a href="ExplorerWallet.html#createManualUtxos">createManualUtxos</a></li><li data-type="method" id="ExplorerWallet-deleteHistory-nav"><a href="ExplorerWallet.html#deleteHistory">deleteHistory</a></li><li data-type="method" id="ExplorerWallet-deserialize-nav"><a href="ExplorerWallet.html#deserialize">deserialize</a></li><li data-type="method" id="ExplorerWallet-getCoinInfo-nav"><a href="ExplorerWallet.html#getCoinInfo">getCoinInfo</a></li><li data-type="method" id="ExplorerWallet-getECPair-nav"><a href="ExplorerWallet.html#getECPair">getECPair</a></li><li data-type="method" id="ExplorerWallet-getNetwork-nav"><a href="ExplorerWallet.html#getNetwork">getNetwork</a></li><li data-type="method" id="ExplorerWallet-getPubAddress-nav"><a href="ExplorerWallet.html#getPubAddress">getPubAddress</a></li><li data-type="method" id="ExplorerWallet-getSpentTransactions-nav"><a href="ExplorerWallet.html#getSpentTransactions">getSpentTransactions</a></li><li data-type="method" id="ExplorerWallet-getTxHistory-nav"><a href="ExplorerWallet.html#getTxHistory">getTxHistory</a></li><li data-type="method" id="ExplorerWallet-getUTXO-nav"><a href="ExplorerWallet.html#getUTXO">getUTXO</a></li><li data-type="method" id="ExplorerWallet-removeSpent-nav"><a href="ExplorerWallet.html#removeSpent">removeSpent</a></li><li data-type="method" id="ExplorerWallet-save-nav"><a href="ExplorerWallet.html#save">save</a></li><li data-type="method" id="ExplorerWallet-sendDataToChain-nav"><a href="ExplorerWallet.html#sendDataToChain">sendDataToChain</a></li><li data-type="method" id="ExplorerWallet-sendTx-nav"><a href="ExplorerWallet.html#sendTx">sendTx</a></li><li data-type="method" id="ExplorerWallet-serialize-nav"><a href="ExplorerWallet.html#serialize">serialize</a></li></ul></li><li id="IpfsHttpApi-nav"><a href="IpfsHttpApi.html">IpfsHttpApi</a><ul class='methods'><li data-type="method" id="IpfsHttpApi-onProgress-nav"><a href="IpfsHttpApi.html#onProgress">onProgress</a></li><li data-type="method" id="IpfsHttpApi-start-nav"><a href="IpfsHttpApi.html#start">start</a></li></ul></li><li id="IpfsXml-nav"><a href="IpfsXml.html">IpfsXml</a><ul class='methods'><li data-type="method" id="IpfsXml-onProgress-nav"><a href="IpfsXml.html#onProgress">onProgress</a></li><li data-type="method" id="IpfsXml-start-nav"><a href="IpfsXml.html#start">start</a></li></ul></li><li id="MPSingle-nav"><a href="MPSingle.html">MPSingle</a><ul class='methods'><li data-type="method" id="MPSingle-fromInput-nav"><a href="MPSingle.html#fromInput">fromInput</a></li><li data-type="method" id="MPSingle-getAddress-nav"><a href="MPSingle.html#getAddress">getAddress</a></li><li data-type="method" id="MPSingle-getAssembled-nav"><a href="MPSingle.html#getAssembled">getAssembled</a></li><li data-type="method" id="MPSingle-getBlock-nav"><a href="MPSingle.html#getBlock">getBlock</a></li><li data-type="method" id="MPSingle-getBlockHash-nav"><a href="MPSingle.html#getBlockHash">getBlockHash</a></li><li data-type="method" id="MPSingle-getData-nav"><a href="MPSingle.html#getData">getData</a></li><li data-type="method" id="MPSingle-getMax-nav"><a href="MPSingle.html#getMax">getMax</a></li><li data-type="method" id="MPSingle-getMeta-nav"><a href="MPSingle.html#getMeta">getMeta</a></li><li data-type="method" id="MPSingle-getPart-nav"><a href="MPSingle.html#getPart">getPart</a></li><li data-type="method" id="MPSingle-getReference-nav"><a href="MPSingle.html#getReference">getReference</a></li><li data-type="method" id="MPSingle-getSignature-nav"><a href="MPSingle.html#getSignature">getSignature</a></li><li data-type="method" id="MPSingle-getSignatureData-nav"><a href="MPSingle.html#getSignatureData">getSignatureData</a></li><li data-type="method" id="MPSingle-getTXID-nav"><a href="MPSingle.html#getTXID">getTXID</a></li><li data-type="method" id="MPSingle-hasValidSignature-nav"><a href="MPSingle.html#hasValidSignature">hasValidSignature</a></li><li data-type="method" id="MPSingle-isComplete-nav"><a href="MPSingle.html#isComplete">isComplete</a></li><li data-type="method" id="MPSingle-isStale-nav"><a href="MPSingle.html#isStale">isStale</a></li><li data-type="method" id="MPSingle-setAddress-nav"><a href="MPSingle.html#setAddress">setAddress</a></li><li data-type="method" id="MPSingle-setAssembled-nav"><a href="MPSingle.html#setAssembled">setAssembled</a></li><li data-type="method" id="MPSingle-setBlock-nav"><a href="MPSingle.html#setBlock">setBlock</a></li><li data-type="method" id="MPSingle-setBlockHash-nav"><a href="MPSingle.html#setBlockHash">setBlockHash</a></li><li data-type="method" id="MPSingle-setData-nav"><a href="MPSingle.html#setData">setData</a></li><li data-type="method" id="MPSingle-setIsComplete-nav"><a href="MPSingle.html#setIsComplete">setIsComplete</a></li><li data-type="method" id="MPSingle-setIsStale-nav"><a href="MPSingle.html#setIsStale">setIsStale</a></li><li data-type="method" id="MPSingle-setMax-nav"><a href="MPSingle.html#setMax">setMax</a></li><li data-type="method" id="MPSingle-setPart-nav"><a href="MPSingle.html#setPart">setPart</a></li><li data-type="method" id="MPSingle-setReference-nav"><a href="MPSingle.html#setReference">setReference</a></li><li data-type="method" id="MPSingle-setSignature-nav"><a href="MPSingle.html#setSignature">setSignature</a></li><li data-type="method" id="MPSingle-setTXID-nav"><a href="MPSingle.html#setTXID">setTXID</a></li><li data-type="method" id="MPSingle-signSelf-nav"><a href="MPSingle.html#signSelf">signSelf</a></li><li data-type="method" id="MPSingle-toString-nav"><a href="MPSingle.html#toString">toString</a></li></ul></li><li id="MultipartX-nav"><a href="MultipartX.html">MultipartX</a><ul class='methods'><li data-type="method" id="MultipartX-fromMultiparts-nav"><a href="MultipartX.html#fromMultiparts">fromMultiparts</a></li><li data-type="method" id="MultipartX-fromString-nav"><a href="MultipartX.html#fromString">fromString</a></li><li data-type="method" id="MultipartX-getMultiparts-nav"><a href="MultipartX.html#getMultiparts">getMultiparts</a></li><li data-type="method" id="MultipartX-toString-nav"><a href="MultipartX.html#toString">toString</a></li></ul></li><li id="OIP-nav"><a href="OIP.html">OIP</a><ul class='methods'><li data-type="method" id="OIP-broadcastRecord-nav"><a href="OIP.html#broadcastRecord">broadcastRecord</a></li><li data-type="method" id="OIP-edit-nav"><a href="OIP.html#edit">edit</a></li><li data-type="method" id="OIP-publish-nav"><a href="OIP.html#publish">publish</a></li><li data-type="method" id="OIP-publishMultiparts-nav"><a href="OIP.html#publishMultiparts">publishMultiparts</a></li><li data-type="method" id="OIP-signRecord-nav"><a href="OIP.html#signRecord">signRecord</a></li></ul></li><li id="Peer-nav"><a href="Peer.html">Peer</a><ul class='methods'><li data-type="method" id="Peer-announceTX-nav"><a href="Peer.html#announceTX">announceTX</a></li><li data-type="method" id="Peer-connect-nav"><a href="Peer.html#connect">connect</a></li><li data-type="method" id="Peer-handleGetData-nav"><a href="Peer.html#handleGetData">handleGetData</a></li><li data-type="method" id="Peer-onPacket-nav"><a href="Peer.html#onPacket">onPacket</a></li></ul></li><li id="RPCWallet-nav"><a href="RPCWallet.html">RPCWallet</a><ul class='methods'><li data-type="method" id="RPCWallet-addAncestor-nav"><a href="RPCWallet.html#addAncestor">addAncestor</a></li><li data-type="method" id="RPCWallet-checkAncestorCount-nav"><a href="RPCWallet.html#checkAncestorCount">checkAncestorCount</a></li><li data-type="method" id="RPCWallet-connectToPeers-nav"><a href="RPCWallet.html#connectToPeers">connectToPeers</a></li><li data-type="method" id="RPCWallet-createAndSignTransaction-nav"><a href="RPCWallet.html#createAndSignTransaction">createAndSignTransaction</a></li><li data-type="method" id="RPCWallet-destroyPeers-nav"><a href="RPCWallet.html#destroyPeers">destroyPeers</a></li><li data-type="method" id="RPCWallet-getUTXOs-nav"><a href="RPCWallet.html#getUTXOs">getUTXOs</a></li><li data-type="method" id="RPCWallet-initialize-nav"><a href="RPCWallet.html#initialize">initialize</a></li><li data-type="method" id="RPCWallet-rebroadcastTransactions-nav"><a href="RPCWallet.html#rebroadcastTransactions">rebroadcastTransactions</a></li><li data-type="method" id="RPCWallet-rpcRequest-nav"><a href="RPCWallet.html#rpcRequest">rpcRequest</a></li><li data-type="method" id="RPCWallet-sendDataToChain-nav"><a href="RPCWallet.html#sendDataToChain">sendDataToChain</a></li><li data-type="method" id="RPCWallet-sendTX-nav"><a href="RPCWallet.html#sendTX">sendTX</a></li><li data-type="method" id="RPCWallet-signMessage-nav"><a href="RPCWallet.html#signMessage">signMessage</a></li><li data-type="method" id="RPCWallet-updateAncestorStatus-nav"><a href="RPCWallet.html#updateAncestorStatus">updateAncestorStatus</a></li></ul></li></ul><h3 id="global-nav">Global</h3><ul><li><a href="global.html#createPatch">createPatch</a></li><li><a href="global.html#createPatchedRecord">createPatchedRecord</a></li><li><a href="global.html#createRFC6902Patch">createRFC6902Patch</a></li><li><a href="global.html#decodeArtifact">decodeArtifact</a></li><li><a href="global.html#fromJSON">fromJSON</a></li><li><a href="global.html#getClassName">getClassName</a></li><li><a href="global.html#isValidWIF">isValidWIF</a></li><li><a href="global.html#signSelf">signSelf</a></li><li><a href="global.html#toJSON">toJSON</a></li></ul>
</nav>
<div id="main">
<h1 class="page-title">
config/networks/flo/mainnet.js
</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>import { Insight } from '@oipwg/insight-explorer'
import { varIntBuffer } from '../../../util/btc'
const floFeePerKb = 100000
/**
* An object that contains information about a coins Name, Network, and access to an explorer
* @typedef {Object} CoinInfo
* @property {string} name - All lowercase "name" of the CoinInfo, this is what is passed in to the `supported_coins` check. This cannot include spaces.
* @property {string} displayName - The Display Name for the Coin, this would be the full official name and can include spaces.
* @property {string} ticker - The "Ticker" that is used to track the Coin on Exchanges
* @property {number} satPerCoin - The number of satoshis per single coin
* @property {number} feePerKb - The amount of fee in satoshis to pay per kilobyte of data being put into the blockchain
* @property {number} feePerByte - The amount of fee in satoshis to pay per byte of data being put into the blockchain
* @property {number} maxFeePerByte - The maximum fee to pay per byte of data being put into the blockchain
* @property {number} minFee - The minimum fee that should ever be paid
* @property {number} dust - Amount in Satoshis of the minimum value allowed to be sent around the network
* @property {number} txVersion - The current TX version number for the coin
* @property {InsightExplorer} explorer - An InsightExplorer for the current coin so that data can be retreived from the network
* @property {function} getExtraBytes - A function that is passed options from TransactionBuilder when a transaction is being built/sent. You can use this to add custom logic/tx hex building.
* @property {CoinNetwork} network - The specific coin network variables, same as used in bitcoinjs-lib
*
* @example
* {
name: 'oip',
displayName: 'Flo',
ticker: 'FLO',
satPerCoin: 1e8,
feePerKb: floFeePerKb,
feePerByte: floFeePerKb / 1024,
maxFeePerByte: 100,
minFee: floFeePerKb,
dust: 100000,
txVersion: 2,
explorer: new Insight('https://livenet.flocha.in/api'),
getExtraBytes: function(options){
var fData = options.floData || ""
return varIntBuffer(fData.length).toString("hex") + Buffer.from(fData).toString("hex")
},
network: CoinNetwork
}
*/
/**
* An object that contains version variables specific to the Coin
* @typedef {Object} CoinNetwork
* @property {Object} bip32 - BIP32 Variables
* @property {number} bip32.public - The Extended Public Key version bytes
* @property {number} bip32.private - The Extended Private Key version bytes
* @property {number} slip44 - The `coin_type` number for the coin, must match [SLIP-0044](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)
* @property {string} messagePrefix - The Prefix to add on when checking/signing a message
* @property {number} pubKeyHash - The coin specific "version" used when creating a Public Key Hash (Public Address)
* @property {number} scriptHash - The coin specific "version" used when creating a Script Hash
* @property {number} wif - Wallet Import Format "version" for this specific coin
*
* @example
* {
bip32: {
public: 0x0134406b,
private: 0x01343c31
},
slip44: 216,
messagePrefix: '\x1bFlorincoin Signed Message:\n',
pubKeyHash: 35,
scriptHash: 94,
wif: 163
}
*/
module.exports = {
name: 'flo',
displayName: 'Flo',
ticker: 'FLO',
satPerCoin: 1e8,
feePerKb: floFeePerKb,
feePerByte: floFeePerKb / 1024,
maxFeePerByte: 100,
minFee: floFeePerKb,
dust: 100000,
txVersion: 2,
explorer: new Insight('https://livenet.flocha.in/api'),
getExtraBytes: function (options) {
let fData = options.floData || ''
let stringBuffer = Buffer.from(fData, 'utf8')
let lengthBuffer = varIntBuffer(stringBuffer.length)
let builtString = lengthBuffer.toString('hex') + stringBuffer.toString('hex')
return builtString
},
network: {
bip32: {
public: 0x0134406b,
private: 0x01343c31
},
slip44: 216,
messagePrefix: '\u001bFlorincoin Signed Message:\n',
pubKeyHash: 35,
scriptHash: 94,
wif: 163
}
}
</code></pre>
</article>
</section>
</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
</footer>
<script src="scripts/linenumber.js"></script>
<script src="scripts/pagelocation.js"></script>
</body>
</html>