diff options
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 | ||