Skip to content
Gnosis Prediction Markets JavaScript Library
JavaScript
Branch: master
Clone or download
Latest commit 6eb697a Jan 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
dist
examples More renaming mods May 7, 2018
src
test
.babelrc
.eslintignore
.eslintrc.js
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
jsdoc-conf.json
package-lock.json
package.json
webpack.config.js

README.md

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>
You can’t perform that action at this time.