Let's run our entire payment ecosystem:
- We'll start by initializing a local Ganache instance, as shown here. This will serve as the test blockchain for the payment ecosystem:
- 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:
- 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.
- 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...