When I learn about a new technology, I like to dive in deep: reading articles and documentation, watching videos, and experimenting with code. Recently, I got into blockchain technology and after wrapping my head around the initial concept, I was ins...
Markdown supported · ⌘↵ to post
Sarthak Verma
Great article, but how are you able to use the
SHA256function without importing it intoblockchain.js?By doing as you instructed, I am getting this error in the console.
blockchain.js:6 Uncaught ReferenceError: SHA256 is not defined at new Block (blockchain.js:6) at new Blockchain (blockchain.js:24) at <anonymous>:1:18