keoken 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardoc/checksums +8 -4
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +1 -1
- data/doc/Bitcoin/Script.html +1 -1
- data/doc/Keoken/Backend/Base.html +347 -0
- data/doc/Keoken/Backend/BitcoinRuby/Transaction.html +106 -192
- data/doc/Keoken/Backend/BitcoinRuby.html +1 -1
- data/doc/Keoken/Backend/Trezor/Transaction.html +512 -0
- data/doc/Keoken/Backend/Trezor.html +115 -0
- data/doc/Keoken/Backend.html +7 -3
- data/doc/Keoken/Bitprim/Transaction.html +1 -1
- data/doc/Keoken/Bitprim.html +1 -1
- data/doc/Keoken/DataNotParsed.html +202 -0
- data/doc/Keoken/IdNotFound.html +1 -1
- data/doc/Keoken/NameNotFound.html +1 -1
- data/doc/Keoken/OutputNotFound.html +1 -1
- data/doc/Keoken/Parser.html +479 -0
- data/doc/Keoken/Token.html +289 -108
- data/doc/Keoken.html +11 -11
- data/doc/_index.html +55 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +13 -13
- data/doc/index.html +13 -13
- data/doc/method_list.html +120 -16
- data/doc/top-level-namespace.html +1 -1
- data/lib/keoken/backend/trezor/transaction.rb +2 -2
- data/lib/keoken/errors/data_not_parsed.rb +5 -3
- data/lib/keoken/errors/id_not_found.rb +5 -3
- data/lib/keoken/errors/name_not_found.rb +5 -3
- data/lib/keoken/errors/output_not_found.rb +5 -3
- data/lib/keoken/parser.rb +6 -6
- data/lib/keoken/token.rb +2 -2
- data/lib/keoken/version.rb +1 -1
- data/lib/keoken.rb +5 -3
- data/spec/keoken_spec.rb +111 -45
- metadata +6 -1
data/doc/Keoken.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/keoken.rb<span class="defines">,<br />
|
82
|
-
lib/keoken/token.rb,<br /> lib/keoken/version.rb,<br /> lib/keoken/bitprim/transaction.rb,<br /> lib/keoken/errors/id_not_found.rb,<br /> lib/keoken/errors/name_not_found.rb,<br /> lib/keoken/errors/output_not_found.rb,<br /> lib/keoken/backend/bitcoin_ruby/transaction.rb</span>
|
82
|
+
lib/keoken/token.rb,<br /> lib/keoken/parser.rb,<br /> lib/keoken/version.rb,<br /> lib/keoken/backend/base.rb,<br /> lib/keoken/bitprim/transaction.rb,<br /> lib/keoken/errors/id_not_found.rb,<br /> lib/keoken/errors/name_not_found.rb,<br /> lib/keoken/errors/data_not_parsed.rb,<br /> lib/keoken/errors/output_not_found.rb,<br /> lib/keoken/backend/trezor/transaction.rb,<br /> lib/keoken/backend/bitcoin_ruby/transaction.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
|
95
95
|
|
96
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Keoken/IdNotFound.html" title="Keoken::IdNotFound (class)">IdNotFound</a></span>, <span class='object_link'><a href="Keoken/NameNotFound.html" title="Keoken::NameNotFound (class)">NameNotFound</a></span>, <span class='object_link'><a href="Keoken/OutputNotFound.html" title="Keoken::OutputNotFound (class)">OutputNotFound</a></span>, <span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span>
|
96
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Keoken/DataNotParsed.html" title="Keoken::DataNotParsed (class)">DataNotParsed</a></span>, <span class='object_link'><a href="Keoken/IdNotFound.html" title="Keoken::IdNotFound (class)">IdNotFound</a></span>, <span class='object_link'><a href="Keoken/NameNotFound.html" title="Keoken::NameNotFound (class)">NameNotFound</a></span>, <span class='object_link'><a href="Keoken/OutputNotFound.html" title="Keoken::OutputNotFound (class)">OutputNotFound</a></span>, <span class='object_link'><a href="Keoken/Parser.html" title="Keoken::Parser (class)">Parser</a></span>, <span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span>
|
97
97
|
|
98
98
|
|
99
99
|
</p>
|
@@ -109,32 +109,32 @@
|
|
109
109
|
<dt id="PREFIX_SIZE-constant" class="">PREFIX_SIZE =
|
110
110
|
|
111
111
|
</dt>
|
112
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>04</span><span class='tstring_end'>'</span></span></pre></dd>
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>04</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
113
113
|
|
114
114
|
<dt id="PREFIX-constant" class="">PREFIX =
|
115
115
|
|
116
116
|
</dt>
|
117
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>00004b50</span><span class='tstring_end'>'</span></span></pre></dd>
|
117
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>00004b50</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
118
118
|
|
119
119
|
<dt id="VERSION_NODE-constant" class="">VERSION_NODE =
|
120
120
|
|
121
121
|
</dt>
|
122
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0000</span><span class='tstring_end'>'</span></span></pre></dd>
|
122
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0000</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
123
123
|
|
124
124
|
<dt id="TYPE_CREATE_ASSET-constant" class="">TYPE_CREATE_ASSET =
|
125
125
|
|
126
126
|
</dt>
|
127
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0000</span><span class='tstring_end'>'</span></span></pre></dd>
|
127
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0000</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
128
128
|
|
129
129
|
<dt id="TYPE_SEND_TOKEN-constant" class="">TYPE_SEND_TOKEN =
|
130
130
|
|
131
131
|
</dt>
|
132
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0001</span><span class='tstring_end'>'</span></span></pre></dd>
|
132
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0001</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
133
133
|
|
134
134
|
<dt id="PREFIX_BYTE_AMOUNT-constant" class="">PREFIX_BYTE_AMOUNT =
|
135
135
|
|
136
136
|
</dt>
|
137
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0000000000000000</span><span class='tstring_end'>'</span></span></pre></dd>
|
137
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0000000000000000</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
138
138
|
|
139
139
|
<dt id="AMOUNT_SIZE-constant" class="">AMOUNT_SIZE =
|
140
140
|
|
@@ -144,7 +144,7 @@
|
|
144
144
|
<dt id="PREFIX_BYTE_ASSET_ID-constant" class="">PREFIX_BYTE_ASSET_ID =
|
145
145
|
|
146
146
|
</dt>
|
147
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>00000000</span><span class='tstring_end'>'</span></span></pre></dd>
|
147
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>00000000</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
148
148
|
|
149
149
|
<dt id="ASSET_ID_SIZE-constant" class="">ASSET_ID_SIZE =
|
150
150
|
|
@@ -154,7 +154,7 @@
|
|
154
154
|
<dt id="VERSION-constant" class="">VERSION =
|
155
155
|
|
156
156
|
</dt>
|
157
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.1
|
157
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.2.1</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
158
158
|
|
159
159
|
</dl>
|
160
160
|
|
@@ -170,7 +170,7 @@
|
|
170
170
|
</div>
|
171
171
|
|
172
172
|
<div id="footer">
|
173
|
-
Generated on
|
173
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
174
174
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
175
175
|
0.9.18 (ruby-2.3.3).
|
176
176
|
</div>
|
data/doc/_index.html
CHANGED
@@ -87,6 +87,13 @@
|
|
87
87
|
|
88
88
|
</li>
|
89
89
|
|
90
|
+
<li>
|
91
|
+
<span class='object_link'><a href="Keoken/Backend/Base.html" title="Keoken::Backend::Base (class)">Base</a></span>
|
92
|
+
|
93
|
+
<small>(Keoken::Backend)</small>
|
94
|
+
|
95
|
+
</li>
|
96
|
+
|
90
97
|
<li>
|
91
98
|
<span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span>
|
92
99
|
|
@@ -105,6 +112,21 @@
|
|
105
112
|
</ul>
|
106
113
|
|
107
114
|
|
115
|
+
<ul id="alpha_D" class="alpha">
|
116
|
+
<li class="letter">D</li>
|
117
|
+
<ul>
|
118
|
+
|
119
|
+
<li>
|
120
|
+
<span class='object_link'><a href="Keoken/DataNotParsed.html" title="Keoken::DataNotParsed (class)">DataNotParsed</a></span>
|
121
|
+
|
122
|
+
<small>(Keoken)</small>
|
123
|
+
|
124
|
+
</li>
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
</ul>
|
128
|
+
|
129
|
+
|
108
130
|
<ul id="alpha_I" class="alpha">
|
109
131
|
<li class="letter">I</li>
|
110
132
|
<ul>
|
@@ -163,6 +185,24 @@
|
|
163
185
|
</ul>
|
164
186
|
|
165
187
|
|
188
|
+
<ul id="alpha_P" class="alpha">
|
189
|
+
<li class="letter">P</li>
|
190
|
+
<ul>
|
191
|
+
|
192
|
+
<li>
|
193
|
+
<span class='object_link'><a href="Keoken/Parser.html" title="Keoken::Parser (class)">Parser</a></span>
|
194
|
+
|
195
|
+
<small>(Keoken)</small>
|
196
|
+
|
197
|
+
</li>
|
198
|
+
|
199
|
+
</ul>
|
200
|
+
</ul>
|
201
|
+
|
202
|
+
|
203
|
+
</td><td valign='top' width="33%">
|
204
|
+
|
205
|
+
|
166
206
|
<ul id="alpha_S" class="alpha">
|
167
207
|
<li class="letter">S</li>
|
168
208
|
<ul>
|
@@ -196,6 +236,13 @@
|
|
196
236
|
|
197
237
|
</li>
|
198
238
|
|
239
|
+
<li>
|
240
|
+
<span class='object_link'><a href="Keoken/Backend/Trezor/Transaction.html" title="Keoken::Backend::Trezor::Transaction (class)">Transaction</a></span>
|
241
|
+
|
242
|
+
<small>(Keoken::Backend::Trezor)</small>
|
243
|
+
|
244
|
+
</li>
|
245
|
+
|
199
246
|
<li>
|
200
247
|
<span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span>
|
201
248
|
|
@@ -203,6 +250,13 @@
|
|
203
250
|
|
204
251
|
</li>
|
205
252
|
|
253
|
+
<li>
|
254
|
+
<span class='object_link'><a href="Keoken/Backend/Trezor.html" title="Keoken::Backend::Trezor (module)">Trezor</a></span>
|
255
|
+
|
256
|
+
<small>(Keoken::Backend)</small>
|
257
|
+
|
258
|
+
</li>
|
259
|
+
|
206
260
|
</ul>
|
207
261
|
</ul>
|
208
262
|
|
@@ -215,7 +269,7 @@
|
|
215
269
|
</div>
|
216
270
|
|
217
271
|
<div id="footer">
|
218
|
-
Generated on
|
272
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
219
273
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
220
274
|
0.9.18 (ruby-2.3.3).
|
221
275
|
</div>
|
data/doc/class_list.html
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
<ul id="full_list" class="class">
|
45
45
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
-
<li id='object_Bitcoin::Script' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Bitcoin/Script.html" title="Bitcoin::Script (class)">Bitcoin::Script</a></span> < Object<small class='search_info'>Bitcoin</small></div></li><li id='object_Keoken' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Keoken::Backend' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span><small class='search_info'>Keoken</small></div><ul><li id='object_Keoken::Backend::BitcoinRuby' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span><small class='search_info'>Keoken::Backend</small></div><ul><li id='object_Keoken::Backend::BitcoinRuby::Transaction' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span> <
|
46
|
+
<li id='object_Bitcoin::Script' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Bitcoin/Script.html" title="Bitcoin::Script (class)">Bitcoin::Script</a></span> < Object<small class='search_info'>Bitcoin</small></div></li><li id='object_Keoken' class='odd'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Keoken::Backend' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span><small class='search_info'>Keoken</small></div><ul><li id='object_Keoken::Backend::Base' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Keoken/Backend/Base.html" title="Keoken::Backend::Base (class)">Base</a></span> < Object<small class='search_info'>Keoken::Backend</small></div></li><li id='object_Keoken::Backend::BitcoinRuby' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span><small class='search_info'>Keoken::Backend</small></div><ul><li id='object_Keoken::Backend::BitcoinRuby::Transaction' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span> < Base<small class='search_info'>Keoken::Backend::BitcoinRuby</small></div></li></ul></li><li id='object_Keoken::Backend::Trezor' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Keoken/Backend/Trezor.html" title="Keoken::Backend::Trezor (module)">Trezor</a></span><small class='search_info'>Keoken::Backend</small></div><ul><li id='object_Keoken::Backend::Trezor::Transaction' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Keoken/Backend/Trezor/Transaction.html" title="Keoken::Backend::Trezor::Transaction (class)">Transaction</a></span> < Base<small class='search_info'>Keoken::Backend::Trezor</small></div></li></ul></li></ul></li><li id='object_Keoken::Bitprim' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Keoken/Bitprim.html" title="Keoken::Bitprim (module)">Bitprim</a></span><small class='search_info'>Keoken</small></div><ul><li id='object_Keoken::Bitprim::Transaction' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Keoken/Bitprim/Transaction.html" title="Keoken::Bitprim::Transaction (class)">Transaction</a></span> < Object<small class='search_info'>Keoken::Bitprim</small></div></li></ul></li><li id='object_Keoken::DataNotParsed' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Keoken/DataNotParsed.html" title="Keoken::DataNotParsed (class)">DataNotParsed</a></span> < StandardError<small class='search_info'>Keoken</small></div></li><li id='object_Keoken::IdNotFound' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Keoken/IdNotFound.html" title="Keoken::IdNotFound (class)">IdNotFound</a></span> < StandardError<small class='search_info'>Keoken</small></div></li><li id='object_Keoken::NameNotFound' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Keoken/NameNotFound.html" title="Keoken::NameNotFound (class)">NameNotFound</a></span> < StandardError<small class='search_info'>Keoken</small></div></li><li id='object_Keoken::OutputNotFound' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Keoken/OutputNotFound.html" title="Keoken::OutputNotFound (class)">OutputNotFound</a></span> < StandardError<small class='search_info'>Keoken</small></div></li><li id='object_Keoken::Parser' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Keoken/Parser.html" title="Keoken::Parser (class)">Parser</a></span> < Object<small class='search_info'>Keoken</small></div></li><li id='object_Keoken::Token' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span> < Parser<small class='search_info'>Keoken</small></div></li></ul></li>
|
47
47
|
|
48
48
|
</ul>
|
49
49
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -82,22 +82,22 @@
|
|
82
82
|
|
83
83
|
<h2>Usage</h2>
|
84
84
|
|
85
|
+
<p>It uses bitcoin-ruby, but you can use Trezor or Electrum, the most important command is the script,
|
86
|
+
which you can obtain with token.hex,
|
87
|
+
then you can send it as an output with a scriptPubKey and a value of 0.
|
88
|
+
In order to crate a token you need two outputs,
|
89
|
+
the change address with an amount less than original (for fees)
|
90
|
+
and the other one for the script. To send money you need three outputs,
|
91
|
+
the change address, the address who owns the recipient token and the script.</p>
|
92
|
+
|
85
93
|
<h3>Create token and send it to the blockchain</h3>
|
86
94
|
|
87
|
-
<pre class="code ruby"><code class="ruby"><span class='
|
88
|
-
</span><span class='comment'># which you can obtain with token.hex,
|
89
|
-
</span><span class='comment'># then you can send it as an output with a scriptPubKey and a value of 0.
|
90
|
-
</span><span class='comment'># In order to crate a token you need two outputs,
|
91
|
-
</span><span class='comment'># the change address with an amount less than original (for fees)
|
92
|
-
</span><span class='comment'># and the other one for the script. To send money you need three outputs,
|
93
|
-
</span><span class='comment'># the change address, the address who owns the recipient token and the script.
|
94
|
-
</span>
|
95
|
-
<span class='const'>Bitcoin</span><span class='period'>.</span><span class='id identifier rubyid_network'>network</span> <span class='op'>=</span> <span class='symbol'>:testnet3</span>
|
95
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>Bitcoin</span><span class='period'>.</span><span class='id identifier rubyid_network'>network</span> <span class='op'>=</span> <span class='symbol'>:testnet3</span>
|
96
96
|
<span class='id identifier rubyid_token'>token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Keoken/Token.html#initialize-instance_method" title="Keoken::Token#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>test-keoken-bitex</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
97
97
|
<span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='int'>1_000_000</span><span class='rparen'>)</span>
|
98
98
|
<span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>Bitcoin</span><span class='op'>::</span><span class='const'>Key</span><span class='period'>.</span><span class='id identifier rubyid_from_base58'>from_base58</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>cShKfHoHVf6iYKZym18ip1MJFQFxJwbcLxW53MQikxdDsGd2ofBU</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
99
99
|
<span class='id identifier rubyid_script'>script</span> <span class='op'>=</span> <span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_hex'>hex</span>
|
100
|
-
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_creation'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_creation-
|
100
|
+
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_creation'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_creation-instance_method" title="Keoken::Backend::BitcoinRuby::Transaction#build_for_creation (method)">build_for_creation</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_addr'>addr</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
101
101
|
<span class='id identifier rubyid_transaction'>transaction</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim.html" title="Keoken::Bitprim (module)">Bitprim</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim/Transaction.html" title="Keoken::Bitprim::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
102
102
|
<span class='id identifier rubyid_transaction'>transaction</span><span class='period'>.</span><span class='id identifier rubyid_send_tx'>send_tx</span><span class='lparen'>(</span><span class='ivar'>@transaction_token</span><span class='period'>.</span><span class='id identifier rubyid_raw'>raw</span><span class='rparen'>)</span>
|
103
103
|
</code></pre>
|
@@ -109,9 +109,9 @@
|
|
109
109
|
<span class='id identifier rubyid_assets'>assets</span> <span class='op'>=</span> <span class='id identifier rubyid_bitprim_transaction'>bitprim_transaction</span><span class='period'>.</span><span class='id identifier rubyid_assets_by_address'>assets_by_address</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mro9aqn4xCzXVS7jRFFuzT2ERKonvPdSDA</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
110
110
|
<span class='id identifier rubyid_token'>token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Keoken/Token.html#initialize-instance_method" title="Keoken::Token#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>id:</span> <span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>asset_id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
111
111
|
<span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_send_amount'>send_amount</span><span class='lparen'>(</span><span class='int'>500_000</span><span class='rparen'>)</span>
|
112
|
-
<span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>Bitcoin</span><span class='op'>::</span><span class='const'>Key</span><span class='period'>.</span><span class='id identifier rubyid_from_base58'>from_base58</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>
|
112
|
+
<span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>Bitcoin</span><span class='op'>::</span><span class='const'>Key</span><span class='period'>.</span><span class='id identifier rubyid_from_base58'>from_base58</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cShKfHoHVf6iYKZym18ip1MJFQFxJwbcLxW53MQikxdDsGd2ofBU</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
113
113
|
<span class='id identifier rubyid_script'>script</span> <span class='op'>=</span> <span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_hex'>hex</span>
|
114
|
-
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_send_amount'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_send_amount-
|
114
|
+
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_send_amount'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_send_amount-instance_method" title="Keoken::Backend::BitcoinRuby::Transaction#build_for_send_amount (method)">build_for_send_amount</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_addr'>addr</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mnTd41YZ1e1YqsaPNJh3wkeSUrFvp1guzi</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
115
115
|
<span class='id identifier rubyid_transaction'>transaction</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim.html" title="Keoken::Bitprim (module)">Bitprim</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim/Transaction.html" title="Keoken::Bitprim::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
116
116
|
<span class='id identifier rubyid_transaction'>transaction</span><span class='period'>.</span><span class='id identifier rubyid_send_tx'>send_tx</span><span class='lparen'>(</span><span class='ivar'>@transaction_token</span><span class='period'>.</span><span class='id identifier rubyid_raw'>raw</span><span class='rparen'>)</span>
|
117
117
|
</code></pre>
|
@@ -126,7 +126,7 @@
|
|
126
126
|
</div></div>
|
127
127
|
|
128
128
|
<div id="footer">
|
129
|
-
Generated on
|
129
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
130
130
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
131
131
|
0.9.18 (ruby-2.3.3).
|
132
132
|
</div>
|
data/doc/index.html
CHANGED
@@ -82,22 +82,22 @@
|
|
82
82
|
|
83
83
|
<h2>Usage</h2>
|
84
84
|
|
85
|
+
<p>It uses bitcoin-ruby, but you can use Trezor or Electrum, the most important command is the script,
|
86
|
+
which you can obtain with token.hex,
|
87
|
+
then you can send it as an output with a scriptPubKey and a value of 0.
|
88
|
+
In order to crate a token you need two outputs,
|
89
|
+
the change address with an amount less than original (for fees)
|
90
|
+
and the other one for the script. To send money you need three outputs,
|
91
|
+
the change address, the address who owns the recipient token and the script.</p>
|
92
|
+
|
85
93
|
<h3>Create token and send it to the blockchain</h3>
|
86
94
|
|
87
|
-
<pre class="code ruby"><code class="ruby"><span class='
|
88
|
-
</span><span class='comment'># which you can obtain with token.hex,
|
89
|
-
</span><span class='comment'># then you can send it as an output with a scriptPubKey and a value of 0.
|
90
|
-
</span><span class='comment'># In order to crate a token you need two outputs,
|
91
|
-
</span><span class='comment'># the change address with an amount less than original (for fees)
|
92
|
-
</span><span class='comment'># and the other one for the script. To send money you need three outputs,
|
93
|
-
</span><span class='comment'># the change address, the address who owns the recipient token and the script.
|
94
|
-
</span>
|
95
|
-
<span class='const'>Bitcoin</span><span class='period'>.</span><span class='id identifier rubyid_network'>network</span> <span class='op'>=</span> <span class='symbol'>:testnet3</span>
|
95
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>Bitcoin</span><span class='period'>.</span><span class='id identifier rubyid_network'>network</span> <span class='op'>=</span> <span class='symbol'>:testnet3</span>
|
96
96
|
<span class='id identifier rubyid_token'>token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Keoken/Token.html#initialize-instance_method" title="Keoken::Token#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>test-keoken-bitex</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
97
97
|
<span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='int'>1_000_000</span><span class='rparen'>)</span>
|
98
98
|
<span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>Bitcoin</span><span class='op'>::</span><span class='const'>Key</span><span class='period'>.</span><span class='id identifier rubyid_from_base58'>from_base58</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>cShKfHoHVf6iYKZym18ip1MJFQFxJwbcLxW53MQikxdDsGd2ofBU</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
99
99
|
<span class='id identifier rubyid_script'>script</span> <span class='op'>=</span> <span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_hex'>hex</span>
|
100
|
-
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_creation'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_creation-
|
100
|
+
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_creation'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_creation-instance_method" title="Keoken::Backend::BitcoinRuby::Transaction#build_for_creation (method)">build_for_creation</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_addr'>addr</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
101
101
|
<span class='id identifier rubyid_transaction'>transaction</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim.html" title="Keoken::Bitprim (module)">Bitprim</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim/Transaction.html" title="Keoken::Bitprim::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
102
102
|
<span class='id identifier rubyid_transaction'>transaction</span><span class='period'>.</span><span class='id identifier rubyid_send_tx'>send_tx</span><span class='lparen'>(</span><span class='ivar'>@transaction_token</span><span class='period'>.</span><span class='id identifier rubyid_raw'>raw</span><span class='rparen'>)</span>
|
103
103
|
</code></pre>
|
@@ -109,9 +109,9 @@
|
|
109
109
|
<span class='id identifier rubyid_assets'>assets</span> <span class='op'>=</span> <span class='id identifier rubyid_bitprim_transaction'>bitprim_transaction</span><span class='period'>.</span><span class='id identifier rubyid_assets_by_address'>assets_by_address</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mro9aqn4xCzXVS7jRFFuzT2ERKonvPdSDA</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
110
110
|
<span class='id identifier rubyid_token'>token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Token.html" title="Keoken::Token (class)">Token</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Keoken/Token.html#initialize-instance_method" title="Keoken::Token#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>id:</span> <span class='id identifier rubyid_assets'>assets</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>asset_id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
111
111
|
<span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_send_amount'>send_amount</span><span class='lparen'>(</span><span class='int'>500_000</span><span class='rparen'>)</span>
|
112
|
-
<span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>Bitcoin</span><span class='op'>::</span><span class='const'>Key</span><span class='period'>.</span><span class='id identifier rubyid_from_base58'>from_base58</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>
|
112
|
+
<span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>Bitcoin</span><span class='op'>::</span><span class='const'>Key</span><span class='period'>.</span><span class='id identifier rubyid_from_base58'>from_base58</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cShKfHoHVf6iYKZym18ip1MJFQFxJwbcLxW53MQikxdDsGd2ofBU</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
113
113
|
<span class='id identifier rubyid_script'>script</span> <span class='op'>=</span> <span class='id identifier rubyid_token'>token</span><span class='period'>.</span><span class='id identifier rubyid_hex'>hex</span>
|
114
|
-
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_send_amount'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_send_amount-
|
114
|
+
<span class='ivar'>@transaction_token</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend.html" title="Keoken::Backend (module)">Backend</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build_for_send_amount'><span class='object_link'><a href="Keoken/Backend/BitcoinRuby/Transaction.html#build_for_send_amount-instance_method" title="Keoken::Backend::BitcoinRuby::Transaction#build_for_send_amount (method)">build_for_send_amount</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_addr'>addr</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mnTd41YZ1e1YqsaPNJh3wkeSUrFvp1guzi</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
115
115
|
<span class='id identifier rubyid_transaction'>transaction</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim.html" title="Keoken::Bitprim (module)">Bitprim</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Keoken/Bitprim/Transaction.html" title="Keoken::Bitprim::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
116
116
|
<span class='id identifier rubyid_transaction'>transaction</span><span class='period'>.</span><span class='id identifier rubyid_send_tx'>send_tx</span><span class='lparen'>(</span><span class='ivar'>@transaction_token</span><span class='period'>.</span><span class='id identifier rubyid_raw'>raw</span><span class='rparen'>)</span>
|
117
117
|
</code></pre>
|
@@ -126,7 +126,7 @@
|
|
126
126
|
</div></div>
|
127
127
|
|
128
128
|
<div id="footer">
|
129
|
-
Generated on
|
129
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
130
130
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
131
131
|
0.9.18 (ruby-2.3.3).
|
132
132
|
</div>
|