Content
- Compiling the Contract and Publishing it in the Network
- Installing MetaMask and Configuring Ganache Network in MetaMask
- Interaction with MetaMask and Preparing Web3.JS
- Preparing the Contract
- Querying the Contract Balance
- Adding the Order
- Receiving Payment
- Delivering the Order
- Payment Refunding
- Order Fetching
In the previous post, we prepared the contract and wrote the test codes. In this post, we will make the contract interact with UI and call the functions defined in the contract. If you haven’t read the previous post, you can reach it from the following link.