Gnosis Developer Portal Conditional Tokens

Gnosis Developer Portal Conditional Tokens

  • Introduction
  • Use Case
  • Documentation
  • Tutorials
  • Support

›How to set up a prediction market in 30min

How to set up a prediction market in 30min

  • Introduction
  • Prediction Market use case
  • Setting up the development environment
  • Preparing a condition
  • Tying in the market maker
  • Enabling trading
  • Resolving the market
  • Redeeming positions

Introduction

This tutorial will teach you how to set up a binary prediction market with the conditional token framework.

This tutorial is meant for those with a basic knowledge of Ethereum and Solidity. Furthermore, you should have some basic knowledge in React, TypeScript, Truffle and Ganache.

Before you get started you should have read the conditional token and prediction market introduction.

In this Tutorial we will cover:

  • Prediction Market Use Case
  • Prepare a condition
  • Tie in the market maker
  • Enable trading
  • Resolve Market
  • Redeem positions

During this Tutorial we will guide you through setting up a prediction market. It will serve as an example to make you familiar with the different terms. You can use to build any other predicition market use case e.g. a prediction market for political events, price forecasting etc.

Prediction Market use case →
Gnosis Ltd.
ImprintCopyright
© 2020 Gnosis LTD
Privacy Policy
Copyright © 2025 Gnosis LTD