Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created December 18, 2019 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/1b4856cbc6e63396aae616b14f2dd6c3 to your computer and use it in GitHub Desktop.
Save ssaurel/1b4856cbc6e63396aae616b14f2dd6c3 to your computer and use it in GitHub Desktop.
Blockchain in JS for a tutorial on the SSaurel's Blog
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