Book Image

Blockchain Development for Finance Projects

By : Ishan Roy
Book Image

Blockchain Development for Finance Projects

By: Ishan Roy

Overview of this book

Blockchain technology will continue to play an integral role in the banking and finance sector in the coming years. It will enable enterprises to build transparent and secure business processes. Experts estimate annual savings of up to 20 billion dollars from this technology. This book will help you build financial apps using blockchain, guiding you through enhancing popular products and services in the banking and finance sector. The book starts by explaining the essential concepts of blockchain, and the impact of blockchain technology on the BFSI sector. Next, you'll delve into re-designing existing banking processes and building new financial apps using blockchain. To accomplish this, you'll work through eight blockchain projects. By demonstrating the entire process, the book helps you understand everything from setting up the environment and building frontend portals to system integration and testing apps. You will gain hands-on experience with the Ethereum, Hyperledger Fabric, and Stellar to develop private and public decentralized apps. Finally, you'll learn how to use ancillary platforms and frameworks such as IPFS, Truffle OpenZeppelin, and MetaMask. By the end of this blockchain book, you'll have an in-depth understanding of how to leverage distributed ledgers and smart contracts for financial use cases.
Table of Contents (17 chapters)
1
Section 1: Blockchain Payments and Remittances
7
Section 2: Blockchain Workflows Using Smart Contracts
9
Section 3: Securing Digital Documents and Files Using Blockchain
11
Section 4: Decentralized Trading Exchanges Using Blockchain
Appendix: Application Checklist

To get the most out of this book

The following is what you will need to get the most out of this book:

  • Elementary to moderate knowledge of Ethereum and Solidity
  • Elementary knowledge of Hyperledger Fabric and Stellar
  • Moderate knowledge of JavaScript and Node.js
  • Elementary knowledge of ReactJS

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the Support tab.
  3. Click on Code Downloads.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Blockchain-Development-for-Finance-Projects. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Now, let's create a simple wallet app in react.js to manage tokens."

A block of code is set as follows:

import "openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol";
import "openzeppelin-solidity/contracts/token/ERC20/ERC20Capped.sol";
import "openzeppelin-solidity/contracts/ownership/Ownable.sol";

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

const HDWalletProvider = require('truffle-hdwallet-provider');

module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*",
}
prod: {
host: "<Live geth host IP>",
port: 8545,
network_id: "1",
}
},
compilers: {
solc: {
version: "0.5.2",
settings: {
optimizer" {
enabled: false,
runs: 1000,
},
}}}}}

Any command-line input or output is written as follows:

truffle console

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on the GreenGables Bank button to log in as a bank user."

Warnings or important notes appear like this.
Tips and tricks appear like this.