<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
Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language
✍ Scribed by Boro Sitnikovski
- Publisher
- Apress
- Year
- 2021
- Tongue
- English
- Leaves
- 151
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
✦ 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: Racket Programming Language
2.1 Introduction to Lisp
2.1.1 Data Structures and Recursion
2.1.2 Languages and Syntax
2.2 Configuration and Installation
2.3 Introduction to Racket
2.3.1 Primitive Types
2.3.2 Lists, Evaluation, and Quotes
2.3.3 Dotted Pairs
2.3.4 Adding Definitions
2.3.5 Procedures and Functions
2.3.6 Conditional Procedures
2.3.7 Recursive Procedures
2.3.8 Procedures That Return Procedures
2.3.9 General Higher-Order Procedures
2.3.10 Packages
2.3.11 Scope
2.3.12 Mutation
2.3.13 Structures
2.3.14 Threads
2.4 Creating an Executable
2.5 Summary
Chapter 3: Blockchain Implementation
3.1 The wallet.rkt File
3.2 The block.rkt File
3.2.1 Construction
3.2.2 Hashing and Verification
3.2.3 Hashcash Algorithm
3.3 The utils.rkt File
3.4 Transactions
3.4.1 The transaction-io.rkt File
3.4.2 The transaction.rkt File
3.4.2.1 Digital Signatures
3.4.2.2 Processing Transactions
3.5 The blockchain.rkt File
3.5.1 Initialization
3.5.2 Rewards
3.5.3 Adding a Transaction
3.5.4 Verification
3.6 Integrating Components
3.6.1 The main-helper.rkt File
3.6.2 The main.rkt File
3.7 Summary
Chapter 4: Extending the Blockchain
4.1 Smart Contracts Implementation
4.1.1 The smart-contracts.rkt File
4.1.2 Updating Existing Code
4.2 Peer-to-Peer Implementation
4.2.1 The peer-to-peer.rkt File
4.2.1.1 Peer Context Structure
4.2.1.2 Generic Handler
4.2.1.3 Server Implementation
4.2.1.4 Client Implementation
4.2.1.5 Integrating Parts Together
4.2.2 Updating Existing Code
4.2.3 The main-p2p.rkt File
4.3 Summary
Conclusion
Further Readings
Appendix A:
Macros
Hygienic Macros
Index
✦ Subjects
Racket, Lisp, Blockchain, Programming
📜 SIMILAR VOLUMES
<span>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.</span><p><span>Introducing Blockchain with Java</span><span> inclu
<p></p><p><span>This book introduces readers to recent advancements in financial technologies. The contents cover some of the state-of-the-art fields in financial technology, practice, and research associated with artificial intelligence, big data, and blockchain―all of which are transforming the na
Develop blockchain application with step-by-step instructions, working example and helpful recommendations Key Features Understanding the blockchain technology from the cybersecurity perspective Developing cyber security solutions with Ethereum blockchain technology Understanding r