๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Introducing Blockchain with Java: Program, Implement, and Extend Blockchains with Java

โœ Scribed by Spiro Buzharovski


Publisher
Apress
Year
2022
Tongue
English
Leaves
179
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Create your own crypto currency by implementing blockchain technology using Java. This step-by-step guide will teach you how to create a user interface using Java FX and implement SQLite DB using JDBC Driver for the blockchain.

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

Who This Book Is For
Anyone with a basic level knowledge of: Java or similar object-oriented programming language, FXML or HTML or similar markup language, and SQL

โœฆ Table of Contents


Table of Contents
About the Author
About the Technical Reviewer
Preface
Chapter 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
1.7 Summary
Chapter 2: Model: Blockchain Core
2.1 Block.java
2.2 Transaction.java
2.3 Wallet.java
2.4 Summary
Chapter 3: Database Setup
3.1 SQLite Database Browser Setup
3.2 Blockchain.db
3.3 Wallet.db
3.4 JDBC Driver forย SQLite Setup
3.5 Writing Your App init() Method
3.6 Summary
Chapter 4: Building theย UI
4.1 Scene Builder Quick Setup
4.2 Creating Your Views
4.2.1 MainWindow.fxml
4.2.2 AddNewTransactionWindow.fxml
4.3 Creating Your View Controllers
4.3.1 MainWindowController
4.3.2 AddNewTransactionController
4.4 Summary
Chapter 5: Setting Up the Network and Multithreading
5.1 UI Thread
5.2 Mining Thread
5.3 P2P Network Threads
5.3.1 PeerClient Thread
5.3.2 PeerServer Thread
5.4 PeerRequestThread
5.5 Summary
Chapter 6: Service Layer
6.1 WalletData
6.2 BlockchainData
6.2.1 Blockchain Consensus Protocol
6.3 Summary
Chapter 7: Extras
7.1 Running theย Application
7.2 Topics forย Future Improvements
7.3 Conclusion
Index


๐Ÿ“œ SIMILAR VOLUMES


Introducing Blockchain with Lisp: Implem
โœ Boro Sitnikovski ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Apress ๐ŸŒ English

<p>Implement blockchain from scratch covering all the details with Racket, a general-purpose Lisp. You'll start by exploring what a blockchain is, so you have a solid foundation for the rest of the book. You'll then be ready to learn Racket before starting on your blockchain implementation. Once you

Practical Java Programming for IoT, AI,
โœ Perry Xiao ๐Ÿ“‚ Library ๐Ÿ“… 2019 ๐Ÿ› Wiley ๐ŸŒ English

Learn practical uses for some of the hottest tech applications trending among technology professionals We are living in an era of digital revolution. On the horizon, many emerging digital technologies are being developed at a breathtaking speed. Whether we like it or not, whether we are ready or

Practical Javaยฎ Programming for IoT, AI,
โœ Perry Xiao ๐Ÿ“‚ Library ๐Ÿ“… 2019 ๐Ÿ› Wiley ๐ŸŒ English

We are living in an era of digital revolution. On the horizon, many emerging digital technologies are being developed at a breathtaking speed. Whether we like it or not, whether we are ready or not, digital technologies are going to penetrate more and more, deeper and deeper, into every aspect of ou