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/content | |
parent | 242914808a5a69601f06b9a00ffa43262a623c9e (diff) | |
download | gradecoin-8406b4029dacc006166267be8c74d5ef3d3c25b9.tar.gz gradecoin-8406b4029dacc006166267be8c74d5ef3d3c25b9.tar.bz2 gradecoin-8406b4029dacc006166267be8c74d5ef3d3c25b9.zip |
Add bank description
Diffstat (limited to 'site/content')
-rw-r--r-- | site/content/transaction_docs.md | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/site/content/transaction_docs.md b/site/content/transaction_docs.md index cbdeaf4..4a6264b 100644 --- a/site/content/transaction_docs.md +++ b/site/content/transaction_docs.md | |||
@@ -15,7 +15,6 @@ A HTTP `GET` request to [/transaction](/transaction) endpoint will return the cu | |||
15 | 15 | ||
16 | A HTTP `POST` request with Authorization using JWT to [/transaction](/transactions) will allow you to propose your own transactions. | 16 | A HTTP `POST` request with Authorization using JWT to [/transaction](/transactions) will allow you to propose your own transactions. |
17 | 17 | ||
18 | |||
19 | # Fields | 18 | # Fields |
20 | ``` | 19 | ``` |
21 | by: Fingerprint | 20 | by: Fingerprint |
@@ -27,4 +26,22 @@ timestamp: ISO 8601 <date>T<time> | |||
27 | 26 | ||
28 | # Hash | 27 | # Hash |
29 | 28 | ||
30 | ```tha``` field in [jwt documentation](/jwt) 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. | 29 | `tha` field in [jwt documentation](@/JWT.md) 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. |
30 | |||
31 | # Bank | ||
32 | |||
33 | There is a `bank` account with Fingerprint `31415926535897932384626433832795028841971693993751058209749445923` | ||
34 | |||
35 | {% tidbit() %} | ||
36 | First 64 digits of Pi | ||
37 | {% end %} | ||
38 | |||
39 | This is the only account that will let you _withdraw_ from them. | ||
40 | |||
41 | ``` | ||
42 | by: this has to be your Fingerprint | ||
43 | source: this can be either you or the bank | ||
44 | target: this can be a valid fingerprint or yourself if source is the bank | ||
45 | ... | ||
46 | ``` | ||
47 | |||