Home Page Icon
Home Page
Table of Contents for
Appendix: Application Checklist
Close
Appendix: Application Checklist
by Ishan Roy
Blockchain Development for Finance Projects
Title Page
Copyright and Credits
Blockchain Development for Finance Projects
About Packt
Why subscribe?
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: Blockchain Payments and Remittances
Blockchain in Financial Services
Present-day banking and finance systems
Understanding blockchain technology
Blockchains for financial services
How to approach implementing a blockchain solution
Implementation strategies 
Popular distributed ledger platforms for financial applications
Ethereum 
Hyperledger Fabric
Stellar
Summary
Building a Blockchain Wallet for Fungible and Non-Fungible Assets
Technical requirements
Understanding ERC20 and ERC721 smart contract standards
Writing the smart contract code 
Creating the ERC20 Token contract
Creating the ERC721 Token contract
Migrating the smart contract code using Truffle
Creating the token wallet frontend using ReactJS
Setting up the React app
Adding token interfaces to our app
App components
Container.js
App.js
Running our app
Connecting to the main Ethereum network
Summary
Designing a Payment Gateway for Online Merchants
Technical requirements
Defining our blockchain payment ecosystem
Generating dynamic merchant addresses using HD wallets
Creating an e-commerce website and payment gateway
Shoes.js
Container.js
Writing the App.js file and declaring the methods 
newPayment()
PaymentWait()
MMaskTransfer()
startTimer()
tick()
bCheck() – running a persistent balance check 
Using the componentDidMount() method to map the Shoes array
render()
Running the gateway app
Creating an API for generating dynamic payment addresses
Building the merchant HD wallet 
App.js
Constructor()
componentDidMount()
render()
getAccountTransactions()
Running the payment ecosystem
Summary
Corporate Remittances and Settlement
Technical requirements
Understanding the blockchain corporate remittance application and network layout
Setting up the Hyperledger Fabric Bankchain network
Creating the crypto-config file
Creating the configtx file
Creating the docker-compose files
Launching the network
Creating blockchain identities for the banks
Creating the admin user
Creating a utility to enroll the admin user
Changes for Bank B
Running the utility
Creating the bank users
Creating a utility to register users
Changes for the Bank B utility
Running the utilities
Building the corporate remittance contract
Writing the corporate remittance contract
Deploying the corprem smart contract
Setting up the IPFS network
Downloading the binary and installing IPFS
Initializing the IPFS nodes
Generating a key file for the network
Configuring the nodes
Bootstrapping the nodes
Starting the nodes and testing the network
Setting up the bank databases
Installing postgresql 
Creating the bank databases
Creating the database relations
Inserting test customer data into the customers table
Building the bank backend servers 
Creating the app environment
Writing the backend server code
Creating an endpoint to fetch customer data
Creating an endpoint to post payment requests
Creating a service to get transaction details
Writing a method to publish documents to the IPFS network
Writing a method to submit transactions to the blockchain network
Writing a method to update the customer's balance
Writing a method to add transactions to the database
Changes for backend server for Bank B
Building the transaction listeners for the banks
Creating the app environment
Writing the transaction listener code
Writing the transaction listener method
Writing a method to fetch compliance documents from IPFS
Changes for transaction listener for Bank B
Creating the corporate remittance app frontend in React
Creating the React project environment
Building the container component
Building the AppLogin component
Building the Transfer component
Building the ViewTransactions component
Writing the methods in the App.js file
Writing the constructor 
Writing a method for setting the user account
Writing methods to toggle between app components
Writing methods to handle input fields
Writing a method to submit payment requests
Writing a method to fetch customer transactions
Writing a method to set the current user balance
Running the corporate remittance app
Summary
Enabling Cross-Border Remittances with Real-Time KYC/AML Verification
Technical requirements
Designing a workflow for blockchain cross-border remittance
Understanding how a payment request works
Setting up a test network
Creating user accounts
Writing the createAccount utility
Running the createAccount utility
Creating the USD asset
Creating a new asset object
Extending trustlines to receive accounts
Writing the utility
Running the utility
Funding the user accounts with USD
Writing the utilities
Running the utities
Setting up the bank domains 
Updating the hosts file
Issuing the self-signed certificates for the domains
Setting up the http server and stellar.toml file
Setting up the bank's internal databases
Setting up the federation servers
Setting up the compliance server
Setting up the bridge server
Setting up the callbacks server
Building the bank portal
Building the bank portal backend 
Building the bank portal frontend 
Creating the React project environment
Mapping the USD asset 
Writing the App.js file
Running the remittance platform
Summary 
Section 2: Blockchain Workflows Using Smart Contracts
Building a Letter of Credit Workflow Module Using Smart Contracts
Technical requirements
Understanding smart contracts and blockchain-based workflows
Scope of an LC workflow project
Setting up the LC workflow
Creating a USD token for accounting
Deploying a USD token for accounting
Creating an LC Master smart contract
Writing the contract
Creating an LC smart contract
Deploying the LC Master smart contract
Creating the LC module React app
Creating the React project environment
Setting up the contract interfaces
Building the React components
Creating the BankLogin.js component
Creating the BankTabCreate.js component
Creating the SellerTabSettle.js component
Creating the SellerTabView.js component
Creating the Container.js component
Writing the app methods and creating the App.js file
Writing the constructor() method
Using the componentDidMount method
Building the session setters
Writing the createLC method
Writing the viewLC method
Writing the viewSingleLC method
Writing the settleLC method
Running the LC module
Summary
Section 3: Securing Digital Documents and Files Using Blockchain
Building a Tamper-Proof Document Storage System
Technical requirements
Tamper-proof document storage using blockchain 
Setting up the Hyperledger Fabric network 
Bringing the first network sample online
Creating the admin and user identities
Writing and deploying the DocsApp chaincode 
Writing the DocsApp smart contract 
Deploying the DocsApp smart contract
Building the backend services
Writing the backend server
Building a method for listing files in a directory
Building a method to write a file hash to the blockchain
Building a method to write the MTH and the FTH to the blockchain
Building a method to read MTH and FTH from the blockchain
Building a function to compare the current hash signature of a file with the hash recorded in the blockchain
Writing a backend service for securing a directory by recording hashes in the blockchain
Writing a service to verify the last modified time and the file tree structure
Writing a service to inspect and identify tampered files
Creating a React frontend for the app
Creating the React project environment
Building the container component
Building the PathMapper component
Building the FolderBlock component
Building the FolderBlockChkStatus component
Writing the app methods 
Creating a method to set the timer interval
Creating a method to write the hashes to the blockchain
Creating a method to check for a mismatch between the last modified time and the file tree structure
Writing a method to check whether any files have been added or removed from the directory
Writing a method for identifying tampered files from the list of files
Running the tamper-proof application
Summary
Section 4: Decentralized Trading Exchanges Using Blockchain
Building a Decentralized Trading Exchange
Technical requirements
Decentralized trading exchanges
Basic components of a trading exchange 
Scope of the decentralized exchange project
Issuing the trading assets
Writing the contracts
Compiling the contracts 
Orderbook smart contract
Writing the contract
Migrating all the contracts to the blockchain 
Building the exchange app
Building the app 
Creating the React project environment
Setting up the contract interfaces
Writing the App.js file
Displaying the orderbook
Watching orderbook events
Initiating a buy order 
Initiating a sell order
Setting the user asset balances
Running the exchange app
Summary
Developing a Currency Trading Exchange for Market Making
Technical requirements
Introducing the distributed currency trading exchange
Building the private test Stellar network
Creating the user accounts
Writing the CreateAccount utility
Running the CreateAccount utility
Creating trading currency assets
Creating a new asset object
Extending trustlines to receiving accounts
Writing the utility
Running the utility
Transferring the assets from the issuing account
Writing the utilities
Running the utilities
Building the currency trading exchange
Creating the React project environment
Setting up the asset interfaces
Writing the App.js file
Setting the default user account
Setting the account balance
Displaying the orderbook
Displaying successful trades to the user
Buying and selling assets
Setting the active trading asset pair
Running the currency exchange
Summary
Looking into the Future
Summarizing our journey
Extending concepts to other applications
The road ahead – some additional blockchain concepts
Conclusion
Appendix: Application Checklist
Application checklist 
Design checklist  
Development checklist  
Testing checklist
Deployment checklist
Other Books You May Enjoy
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Conclusion
Next
Next Chapter
Application checklist 
Appendix: Application Checklist
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset