Created
December 18, 2019 14:02
-
-
Save ssaurel/1b4856cbc6e63396aae616b14f2dd6c3 to your computer and use it in GitHub Desktop.
Blockchain in JS for a tutorial on the SSaurel's Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Blockchain { | |
constructor(difficulty) { | |
this.difficulty = difficulty; | |
this.blocks = []; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment