Reader small image

You're reading from  Blockchain Development for Finance Projects

Product typeBook
Published inJan 2020
Reading LevelBeginner
PublisherPackt
ISBN-139781838829094
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Ishan Roy
Ishan Roy
author image
Ishan Roy

Ishan Roy leads the Blockchain initiative at the Centre of Excellence for Emerging Technologies (CEET) at the Tamil Nadu e-Governance Agency (TNeGA). He is currently working on the Tamil Nadu Blockchain Backbone project. His foray into blockchain began in the year 2016, at the blockchain team at ICICI Bank. This team carried out the first blockchain remittance in India. Since then he has worked as the Head of Products at HashCash Consultants where he built blockchain-enabled financial solutions for global clients. He has also mentored students and industry veterans as a blockchain trainer with Edureka. He is extremely passionate about technology and loves to keep himself abreast of new developments in the field through the community
Read more about Ishan Roy

Right arrow

Running the exchange app

Alright, so now that our exchange is complete, let's try running the app and see how it works:

  1. Make sure that your Ganache blockchain and Truffle console are online. If not, bring your Ganache blockchain online, and connect your Truffle console to the blockchain.
  2. Navigate to your Truffle project workspace, and enter truffle console in the Terminal in order to bring the console online.
  3. Enter the migrate command in order to migrate all your contracts to the Ganache test blockchain:
truffle(development)> migrate
  1. Once the contracts are deployed, note the contract address and keep them safe.
  2. Make sure that the contract address for the Gold, USD, and orderbook contracts are mapped correctly to the Gold.js, USD.js, and OrderbookABI.js contract interfaces in the exchange app code.
  3. Next, set up MetaMask to work with our project.
  4. Navigate to the main...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Blockchain Development for Finance Projects
Published in: Jan 2020Publisher: PacktISBN-13: 9781838829094

Author (1)

author image
Ishan Roy

Ishan Roy leads the Blockchain initiative at the Centre of Excellence for Emerging Technologies (CEET) at the Tamil Nadu e-Governance Agency (TNeGA). He is currently working on the Tamil Nadu Blockchain Backbone project. His foray into blockchain began in the year 2016, at the blockchain team at ICICI Bank. This team carried out the first blockchain remittance in India. Since then he has worked as the Head of Products at HashCash Consultants where he built blockchain-enabled financial solutions for global clients. He has also mentored students and industry veterans as a blockchain trainer with Edureka. He is extremely passionate about technology and loves to keep himself abreast of new developments in the field through the community
Read more about Ishan Roy