This is the first lesson in the blockchain development class. This repo goes over basic mining examples, setting up a small blockchain example, and hashing.
-
nodemon
-
crypto-js
npm install
npm run dev-test
- Immutablitly
- 'computationally impractical to reverse' -Satoshi Nakamoto Whitepaper
- the blockchain ledger's property of unalterablility
- Hash Function
- take an input of an arbitrary length and outputs a fixed length
- possibility of collision (see birthday problem https://en.wikipedia.org/wiki/Birthday_problem )
- Genesis Block
- the first block in a blockchain
- Static hard coded block
- How to time-stamp a digital doc: https://www.anf.es/pdf/Haber_Stornetta.pdf
- Bitcoin whitepaper: https://bitcoin.org/bitcoin.pdf
- Blockchain demo, block: https://anders.com/blockchain/block
- Blockchain demo, blockchain: https://anders.com/blockchain/blockchain