Mastering Blockchain: Distributed Ledgers, Decentralization and Smart Contracts Explained