aboutsummaryrefslogtreecommitdiffstats
path: root/content/_index.md
diff options
context:
space:
mode:
authorYigit Sever2023-05-22 15:50:26 +0300
committerYigit Sever2023-05-22 15:50:26 +0300
commit8fb653d74dcbf37d00a2301e2a3ad27c200c5ac1 (patch)
tree066a02306aec9713b8da5c1b0308cac0cb71231b /content/_index.md
parent91c3267f8186f302c4ad58b5a149f63eb36fa85c (diff)
downloadgradecoin-site-8fb653d74dcbf37d00a2301e2a3ad27c200c5ac1.tar.gz
gradecoin-site-8fb653d74dcbf37d00a2301e2a3ad27c200c5ac1.tar.bz2
gradecoin-site-8fb653d74dcbf37d00a2301e2a3ad27c200c5ac1.zip
Update password character and broken link
And fix a few typos
Diffstat (limited to 'content/_index.md')
-rw-r--r--content/_index.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/content/_index.md b/content/_index.md
index 733fcbd..0023e9e 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -7,7 +7,7 @@ sort_by = "weight"
7Blockchains are incredibly simple, but they can seem very complicated. 7Blockchains are incredibly simple, but they can seem very complicated.
8We will see how they work and practice programming _production grade_ cryptography code. 8We will see how they work and practice programming _production grade_ cryptography code.
9 9
10This server is the sandbox for PA1 and it is currently running the Gradecoin application. 10This server is the sandbox for PA1, and it is currently running the Gradecoin application.
11Gradecoin is the faux currency we will use to simulate a blockchain network. 11Gradecoin is the faux currency we will use to simulate a blockchain network.
12**At the end of the simulation, the amount of Gradecoin you hold will be your PA1 grade.** 12**At the end of the simulation, the amount of Gradecoin you hold will be your PA1 grade.**
13 13
@@ -27,7 +27,7 @@ Then you can earn block rewards by proposing blocks, create some Gradecoins by g
27The first transactions of a block is called the `coinbase`. They are the **author** of the block proposal and if the block is accepted then they get compensated for their efforts with some Gradecoin. 27The first transactions of a block is called the `coinbase`. They are the **author** of the block proposal and if the block is accepted then they get compensated for their efforts with some Gradecoin.
28 28
29# Public Key Signatures 29# Public Key Signatures
30Gradecoin uses 2048 bit RSA keypairs. 30Gradecoin uses 2048-bit RSA key pairs.
31 31
32# Services 32# Services
33Please respect the system and others. 33Please respect the system and others.
@@ -35,7 +35,7 @@ Keep your request rate below a reasonable limit.
35Programming a bot is absolutely fine as long as it's not aggressively sending requests. 35Programming a bot is absolutely fine as long as it's not aggressively sending requests.
36 36
37## /register 37## /register
38- Create your own 2048 bit RSA `keypair` 38- Create your own 2048-bit RSA `keypair`
39- Download `Gradecoin`'s public key from [ODTUClass](https://odtuclass.metu.edu.tr/my/) 39- Download `Gradecoin`'s public key from [ODTUClass](https://odtuclass.metu.edu.tr/my/)
40- Encrypt your [JSON](https://www.json.org/json-en.html) wrapped `Public Key`, `Student ID` and one time `passwd` using Gradecoin's public key 40- Encrypt your [JSON](https://www.json.org/json-en.html) wrapped `Public Key`, `Student ID` and one time `passwd` using Gradecoin's public key
41- Your public key is now in the database. You can use your private key to sign your JWTs during requests 41- Your public key is now in the database. You can use your private key to sign your JWTs during requests
@@ -56,7 +56,7 @@ Programming a bot is absolutely fine as long as it's not aggressively sending re
56- Fetch the last accepted `Block` with a GET request 56- Fetch the last accepted `Block` with a GET request
57- For more information, check our [block](@/block_docs.md) page 57- For more information, check our [block](@/block_docs.md) page
58 58
59> `Authorization`: The request header should have Bearer JWT.Token signed with student's private key 59> `Authorization`: The request header should have `Bearer JWT.Token` signed with student's private key
60 60
61## /user 61## /user
62- Looking for people to conduct business with? Everyone is listed on this page! 62- Looking for people to conduct business with? Everyone is listed on this page!
@@ -74,9 +74,9 @@ I've trained them personally using state-of-the-art neural networks running on t
74# Questions 74# Questions
75## This all sound complicated! 75## This all sound complicated!
76- I've drawn inspiration from [actual Bitcoin transactions](https://explorer.bitcoin.com/btc) and [warp](https://github.com/seanmonstar/warp/blob/master/examples/todos.rs). The system has only 3 interfaces. It's simple once you read everything over a couple of times. 76- I've drawn inspiration from [actual Bitcoin transactions](https://explorer.bitcoin.com/btc) and [warp](https://github.com/seanmonstar/warp/blob/master/examples/todos.rs). The system has only 3 interfaces. It's simple once you read everything over a couple of times.
77- Don't know where to start? Gradecoin uses RESTful API; simple `curl` commands or even your browser will work! [This website can help as well](https://curl.trillworks.com/). 77- Don't know where to start? Gradecoin uses RESTful API; simple `curl` commands or even your browser will work! [This website can help as well](https://sqqihao.github.io/trillworks.html).
78- Check out [JWT Debugger](https://jwt.io) and the corresponding [RFC](https://tools.ietf.org/html/rfc7519). 78- Check out [JWT Debugger](https://jwt.io) and the corresponding [RFC](https://tools.ietf.org/html/rfc7519).
79- Remember that you are absolutely encouraged to grab off-the-shelf implementations for every cryptography primitive you will use. You can start by finding a code snippet to generate a RSA keypair? 79- Remember that you are absolutely encouraged to grab off-the-shelf implementations for every cryptography primitive you will use. You can start by finding a code snippet to generate an RSA key pair?
80- Check out [misc](@/misc_docs.md) for everything else you might be curious about. 80- Check out [misc](@/misc_docs.md) for everything else you might be curious about.
81 81
82## How do you actually earn Gradecoin? 82## How do you actually earn Gradecoin?
@@ -89,12 +89,12 @@ I've trained them personally using state-of-the-art neural networks running on t
89Thank you! Please [let me know](mailto:yigit@ceng.metu.edu.tr) so we can solve it. 89Thank you! Please [let me know](mailto:yigit@ceng.metu.edu.tr) so we can solve it.
90 90
91## I hacked the server! 91## I hacked the server!
92That wasn't supposed to happen :( I did not place any intentional vulnerabilities to the system so if you cracked something, it was not intended. Please don't abuse it and let me know so I can patch it. 92That wasn't supposed to happen 😢. I did not place any intentional vulnerabilities to the system so if you cracked something, it was not intended. Please don't abuse it and let me know, so I can patch it.
93 93
94## I want to contribute! 94## I want to contribute!
95Thank you! The code for Gradecoin and this site are open source so you can take a look and let me know if you have any improvements, corrections, typos to point out or whatever. 95Thank you! The code for Gradecoin and this site are open source, so you can take a look and let me know if you have any improvements, corrections, typos to point out or whatever.
96Both documentation (this site) and code contributions are appreciated. 96Both documentation (this site) and code contributions are appreciated.
97[My git server](https://git.yigitsever.com/) will be somewhat ahead of the [GitHub](https://github.com/yigitsever/gradecoin) repository but I will sync them at every major milestone. 97[My git server](https://git.yigitsever.com/) will be somewhat ahead of the [GitHub](https://github.com/yigitsever/gradecoin) repository, but I will sync them at every major milestone.
98 98
99## Submission? 99## Submission?
100At the end of the _simulation_, your Gradecoin balance will be your grade. I will also expect your client for submission, programmed in either; 100At the end of the _simulation_, your Gradecoin balance will be your grade. I will also expect your client for submission, programmed in either;