Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Blockchain Development for Finance Projects

You're reading from  Blockchain Development for Finance Projects

Product type Book
Published in Jan 2020
Publisher Packt
ISBN-13 9781838829094
Pages 530 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Ishan Roy Ishan Roy
Profile icon Ishan Roy

Table of Contents (17) Chapters

Preface 1. Section 1: Blockchain Payments and Remittances
2. Blockchain in Financial Services 3. Building a Blockchain Wallet for Fungible and Non-Fungible Assets 4. Designing a Payment Gateway for Online Merchants 5. Corporate Remittances and Settlement 6. Enabling Cross-Border Remittances with Real-Time KYC/AML Verification 7. Section 2: Blockchain Workflows Using Smart Contracts
8. Building a Letter of Credit Workflow Module Using Smart Contracts 9. Section 3: Securing Digital Documents and Files Using Blockchain
10. Building a Tamper-Proof Document Storage System 11. Section 4: Decentralized Trading Exchanges Using Blockchain
12. Building a Decentralized Trading Exchange 13. Developing a Currency Trading Exchange for Market Making 14. Looking into the Future 15. Other Books You May Enjoy Appendix: Application Checklist

Running the payment ecosystem

Let's run our entire payment ecosystem:

  1. We'll start by initializing a local Ganache instance, as shown here. This will serve as the test blockchain for the payment ecosystem:
  1. Now, let's bring our components online. First, start the e-commerce portal and payment gateway app, navigate to the app directory, and enter npm start, as shown here:

By default, my React app runs on port 3000:

  1. Now, open the browser and open the app home page on localhost:3000, as shown here:

You should be able to see the app running and the landing page.

  1. Next, we run our Node.js server that extends the MAddress API service for address generation. Navigate to the app directory and run node MAddress.

You'll notice in the following screenshot that the app generates a mnemonic on the first run. Keep this handy. We'll need it for our merchant wallet...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}