[Solved] Blockchain-Homework 3

$25

File Name: Blockchain-Homework_3.zip
File Size: 197.82 KB

SKU: [Solved] Blockchain-Homework 3 Category: Tag:
5/5 - (1 vote)

In this lab, you will implement the ScroogeCoin cryptocurrency. You will act as Scrooge and verify transactions sent to you by users and add them to your ledger.

A few JUnit test cases have been given to you as sanity checks on your code, but the grading will be based different test cases. You should invest time in developing your own test cases.

In this lab, you will implement a ScroogeCoin application server.

Assume the following about the server:

  1. Has the URL is https://scroogecoin.com.
  2. Only accepts connections over HTTPS.
  3. Has a valid SSL certificate.
  4. Does not authenticate any users, include Scrooge.
  5. Scrooge is the only person in control of the server.

These assumptions enable users to trust that any response they receive from the server is authorized by Scrooge. However, because the server does not authenticate users, your implementation will need to rely on digital signatures to process transactions securely. Scrooge runs the server and then submits transactions to the server through a web browser, like any other user.

Implement the following methods per the comments in the DefaultScroogeServer.java class file.

DefaultScroogeServer.init(KeyPair)

DefaultScroogeServer.epochHandler(List<Transaction>)

DefaultScroogeServer.isValid(Transaction)

DefaultScroogeServer.getUTXOs()

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Blockchain-Homework 3
$25