aboutsummaryrefslogtreecommitdiffstats
path: root/site/public/transaction-docs/index.html
diff options
context:
space:
mode:
authorYigit Sever2021-04-16 15:56:07 +0300
committerYigit Sever2021-04-16 15:56:07 +0300
commit8406b4029dacc006166267be8c74d5ef3d3c25b9 (patch)
treef04dd07b705ab1c21fa126ead44414adfe45db99 /site/public/transaction-docs/index.html
parent242914808a5a69601f06b9a00ffa43262a623c9e (diff)
downloadgradecoin-8406b4029dacc006166267be8c74d5ef3d3c25b9.tar.gz
gradecoin-8406b4029dacc006166267be8c74d5ef3d3c25b9.tar.bz2
gradecoin-8406b4029dacc006166267be8c74d5ef3d3c25b9.zip
Add bank description
Diffstat (limited to 'site/public/transaction-docs/index.html')
-rw-r--r--site/public/transaction-docs/index.html22
1 files changed, 20 insertions, 2 deletions
diff --git a/site/public/transaction-docs/index.html b/site/public/transaction-docs/index.html
index a8f3e29..4f8ef9c 100644
--- a/site/public/transaction-docs/index.html
+++ b/site/public/transaction-docs/index.html
@@ -99,6 +99,11 @@
99 </div> 99 </div>
100 100
101 101
102 <div class="toc-item">
103 <a class="subtext" href="https://gradecoin.xyz/transaction-docs/#bank">Bank</a>
104 </div>
105
106
102 </div> 107 </div>
103 </div> 108 </div>
104 109
@@ -121,8 +126,21 @@ target: Fingerprint
121amount: unsigned 16 bit integer 126amount: unsigned 16 bit integer
122timestamp: ISO 8601 &lt;date&gt;T&lt;time&gt; 127timestamp: ISO 8601 &lt;date&gt;T&lt;time&gt;
123</span></code></pre><h1 id="hash">Hash</h1> 128</span></code></pre><h1 id="hash">Hash</h1>
124<p><code>tha</code> field in <a href="/jwt">jwt documentation</a> in fact stands for &quot;The Hash&quot;, in the case of a post request for a transaction, you need the md5 hash of the serialized JSON representation of transaction. </p> 129<p><code>tha</code> field in <a href="https://gradecoin.xyz/jwt/">jwt documentation</a> in fact stands for &quot;The Hash&quot;, in the case of a post request for a transaction, you need the Md5 hash of the serialized JSON representation of transaction.</p>
125 130<h1 id="bank">Bank</h1>
131<p>There is a <code>bank</code> account with Fingerprint <code>31415926535897932384626433832795028841971693993751058209749445923</code></p>
132<blockquote class="tidbit">
133 <p>
134 First 64 digits of Pi
135 </p>
136</blockquote>
137<p>This is the only account that will let you <em>withdraw</em> from them.</p>
138<pre style="background-color:#ffffff;">
139<code><span style="color:#545052;">by: this has to be your Fingerprint
140source: this can be either you or the bank
141target: this can be a valid fingerprint or yourself if source is the bank
142...
143</span></code></pre>
126 144
127 </div> 145 </div>
128 146