E-Book, Englisch, 173 Seiten, eBook
Buzharovski Introducing Blockchain with Java
1. Auflage 2022
ISBN: 978-1-4842-7927-4
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Program, Implement, and Extend Blockchains with Java
E-Book, Englisch, 173 Seiten, eBook
ISBN: 978-1-4842-7927-4
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Introducing Blockchain with Java includes numerous exercises and test questions to help you solidify what you have learned as you progress through the book, and provides ideas on expanding the codebase to make it your own. You will have access to a fully-functioning repository with Java code.
Upon completing this book, you will have the knowledge necessary to program your own blockchains with Java and you will have a completed project for your portfolio.
What You Will Learn
- Know the most important theoretical concepts of the blockchain
- Code the blockchain in Java
- Create a user interface with JavaFX
- Implement SQLite DB using JDBC Driver
- Create a P2P multi-threaded app
- Create your own cryptocurrency app with full functionality
- Implement blockchain technology on a P2P network from scratch using Java, JavaFX, and SQL
Anyone with a basic level knowledge of: Java or similar object-oriented programming language, FXML or HTML or similar markup language, and SQL
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Weitere Infos & Material
1. Introduction to Blockchain . . . . . . . .1.1. Motivation and basic definitions . .1.2. Encryption . . . . . . . . . . . . . . .1.2.1. Functions . . . . . . . . . . . .1.2.2. Symmetric-key algorithm . .1.2.3. Asymmetric-key algorithm .1.3. Hashing . . . . . . . . . . . . . . . . .1.4. Smart contracts . . . . . . . . . . . .1.5. Bitcoin . . . . . . . . . . . . . . . . . .1.6. Example workflows . . . . . . . . . .Summary . . . . . . . . . . . . . . . . . . .2. Blockchain Core - Model . . . . . . . .2.1 Block.java . .2.2. Transaction.java . . . . . . . . . . . . . . .2.3. Wallet.java . . . . . . . . . . . . . . . . .Summary . . . . . . . . . . . . . . . . . 3. Database Setup. . . . . . . .3.1. SQLite Database Browser Quick Setup . 3.2. Blockchain.db 3.3. Wallet.db . . . . . . . . . . . . . . . . . .3.4 JDBC Driver for SQLite setup 3.5 Writing your App init() method. Summary . . . . . . . . . . . . . . . . . . .4. Service Layer Implementation. . . . . .4.1. BlockData.java
4 4.2. WalletData.javaSummary . . . . . . . . . . . . . . . . .5. UI – View Layer. . . . . .5.1. SceneBuilder Quick Setup 5.2. Creating Your Views 3.2.1. MainWindow.fxml . . . . . . . . . . . . . . . . 3.2.2. AddNewTransactionWindow.fxml . . . . . . . . . . . . . . . .5.3. Creating Your View Controllers 5.3.1 MainWindowController.java 5.3.1 AddNewTransactionController.javaSummary . . . . . . . . . . . . . . . . .6. Network Handlers – Networking Layer. . . . . .6.1. UI Thread 6.2. Peer Client Thread6.3. Peer Server Handler – Multithreading requests 6.3.1 Peer Request Thread6.4. Mining ThreadSummary . . . . . . . . . . . . . . . . .




