diff options
Diffstat (limited to 'site/public/index.html')
| -rw-r--r-- | site/public/index.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/site/public/index.html b/site/public/index.html index 05a37a0..4d9610d 100644 --- a/site/public/index.html +++ b/site/public/index.html | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | <link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet"> | 24 | <link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet"> |
| 25 | <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet"> | 25 | <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet"> |
| 26 | <link rel="stylesheet" href="/normalize.css"> | 26 | <link rel="stylesheet" href="/normalize.css"> |
| 27 | <link rel="stylesheet" href="http://localhost:8080/juice.css"> | 27 | <link rel="stylesheet" href="https://gradecoin.xyz/juice.css"> |
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | </head> | 30 | </head> |
| @@ -35,22 +35,22 @@ | |||
| 35 | <header class="pos-absolute" style="background-color: transparent"> | 35 | <header class="pos-absolute" style="background-color: transparent"> |
| 36 | 36 | ||
| 37 | 37 | ||
| 38 | <a href="http://localhost:8080/"> | 38 | <a href="https://gradecoin.xyz/"> |
| 39 | <div class="logo"> | 39 | <div class="logo"> |
| 40 | <img src="http://localhost:8080/gradecoin.png" alt="logo"> | 40 | <img src="https://gradecoin.xyz/gradecoin.png" alt="logo"> |
| 41 | Gradecoin | 41 | Gradecoin |
| 42 | </div> | 42 | </div> |
| 43 | </a> | 43 | </a> |
| 44 | 44 | ||
| 45 | <nav> | 45 | <nav> |
| 46 | 46 | ||
| 47 | <a class="nav-item subtitle-text" href="http://localhost:8080/block-docs/">Blocks</a> | 47 | <a class="nav-item subtitle-text" href="https://gradecoin.xyz/block-docs/">Blocks</a> |
| 48 | 48 | ||
| 49 | <a class="nav-item subtitle-text" href="http://localhost:8080/transaction-docs/">Transactions</a> | 49 | <a class="nav-item subtitle-text" href="https://gradecoin.xyz/transaction-docs/">Transactions</a> |
| 50 | 50 | ||
| 51 | <a class="nav-item subtitle-text" href="http://localhost:8080/register-docs/">Register</a> | 51 | <a class="nav-item subtitle-text" href="https://gradecoin.xyz/register-docs/">Register</a> |
| 52 | 52 | ||
| 53 | <a class="nav-item subtitle-text" href="http://localhost:8080/jwt/">JWT</a> | 53 | <a class="nav-item subtitle-text" href="https://gradecoin.xyz/jwt/">JWT</a> |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | 56 | ||
| @@ -73,7 +73,7 @@ | |||
| 73 | <div> | 73 | <div> |
| 74 | </div> | 74 | </div> |
| 75 | </section> | 75 | </section> |
| 76 | <img class="hero-image" style="width: 45%" src="http://localhost:8080/gradecoin.png"> | 76 | <img class="hero-image" style="width: 45%" src="https://gradecoin.xyz/gradecoin.png"> |
| 77 | 77 | ||
| 78 | <div class="explore-more text" | 78 | <div class="explore-more text" |
| 79 | onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})"> | 79 | onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})"> |
| @@ -115,66 +115,66 @@ footer { | |||
| 115 | <div class="toc-sticky"> | 115 | <div class="toc-sticky"> |
| 116 | 116 | ||
| 117 | <div class="toc-item"> | 117 | <div class="toc-item"> |
| 118 | <a class="subtext" href="http://localhost:8080/#welcome-to-gradecoin">Welcome to Gradecoin!</a> | 118 | <a class="subtext" href="https://gradecoin.xyz/#welcome-to-gradecoin">Welcome to Gradecoin!</a> |
| 119 | </div> | 119 | </div> |
| 120 | 120 | ||
| 121 | 121 | ||
| 122 | <div class="toc-item"> | 122 | <div class="toc-item"> |
| 123 | <a class="subtext" href="http://localhost:8080/#coinbase">Coinbase</a> | 123 | <a class="subtext" href="https://gradecoin.xyz/#coinbase">Coinbase</a> |
| 124 | </div> | 124 | </div> |
| 125 | 125 | ||
| 126 | 126 | ||
| 127 | <div class="toc-item"> | 127 | <div class="toc-item"> |
| 128 | <a class="subtext" href="http://localhost:8080/#public-key-signatures">Public Key Signatures</a> | 128 | <a class="subtext" href="https://gradecoin.xyz/#public-key-signatures">Public Key Signatures</a> |
| 129 | </div> | 129 | </div> |
| 130 | 130 | ||
| 131 | 131 | ||
| 132 | <div class="toc-item"> | 132 | <div class="toc-item"> |
| 133 | <a class="subtext" href="http://localhost:8080/#services">Services</a> | 133 | <a class="subtext" href="https://gradecoin.xyz/#services">Services</a> |
| 134 | </div> | 134 | </div> |
| 135 | 135 | ||
| 136 | 136 | ||
| 137 | <div class="toc-item-child"> | 137 | <div class="toc-item-child"> |
| 138 | <a class="subtext" href="http://localhost:8080/#register"><small>- /register</small></a> | 138 | <a class="subtext" href="https://gradecoin.xyz/#register"><small>- /register</small></a> |
| 139 | </div> | 139 | </div> |
| 140 | 140 | ||
| 141 | <div class="toc-item-child"> | 141 | <div class="toc-item-child"> |
| 142 | <a class="subtext" href="http://localhost:8080/#transaction"><small>- /transaction</small></a> | 142 | <a class="subtext" href="https://gradecoin.xyz/#transaction"><small>- /transaction</small></a> |
| 143 | </div> | 143 | </div> |
| 144 | 144 | ||
| 145 | <div class="toc-item-child"> | 145 | <div class="toc-item-child"> |
| 146 | <a class="subtext" href="http://localhost:8080/#block"><small>- /block</small></a> | 146 | <a class="subtext" href="https://gradecoin.xyz/#block"><small>- /block</small></a> |
| 147 | </div> | 147 | </div> |
| 148 | 148 | ||
| 149 | 149 | ||
| 150 | 150 | ||
| 151 | <div class="toc-item"> | 151 | <div class="toc-item"> |
| 152 | <a class="subtext" href="http://localhost:8080/#questions">Questions</a> | 152 | <a class="subtext" href="https://gradecoin.xyz/#questions">Questions</a> |
| 153 | </div> | 153 | </div> |
| 154 | 154 | ||
| 155 | 155 | ||
| 156 | <div class="toc-item-child"> | 156 | <div class="toc-item-child"> |
| 157 | <a class="subtext" href="http://localhost:8080/#this-all-sound-complicated"><small>- This all sound complicated!</small></a> | 157 | <a class="subtext" href="https://gradecoin.xyz/#this-all-sound-complicated"><small>- This all sound complicated!</small></a> |
| 158 | </div> | 158 | </div> |
| 159 | 159 | ||
| 160 | <div class="toc-item-child"> | 160 | <div class="toc-item-child"> |
| 161 | <a class="subtext" href="http://localhost:8080/#i-found-a-bug"><small>- I found a bug!</small></a> | 161 | <a class="subtext" href="https://gradecoin.xyz/#i-found-a-bug"><small>- I found a bug!</small></a> |
| 162 | </div> | 162 | </div> |
| 163 | 163 | ||
| 164 | <div class="toc-item-child"> | 164 | <div class="toc-item-child"> |
| 165 | <a class="subtext" href="http://localhost:8080/#i-hacked-the-server"><small>- I hacked the server!</small></a> | 165 | <a class="subtext" href="https://gradecoin.xyz/#i-hacked-the-server"><small>- I hacked the server!</small></a> |
| 166 | </div> | 166 | </div> |
| 167 | 167 | ||
| 168 | <div class="toc-item-child"> | 168 | <div class="toc-item-child"> |
| 169 | <a class="subtext" href="http://localhost:8080/#submission"><small>- Submission?</small></a> | 169 | <a class="subtext" href="https://gradecoin.xyz/#submission"><small>- Submission?</small></a> |
| 170 | </div> | 170 | </div> |
| 171 | 171 | ||
| 172 | <div class="toc-item-child"> | 172 | <div class="toc-item-child"> |
| 173 | <a class="subtext" href="http://localhost:8080/#can-my-friends-play"><small>- Can my friends play?</small></a> | 173 | <a class="subtext" href="https://gradecoin.xyz/#can-my-friends-play"><small>- Can my friends play?</small></a> |
| 174 | </div> | 174 | </div> |
| 175 | 175 | ||
| 176 | <div class="toc-item-child"> | 176 | <div class="toc-item-child"> |
| 177 | <a class="subtext" href="http://localhost:8080/#how-and-or-why"><small>- How and or Why?</small></a> | 177 | <a class="subtext" href="https://gradecoin.xyz/#how-and-or-why"><small>- How and or Why?</small></a> |
| 178 | </div> | 178 | </div> |
| 179 | 179 | ||
| 180 | 180 | ||
| @@ -191,8 +191,8 @@ footer { | |||
| 191 | <p>Blockchains are incredibly simple yet can appear very complicated, we will see how they work and practice programming <em>production</em> cryptography code.</p> | 191 | <p>Blockchains are incredibly simple yet can appear very complicated, we will see how they work and practice programming <em>production</em> cryptography code.</p> |
| 192 | <p>This server is the sandbox for the PA1, it's currently running the Gradecoin application. Gradecoin is the faux currency we will use to simulate a blockchain network. At the end of the simulation, the amount of Gradecoin you hold will be your PA1 grade.</p> | 192 | <p>This server is the sandbox for the PA1, it's currently running the Gradecoin application. Gradecoin is the faux currency we will use to simulate a blockchain network. At the end of the simulation, the amount of Gradecoin you hold will be your PA1 grade.</p> |
| 193 | <p><strong>A quick summary</strong>: authenticate yourself to the system using public key encryption. | 193 | <p><strong>A quick summary</strong>: authenticate yourself to the system using public key encryption. |
| 194 | Craft <a href="http://localhost:8080/transaction-docs/">Transaction</a> proposals and tag them using <a href="http://localhost:8080/jwt/">JWTs</a>. | 194 | Craft <a href="https://gradecoin.xyz/transaction-docs/">Transaction</a> proposals and tag them using <a href="https://gradecoin.xyz/jwt/">JWTs</a>. |
| 195 | When there are enough transactions then you can propose <a href="http://localhost:8080/block-docs/">Blocks</a> in the same way. | 195 | When there are enough transactions then you can propose <a href="https://gradecoin.xyz/block-docs/">Blocks</a> in the same way. |
| 196 | Blocks need to be <em>mined</em> beforehand using Proof-of-work, or brute force.</p> | 196 | Blocks need to be <em>mined</em> beforehand using Proof-of-work, or brute force.</p> |
| 197 | <p>Gradecoin offers 3 endpoints at <a href="/register">/register</a>, <a href="/block">/block</a> and <a href="/transaction">/transaction</a>. You can only send GET requests to /block and /transaction without authorization. | 197 | <p>Gradecoin offers 3 endpoints at <a href="/register">/register</a>, <a href="/block">/block</a> and <a href="/transaction">/transaction</a>. You can only send GET requests to /block and /transaction without authorization. |
| 198 | The server is programmed in <a href="https://www.service-architecture.com/articles/web-services/representational_state_transfer_rest.html">RESTful</a> architecture, there are no <code>DELETE</code>, <code>PUT</code> or <code>UPDATE</code> operations, though.</p> | 198 | The server is programmed in <a href="https://www.service-architecture.com/articles/web-services/representational_state_transfer_rest.html">RESTful</a> architecture, there are no <code>DELETE</code>, <code>PUT</code> or <code>UPDATE</code> operations, though.</p> |
| @@ -265,7 +265,7 @@ The server is programmed in <a href="https://www.service-architecture.com/articl | |||
| 265 | <p>Sadly, no. Student's who are enrolled to the class will receive one-time-passwords for authentication.</p> | 265 | <p>Sadly, no. Student's who are enrolled to the class will receive one-time-passwords for authentication.</p> |
| 266 | <h2 id="how-and-or-why">How and or Why?</h2> | 266 | <h2 id="how-and-or-why">How and or Why?</h2> |
| 267 | <ul> | 267 | <ul> |
| 268 | <li><a href="https://xkcd.com/2314/">Built</a>, with <a href="https://xkcd.com/2418/">Rust</a></li> | 268 | <li><a href="https://xkcd.com/2314/">Built</a>, <a href="https://lofi.cafe/">with</a> <a href="https://xkcd.com/2418/">Rust</a></li> |
| 269 | </ul> | 269 | </ul> |
| 270 | 270 | ||
| 271 | 271 | ||
