Polkamarkets is an Autonomous Prediction Market Protocol built for multi-chain information exchange and trading, based on Polkadot.
Our web interface is built with React.
The backend and Ethereum integrations are being developed through polkamarkets-js package. You can have a look on our smart contract here.
We're currently running on Moonbeam and Moonriver. You can access it at https://app.polkamarkets.com
- Required software
- Installing the app
git clone https://github.com/Polkamarkets/polkamarkets-web.git
cd polkamarkets-web
yarn install
- Required environment variables
- At the project root create a
.envfile - Copy the contents of
.env.example(it has all the required env variables needed for the project)
- Running the app
- Type
yarn startto start the local server - Open
http://localhost:3000/in your browser
- Clean up cache
yarn cache clean- Try again
Shorthand commands:
yarn cache clean && yarn storybook
- Clean up
node_modules
rm -rf node_modules- Install dependencies
yarn install- Install
react-scriptsto dedupe
yarn add react-scripts@^4.0.3- Try again
Shorthand commands:
rm -rf node_modules && yarn install && yarn add react-scripts@^4.0.3