@gnosis.pm/pm-js
v2.2.0
Published
A javascript library for building applications on top of Gnosis, the Ethereum prediction market platform
Downloads
2
Maintainers
Readme
Gnosis Prediction Market JS Library
Getting Started
See the documentation.
Really quick start
- Get Ganache-cli
npm install -g ganache-cli
- Run this:
ganache-cli -d -i 437894314312
- 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
- Download
gnosis-pm.js
and put it in an HTML file:<script src="gnosis-pm.js"></script>