diff options
author | Yigit Sever | 2021-04-16 15:56:07 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-16 15:56:07 +0300 |
commit | 8406b4029dacc006166267be8c74d5ef3d3c25b9 (patch) | |
tree | f04dd07b705ab1c21fa126ead44414adfe45db99 /site/public/transaction-docs/index.html | |
parent | 242914808a5a69601f06b9a00ffa43262a623c9e (diff) | |
download | gradecoin-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.html | 22 |
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 | |||
121 | amount: unsigned 16 bit integer | 126 | amount: unsigned 16 bit integer |
122 | timestamp: ISO 8601 <date>T<time> | 127 | timestamp: ISO 8601 <date>T<time> |
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 "The Hash", 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 "The Hash", 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 | ||
140 | source: this can be either you or the bank | ||
141 | target: 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 | ||