Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Introducing Blockchain with Java

56,99 €

Sofort verfügbar, Lieferzeit: Sofort lieferbar

Format auswählen
Produkt Anzahl: Gib den gewünschten Wert ein oder benutze die Schaltflächen um die Anzahl zu erhöhen oder zu reduzieren.

Introducing Blockchain with Java, Apress
Program, Implement, and Extend Blockchains with Java
Von Spiro Buzharovski, im heise Shop in digitaler Fassung erhältlich

Produktinformationen "Introducing Blockchain with Java"

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 SQLSPIRO BUZHAROVSKI is a full-stack software developer in the IT sector. He has a degree in mechanical engineering and has worked as an engineer in the oil and gas sector for more than six years. His interests include Java frameworks, blockchain, and the latest high-tech trends. Inspiration for this book came while working as a technical reviewer on the Apress book by Boro Sitnikovski, Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language.

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.java

Summary . . . . . . . . . . . . . . . . .

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.java

Summary . . . . . . . . . . . . . . . . .

6. Network Handlers – Networking Layer. . . . . .

6.1. UI Thread

6.2. Peer Client Thread

6.3. Peer Server Handler – Multithreading requests 6.3.1 Peer Request Thread

6.4. Mining Thread

Summary . . . . . . . . . . . . . . . . .

Artikel-Details

Anbieter:
Apress
Autor:
Spiro Buzharovski
Artikelnummer:
9781484279274
Veröffentlicht:
23.02.22
Seitenanzahl:
173