Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Web3 - Week 0

For this assignment, you would be creating a your own blockchain in JS! While the actual blockchains are decentralised and there is a lot at play, for starting off, we will be creating a simple blockchain that allows addition of new blocks and new transactions!

In the subsequent weeks, we will be building on top of this to add more features!

### How to do the assignment

- You need to complete the functions in the `/src` folder that have been left blank. Comments are placed everywhere so as to guide you.
- Get started by running `npm i` on your terminal to install all the dependencies.
- Run `npm run test` to run the automated testing suite to evaluate the correctness of your code.
- Submit a `PR` to the original repository to get evaluated!
# Web3 - Week 0
For this assignment, you would be creating a your own blockchain in JS! While the actual blockchains are decentralised and there is a lot at play, for starting off, we will be creating a simple blockchain that allows addition of new blocks and new transactions!
In the subsequent weeks, we will be building on top of this to add more features!
### How to do the assignment
- You need to complete the functions in the `/src` folder that have been left blank. Comments are placed everywhere so as to guide you.
- Get started by running `npm i` on your terminal to install all the dependencies.
- Run `npm run test` to run the automated testing suite to evaluate the correctness of your code.
- Submit a `PR` to the original repository to get evaluated!
7 changes: 7 additions & 0 deletions blockchain - Copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"hash": "0",
"previousHash": null,
"transactions": null
}
]
3 changes: 2 additions & 1 deletion blockchain.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[
{
"hash": "0",
"previousHash": null
"previousHash": null,
"transactions": null
}
]
2 changes: 1 addition & 1 deletion jest-html-reporters-attach/index/result.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions jest-html-reporters-attach/test/index.js

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"reporters": [
"default",
[
"jest-html-reporters",
{
"filename": "index.html",
"pageTitle": "Web 3 - Week 0",
"openReport": true,
"hideIcon": true
}
]
]
}
{
"reporters": [
"default",
[
"jest-html-reporters",
{
"filename": "index.html",
"pageTitle": "Web 3 - Week 0",
"openReport": true,
"hideIcon": true
}
]
]
}
Loading