2.2.12 • Published 5 years ago

@frontier-token-research/pm-js v2.2.12

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

Gnosis Prediction Market JS Library

Logo

Build Status

Slack Status

Getting Started

See the documentation.

Really quick start

  1. Get Ganache-cli
    npm install -g ganache-cli
  2. Run this:
    ganache-cli -d -i 437894314312
  3. Clone pm-contracts, cd in there, and migrate the contracts onto the Ganache-cli instance with:
    cd path/to/pm-contracts
    npm install
    npm run migrate
  4. Download gnosis-pm.js and put it in an HTML file:
    <script src="gnosis-pm.js"></script>