itcoin and Ethereum provide a decentralized means of handling money, contracts, and ownership tokens. From a technical perspective, they have a lot of moving parts and provide a good way to demo a programming language.
This article will develop a simple blockchain-like data structure, to demonstrate these in Haskell:
- Writing a binary serializer and deserializer
- Using cryptographic primitives to calculate hashes
- Automatically adjusting the difficulty of a miner in response to computation time.
We’ll name it Haskoin. Note that it won’t have any networking or wallet security until a future article.
币安是全球领先的数字货币交易平台，提供比特币、以太坊、BNB 以及 USDT 交易。