aboutsummaryrefslogtreecommitdiffstats
path: root/site/content
diff options
context:
space:
mode:
authorYigit Sever2021-04-16 15:56:07 +0300
committerYigit Sever2021-04-16 15:56:07 +0300
commit9992e12945da9b9b4aa68072a8017c6525b60da3 (patch)
treeabc188bdd80257af1e34f4b35c8d72c076471157 /site/content
parent4805d4006c697528285fadfcf1b52dc84f6d1069 (diff)
downloadgradecoin-9992e12945da9b9b4aa68072a8017c6525b60da3.tar.gz
gradecoin-9992e12945da9b9b4aa68072a8017c6525b60da3.tar.bz2
gradecoin-9992e12945da9b9b4aa68072a8017c6525b60da3.zip
Add bank description
Diffstat (limited to 'site/content')
-rw-r--r--site/content/transaction_docs.md21
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
16A HTTP `POST` request with Authorization using JWT to [/transaction](/transactions) will allow you to propose your own transactions. 16A 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```
21by: Fingerprint 20by: 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
33There is a `bank` account with Fingerprint `31415926535897932384626433832795028841971693993751058209749445923`
34
35{% tidbit() %}
36First 64 digits of Pi
37{% end %}
38
39This is the only account that will let you _withdraw_ from them.
40
41```
42by: this has to be your Fingerprint
43source: this can be either you or the bank
44target: this can be a valid fingerprint or yourself if source is the bank
45...
46```
47