Please install Polkadot JS Extension
before you start. You can get it from here https://polkadot.js.org/extension/
Please get the code from https://github.com/Apron-Network/apron-marketplace
git clone https://github.com/Apron-Network/apron-marketplace.git
Please find the correct address for services_market
a nd services_statistics
, and update the correct address in public/configAddress.js
.
window.configuration = {
market: "<services market address>",
statistics: "<services statistics address>",
basepath: "<NODE RPC>"
};
<services market address>
and <services market address>
is the contract's address after the contracts are deployed.
<NODE RPC>
is the websocket RPC provided by Node. If you run it locally, it should be ws://127.0.0.1:9944
by default.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.\
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.