From df6fa5f322fc972b3894e720f2c406eb2d8f5f5a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 19 Apr 2021 18:21:06 +0300 Subject: Moving site to separate repo --- site/public/index.html | 362 ------------------------------------------------- 1 file changed, 362 deletions(-) delete mode 100644 site/public/index.html (limited to 'site/public/index.html') diff --git a/site/public/index.html b/site/public/index.html deleted file mode 100644 index ef988ef..0000000 --- a/site/public/index.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - Gradecoin - - - - - - - - - - - - - - - - -
- - - - - - - - -
- -
- - -
-

- Mine your own grades -

-

- Gradecoin is the latest cutting edge blockchain technology agile grading framework that drives organic engagement and other buzzwords, with big data mining search engine optimization -

-
-
-
- - -
- ⇩ Learn How ⇩ -
- - - -
- - - -
- - - - - -
- -
- - - -
- -
-
-
-
News:
-
Gradecoin is in testnet mode, API is not stable, everything might reset at any time.
-
Transactions are now unique according to their "by" field, sorry for the trouble
-
Blocks now require 5 transactions in them, during testnet phase
-
It was possible (and hilarious) to mine a new block with just 1 transaction, it is now fixed
-
-
-
-

Welcome to Gradecoin!

-

Blockchains are incredibly simple yet can appear very complicated, we will see how they work and practice programming production cryptography code.

-

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.

-

A quick summary: authenticate yourself to the system using public key encryption. -Craft Transaction proposals and tag them using JWTs. -When there are enough transactions then you can propose Blocks in the same way. -Blocks need to be mined beforehand using Proof-of-work, or brute force.

-

Gradecoin offers 3 endpoints at /register, /block and /transaction. You can only send GET requests to /block and /transaction without authorization. -The server is programmed in RESTful architecture, there are no DELETE, PUT or UPDATE operations, though.

-

Gradecoin uses a Proof-of-work block accepting mechanism. It uses single round Blake2s hashing which produces 256-bit (64 hexadecimal characters) output. The target hash is 24 bits or 6 hexadecimal characters of 0. During testing, I could mine a block on average around 4-6 minutes.

-
-

We're expecting you to use existing tools and implementations. Standards are hard. Don't roll your own crypto. Feel free to ask questions. Collaborate.

-
-

You might ask,

-
-

But if nobody has any Gradecoin then how do we have transactions?

-
-

There is a bank! Their public key is 31415926535897932384626433832795028841971693993751058209749445923 and they have some amount of Gradecoin preloaded. It's also the only account that you can send transactions requests to yourself.

-

Coinbase

-

The 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.

-

Public Key Signatures

-

Gradecoin uses 2048 bit RSA keypairs.

-

Services

-

/register

- -

/transaction

- -

/block

- -

/user

- -

Questions

-

This all sound complicated!

- -

How do you actually earn Gradecoin?

- -

I found a bug!

-

Thank you! Please let me know so we can solve it.

-

I hacked the server!

-

That 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.

-

Submission?

-

At the end of the simulation, your Gradecoin balance will be your grade. I will also expect a unique client programmed in either;

- -

If your favourite programming language is missing please let me know 🤷?

-

Can my friends play?

-

Sadly, no. Student's who are enrolled to the class will receive one-time-passwords for authentication.

-

How and or Why?

- - - -
- - - -
- - - - - - - - -- cgit v1.2.3-70-g09d2