@gnosis.pm/pm-js

2.2.0 • Public • Published

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>

Package Sidebar

Install

npm i @gnosis.pm/pm-js

Weekly Downloads

1

Version

2.2.0

License

MIT

Unpacked Size

9.4 MB

Total Files

40

Last publish

Collaborators

  • giacomo.licari