Skip to content


Repository files navigation


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


  1. Required software
  1. Installing the app
git clone
cd polkamarkets-web
yarn install
  1. Required environment variables
  • At the project root create a .env file
  • Copy the contents of .env.example (it has all the required env variables needed for the project)
  1. Running the app
  • Type yarn start to start the local server
  • Open http://localhost:3000/ in your browser



Module build failed from SyntaxError

  1. Clean up cache
yarn cache clean
  1. Try again

Shorthand commands: yarn cache clean && yarn storybook

Babel loader crashing between React JS Scripts

  1. Clean up node_modules
rm -rf node_modules
  1. Install dependencies
yarn install
  1. Install react-scripts to dedupe
yarn add react-scripts@^4.0.3
  1. Try again

Shorthand commands: rm -rf node_modules && yarn install && yarn add react-scripts@^4.0.3