Understand Bitcoin, Ethereum and other cryptocurrencies. How a wallets sign transaction and how blocks are created