Polkamarkets for Developers

Use the free and open source Polkamarkets codebase for your own purposes.

The Polkamarkets Labs teams will support you.

Web app

Build your own Prediction Market DEX

Deploy all of Polkamarkets Protocol as-is, or customise it as needed.

With Polkamarkets you can:

Integrate prediction markets into your dApps using the Polkamarkets JS SDK.

Deploy your own decentralized prediction marketplaces using the entire code base.

Create custom prediction markets products using bits and pieces from the codebase.

Integrate prediction markets in your dApps

Easily integrate Polkamarkets prediction markets into your dApps with the Polkamarkets JS SDK.

Learn more
import * as polkamarketsjs from 'polkamarkets-js';

// Moonriver RPC
const web3Provider = 'https://rpc.moonriver.moonbeam.network';

const polkamarkets = new polkamarketsjs.Application({ web3Provider });

// Starting application

// Connecting wallet
await polkamarkets.login();

Extend Polkamarkets with its Partners

Leverage Partner technologies to extend the Polkamarkets Protocol and tailor it to your specific needs. Develop and integrate features like automated market resolution, KYC, compliance, dispute courts, and more, using technology from Polkamarkets Partners.

Contribute to the Polkamarkets Protocol

Report issues, suggest improvements, discuss ideas, create pull requests, and create new tools for the community. The Polkamarkets Protocol is free and open-source software and is hosted on GitHub.

Discord server chats

Technology Toolkit

Polkamarkets Smart Contracts

The Polkamarkets Smart Contracts cover the prediction markets mechanism, the resolution mechanism, and the automated achievements mechanism that rewards activity with NFTs.

Read the docs

Polkamarkets JS

Use the SDK to integrate the Protocol into your app. Your users can use Metamask and other web3.js-compatible wallets to implement all the Polkamarkets' features, right on your site.

Read the docs
Polkamarkets JS

Polkamarkets RPC

The Polkamarkets RPC queries and indexes blockchain data from any EVM.

Read the docs

Polkamarkets Data API

The Polkamarkets Data API caches blockchain data to make the Web API more resilient and performant, and allows you to run analytical queries on your Polkamarkets deployments.

Read the docs

Polkamarkets Web App

Clone or fork the Polkamarkets Web App, adapt it to your needs, and deploy your Prediction DEX UI. Your UI will need to connect to an API.

Read the docs
Polkamarkets Wep App

Stay in the loop

Subscribe to the newsletter to hear about Polkamarkets updates and events.


Polkamarkets Services and POLK Token (POLK) are not available in Excluded Jurisdictions