Skip to content

Prediction market for economic and financial events. Built on Axion

Notifications You must be signed in to change notification settings

axion-labs/pascal-client-v1

 
 

Repository files navigation

Pascal Protocol Client

Trade directly on the outcome of events on chain. A community derivative tied to real-world financial and economic events.

Features

  • Fast and secure trading engine built on top of Solana
  • Ability to trade on the outcomes of financial, crypto, and economic events
  • Market buys and limit orders available for users
  • Markets arbitrated using Pyth Network
  • Stay informed with up-to-date news and data regarding the markets

Home

Creating market

Getting Started

My Tech Stack

First, run the development server:

npm run dev
# or
yarn dev

Open http:https://localhost:3000 with your browser to see the result.

To provision liquidity for new markets, you can run:

npm run marketMake [marketPk]

To maintain a non-informative distribution while still ensuring that the market is initialized/starts around 50% probability for each outcome, I use a combination of both random and uniform distributions to generate random prices using a uniform distribution, and then apply a bias to the prices so that the mean of the prices is 1.5 (50% outcome probability).

Note: market outcome probabilities might not exactly settle at 50% after all the above market making operation, so one should increase number of orders so the bias will have a cumulative effect over a larger number of orders.

MVP Demo is live on devnet at pascal.fi

To-Dos

  • Integration with Human Protocol for resolving arbitrary markets
  • Notifications and monitoring for markets
  • Passive market making algo
  • Portfolio page

About

Prediction market for economic and financial events. Built on Axion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.3%
  • CSS 2.4%
  • JavaScript 0.3%