Prix bas
CHF66.40
Habituellement expédié sous 5 à 7 jours ouvrés.
Demystify the blockchainand learn how to use itwith this practical guide. Start from the ground up: What is Ethereum? What is Solidity? And how are they used to create smart contracts? Then see how to implement your own blockchain, including configuring a peer-to-peer network, managing miner accounts, and more. Follow step-by-step instructions and detailed code examples to develop smart contracts and dApps. Work with cutting-edge technologies such as Bitcoin, DeFi, NFTs, and more. Welcome to the world of blockchain!
In this book, you'll learn about:
a. Blockchain Basics
You've heard the hype around Bitcoin, NFTs, and crypto mining. But how does the underlying blockchain technology work? Understand the fundamentals of the distributed ledger, and learn how to create and manage your own blockchain.
b. Application Development
Master smart contracts, from programming with Solidity to testing, debugging, deployment, and beyond. Develop decentralized applications (dApps) and expand them into a decentralized autonomous organization (DAO) by implementing a frontend with ether.js.
c. Tips from the Experts
Follow guidance from experienced blockchain programmers. Use commented code examples as templates for your projects to get started building your own blockchain and smart contracts in the real world.
Highlights include:
1) Blockchain basics and creation
2) Smart contracts and dApps
3) Development with Solidity
4) Testing, debugging, and security
5) Web APIs
6) Peer-to-peer frameworks
7) Accounts and balances
8) Transaction and block verification
9) Gas optimization
10) Decentralized finance (DeFi)
11) Non-fungible tokens (NFTs)
12) Yul and Huff contracts
Test, debug, and secure your blockchain applications
Auteur
Andreas Schütz studied computer science and has been enthusiastic about blockchain technology for more than ten years. He provides insights into blockchain technology through lectures, seminars, and online articles, catering to both professionals and laypersons. Together with Tobias Fertig, he has advised companies on how to effectively utilize blockchain technology since 2018. In addition to blockchain activities, Andreas is also involved in information security and currently works as an IT senior consultant in the field of e-government.
Texte du rabat
Demystify the blockchain-and learn how to use it-with this practical guide. Start from the ground up: What is Ethereum? What is Solidity? And how are they used to create smart contracts? Then see how to implement your own blockchain, including configuring a peer-to-peer network, managing miner accounts, and more. Follow step-by-step instructions and detailed code examples to develop smart contracts and dApps. Work with cutting-edge technologies such as Bitcoin, Uniswap, NFTs, Ripple, IOTA, and more. Welcome to the world of blockchain!
In this book, you'll learn about:
a. Blockchain Basics
You've heard the hype around Bitcoin, NFTs, and crypto mining. But how does the underlying blockchain technology work? Understand the fundamentals of the distributed ledger, and learn how to create and manage your own blockchain.
b. Application Development
Master smart contracts, from programming with Solidity to testing, debugging, deployment, and beyond. Develop decentralized applications (dApps) and expand them into a decentralized autonomous organization (DAO) by implementing a frontend with Ether.js.
c. Tips from the Experts
Follow guidance from experienced blockchain programmers. Use commented code examples as templates for your projects to get started building your own blockchain and smart contracts in the real world.
Highlights include:
1) Blockchain basics and creation
2) Smart contracts and dApps
3) Development with Solidity
4) Testing, debugging, and security
5) Web APIs
6) Peer-to-peer frameworks
7) Accounts and balances
8) Transaction and block verification
9) Gas optimization
10) Decentralized finance (DeFi)
11) Non-fungible tokens (NFTs)
12) Yul contracts
Contenu
... Foreword ... 21
... Preface ... 25
1 ... Introduction ... 29
1.1 ... What Is Blockchain? ... 29
1.2 ... History of Blockchain ... 36
1.3 ... Application of Blockchain Technology ... 47
1.4 ... Summary ... 66
2 ... The Basics: How Blockchain Works ... 69
2.1 ... Cryptography Basics ... 69
2.2 ... The Blockchain ... 81
2.3 ... Alternative Consensus Models ... 111
2.4 ... Blockchain Security ... 119
2.5 ... Summary ... 128
3 ... Ethereum: Blockchain 2.0 ... 131
3.1 ... Basics of Ethereum ... 132
3.2 ... From Blocks to Blockchain 2.0 ... 144
3.3 ... The Blockchain System 2.0 ... 152
3.4 ... Further Development of the Ethereum Platform ... 170
3.5 ... Summary ... 177
4 ... Fundamentals of Creating Your Own Blockchain ... 179
4.1 ... Transactions: The Smallest Units of a Blockchain ... 181
4.2 ... Block Header: Calculating the Block ID ... 183
4.3 ... Chaining Blocks ... 184
4.4 ... Storing the Blockchain State Persistently ... 186
4.5 ... The Genesis Block: Initializing a Blockchain ... 188
4.6 ... Pending Transactions ... 189
4.7 ... The Difficulty of a Blockchain ... 191
4.8 ... Let's Mine: The Miner Thread ... 192
4.9 ... Summary and Outlook ... 196
5 ... Implementing a Web API for the Blockchain ... 199
5.1 ... The Endpoints of the Web API ... 200
5.2 ... Deploying the Web API ... 205
5.3 ... Sending Transactions via a Web Interface ... 209
5.4 ... Implementing Your Own Block Explorer ... 212
5.5 ... Summary and Outlook ... 219
6 ... Implementing a Peer-to-Peer Network ... 221
6.1 ... Configuration of the Peer-to-Peer Framework ... 222
6.2 ... Broadcasting Transactions to the Network ... 225
6.3 ... Broadcasting Blocks to the Network ... 228
6.4 ... The Longest Chain Rule ... 229
6.5 ... Adding New Nodes to the Network ... 233
6.6 ... Summary and Outlook ... 235
7 ... Introducing Accounts and Balances ... 237
7.1 ... Rewarding Miners ... 238
7.2 ... Managing Accounts ... 241
7.3 ... Integrating Accounts ... 245
7.4 ... Integrating Accounts into the Block Explorer ... 246
7.5 ... Summary and Outlook ... 251
8 ... Implementing Verification and Optimizations ... 253
8.1 ... Signing Transactions ... 253
8.2 ... Enforcing Constraints ... 256
8.3 ... Locking and Unlocking Balances ... 258
8.4 ... Optimizing Performance via Merkle Trees ... 261
8.5 ... Optimizing Storage by Shortening the Public Keys ... 264
8.6 ... Supporting Initial Balances in the Genesis Block ... 265
8.7 ... Additional Optimizations ... 266
8.8 ... Summary and Outlook ... 267
9 ... Smart Contract Development ... 269
9.1 ... Smart Contract Basics ... 270
9.2 ... Simple Smart Contracts with Bitcoin Script ... 272
9.3 ... Advanced Smart Contracts ... 279
9.4 ... Contract-Oriented Programming ... 282
9.5 ... The Challenge of Random Number Generators ... 287
9.6 ... Trusting Off-Chain Data ... 291
9.7 ... Time Dependencies ... 292
9.8 ... Summary and Outlook ... 293
10 ... Integrated Development Environments and Frameworks ... 295
10.1 ... Integrated Development Environments ... 295
10.2 ... Contract-Oriented Frameworks ... 300
10.3 ... Summary and Outlook ... 313
11 ... An Introduction to Solidity ... 315
11.1 ... The Basics of Solidity ... 315
11.2 ... Elemen…