WIP Web3 Marketplace demo dapp for physical (non-perishable agricultural) products that records farmers, product info (variety, region, etc) names, batches, amount, etc in the blockchain to ensure traceability and authenticity.
- React.js (frontend).
- Moralis (backend).
- Ant Design UI library.
- Polygon Mumbai testnet.
Make sure you have some accounts on polygon testnet with some matic. The app will authenticate with your Ethereum wallet.
- Add the addresses of your accounts (that has some matic for gas fees) to Purchase.js to set up the control and controller accounts.
- Install dependencies
npm install
. - Create an account on Moralis (Free one will suffice) and create a dapp server.
- Take your Moralis Dapp ServerUrl and appID and paste them in /src/index.js
- Initiate app
npm start
.
Photo Credit: Beanboat - used with permission.