This document discusses the implementation of a blockchain in Scala. It begins with an overview of Bitcoin and the concepts of proof of work, mining, and nonce. It then shows code for implementing a basic blockchain in Scala, including a Block class with a hash and calculateHash method, and a Blockchain class to store the chain. Finally, it expands on this to include transactions in blocks and rew
![Scalaで実装してみる簡易ブロックチェーン](https://cdn-ak-scissors.b.st-hatena.com/image/square/90c0c8b5e104b1b638a4fa060dbc7330c0411dc6/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fscala-kansai-2018-blockchain-181110045818-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)