diff options
author | Yigit Sever | 2023-05-13 16:19:49 +0300 |
---|---|---|
committer | Yigit Sever | 2023-05-13 16:19:49 +0300 |
commit | 91c3267f8186f302c4ad58b5a149f63eb36fa85c (patch) | |
tree | 9849567addd4ca74f90b3f3b1fc0de8154afec63 | |
parent | 862aa836c38211ba1cd28e08141520c0853dfbea (diff) | |
download | gradecoin-site-91c3267f8186f302c4ad58b5a149f63eb36fa85c.tar.gz gradecoin-site-91c3267f8186f302c4ad58b5a149f63eb36fa85c.tar.bz2 gradecoin-site-91c3267f8186f302c4ad58b5a149f63eb36fa85c.zip |
Prepare for 2022s testnet
-rw-r--r-- | content/_index.md | 19 | ||||
-rw-r--r-- | content/block_docs.md | 4 | ||||
-rw-r--r-- | templates/index.html | 4 |
3 files changed, 8 insertions, 19 deletions
diff --git a/content/_index.md b/content/_index.md index 8fdc345..733fcbd 100644 --- a/content/_index.md +++ b/content/_index.md | |||
@@ -4,10 +4,10 @@ sort_by = "weight" | |||
4 | +++ | 4 | +++ |
5 | 5 | ||
6 | # Welcome to Gradecoin! | 6 | # Welcome to Gradecoin! |
7 | Blockchains are incredibly simple but they can seem very complicated. | 7 | Blockchains are incredibly simple, but they can seem very complicated. |
8 | We will see how they work and practice programming _production grade_ cryptography code. | 8 | We will see how they work and practice programming _production grade_ cryptography code. |
9 | 9 | ||
10 | This server is the sandbox for PA1 and it iss currently running the Gradecoin application. | 10 | This server is the sandbox for PA1 and it is currently running the Gradecoin application. |
11 | Gradecoin is the faux currency we will use to simulate a blockchain network. | 11 | Gradecoin 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 | ||
@@ -16,18 +16,11 @@ Craft [Transaction](@/transaction_docs.md) proposals and tag them using [JWTs](@ | |||
16 | When there are enough transactions then you can propose [Blocks](@/block_docs.md). | 16 | When there are enough transactions then you can propose [Blocks](@/block_docs.md). |
17 | Blocks need to be _mined_ beforehand using Proof-of-work a.k.a. brute force. | 17 | Blocks need to be _mined_ beforehand using Proof-of-work a.k.a. brute force. |
18 | 18 | ||
19 | Gradecoin offers 3 endpoints at [/register](/register), [/block](/block) and [/transaction](/transaction). You can only send GET requests to /block and /transaction without authorization. | ||
20 | The server is programmed in [RESTful](https://www.service-architecture.com/articles/web-services/representational_state_transfer_rest.html) architecture, there are no `DELETE`, `PUT` or `UPDATE` operations, though. | ||
21 | |||
22 | Gradecoin uses a Proof-of-work block accepting mechanism. It uses single round [Blake2s](https://www.blake2.net/) hashing which produces 256-bit (64 hexadecimal characters) output. The [target](https://wiki.bitcoinsv.io/index.php/Target) hash is _24 bits_ or _6 hexadecimal characters_ of 0. | 19 | Gradecoin uses a Proof-of-work block accepting mechanism. It uses single round [Blake2s](https://www.blake2.net/) hashing which produces 256-bit (64 hexadecimal characters) output. The [target](https://wiki.bitcoinsv.io/index.php/Target) hash is _24 bits_ or _6 hexadecimal characters_ of 0. |
23 | 20 | ||
24 | > We're expecting you to use existing tools and implementations. Standards are hard. [Don't roll your own crypto](https://www.reddit.com/r/crypto/comments/2coqsy/dont_roll_your_own/). Feel free to ask questions. Collaborate. | 21 | > We're expecting you to use existing tools and implementations. [Don't roll your own crypto](https://www.reddit.com/r/crypto/comments/2coqsy/dont_roll_your_own/). Feel free to ask questions. Collaborate. |
25 | |||
26 | You might ask, | ||
27 | |||
28 | > But if nobody has any Gradecoin then how do we have transactions? | ||
29 | 22 | ||
30 | You get rewarded for your hard work during the authentication with some Gradecoin to start with! | 23 | You need to authenticate yourself to Gradecoin to begin with, and get rewarded for your hard work with some Gradecoin to start with! |
31 | Then you can earn block rewards by proposing blocks, create some Gradecoins by generating traffic on the system, or transact with our new highly trained AI bots! | 24 | Then you can earn block rewards by proposing blocks, create some Gradecoins by generating traffic on the system, or transact with our new highly trained AI bots! |
32 | 25 | ||
33 | # Coinbase | 26 | # Coinbase |
@@ -66,7 +59,7 @@ Programming a bot is absolutely fine as long as it's not aggressively sending re | |||
66 | > `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 |
67 | 60 | ||
68 | ## /user | 61 | ## /user |
69 | - Looking for people to conduct business with? Everyone is listed here! | 62 | - Looking for people to conduct business with? Everyone is listed on this page! |
70 | 🤖👋 are bots who are very eager to transact with you. | 63 | 🤖👋 are bots who are very eager to transact with you. |
71 | I've trained them personally using state-of-the-art neural networks running on thousands of TPUs. | 64 | I've trained them personally using state-of-the-art neural networks running on thousands of TPUs. |
72 | 65 | ||
@@ -112,8 +105,8 @@ At the end of the _simulation_, your Gradecoin balance will be your grade. I wil | |||
112 | - go | 105 | - go |
113 | - perl | 106 | - perl |
114 | - python | 107 | - python |
115 | - rust | ||
116 | - random assortment of bash scripts | 108 | - random assortment of bash scripts |
109 | - rust | ||
117 | 110 | ||
118 | If your favourite programming language is missing please let me know 🤷? | 111 | If your favourite programming language is missing please let me know 🤷? |
119 | 112 | ||
diff --git a/content/block_docs.md b/content/block_docs.md index 7d4d6e5..807403c 100644 --- a/content/block_docs.md +++ b/content/block_docs.md | |||
@@ -15,10 +15,6 @@ The properties a valid hash should have will be explained in subsequent sections | |||
15 | We are _mining_ using [blake2s](https://www.blake2.net/) algorithm, which produces 256 bit hashes. | 15 | We are _mining_ using [blake2s](https://www.blake2.net/) algorithm, which produces 256 bit hashes. |
16 | Hash/second is roughly {{ exp(num="20x10", exponent="3") }} on my machine, a new block can be mined in around 4-6 minutes. | 16 | Hash/second is roughly {{ exp(num="20x10", exponent="3") }} on my machine, a new block can be mined in around 4-6 minutes. |
17 | 17 | ||
18 | {% tidbit() %} | ||
19 | We have seen blocks that came in within a minute during the testnet phase! | ||
20 | {% end %} | ||
21 | |||
22 | # Requests | 18 | # Requests |
23 | 19 | ||
24 | ## GET | 20 | ## GET |
diff --git a/templates/index.html b/templates/index.html index 9dba13b..ff20898 100644 --- a/templates/index.html +++ b/templates/index.html | |||
@@ -9,10 +9,10 @@ | |||
9 | 9 | ||
10 | <section class="text-center"> | 10 | <section class="text-center"> |
11 | <h1 class="heading-text animate__animated animate__jackInTheBox" style="font-size: 50px"> | 11 | <h1 class="heading-text animate__animated animate__jackInTheBox" style="font-size: 50px"> |
12 | Mine your own grades | 12 | mine your own grades |
13 | </h1> | 13 | </h1> |
14 | <h3 class="title-text"> | 14 | <h3 class="title-text"> |
15 | <b>Gradecoin</b> is the latest cutting edge blockchain technology agile grading framework that drives organic engagement powered by distributed neural networks and other buzzwords, with big data mining search engine optimization (now supports NFTs) | 15 | <b>Gradecoin</b> is the latest cutting edge blockchain technology agile grading framework that drives organic engagement powered by distributed neural networks, LLMs, and other buzzwords, with big data mining search engine optimization |
16 | </h3> | 16 | </h3> |
17 | <div> | 17 | <div> |
18 | </div> | 18 | </div> |