All Projects → gnosis → Pm Contracts

gnosis / Pm Contracts

Licence: lgpl-3.0
Collection of smart contracts for the Gnosis prediction market platform.

Programming Languages

solidity
1140 projects

Labels

Projects that are alternatives of or similar to Pm Contracts

Ethereum Lite Explorer
Alethio's Light Weight Open Source Ethereum Explorer
Stars: ✭ 141 (-4.73%)
Mutual labels:  ethereum
Ethjsonrpc
Python JSON-RPC client for the Ethereum blockchain
Stars: ✭ 142 (-4.05%)
Mutual labels:  ethereum
Ethers Rs
Complete Ethereum & Celo library and wallet implementation in Rust. https://docs.rs/ethers
Stars: ✭ 145 (-2.03%)
Mutual labels:  ethereum
Js Libs
A collection of JavaScript libraries for Ethereum dapp development.
Stars: ✭ 141 (-4.73%)
Mutual labels:  ethereum
Amp Matching Engine
Official proof decentralized exchange matching engine
Stars: ✭ 142 (-4.05%)
Mutual labels:  ethereum
Ethereum Studio
Official Ethereum Studio project repository. And IDE specially tailored to make it as simple as possible to onboard new users into the Ethereum ecosystem
Stars: ✭ 144 (-2.7%)
Mutual labels:  ethereum
Go Ethereum Code Analysis
No description or website provided.
Stars: ✭ 2,032 (+1272.97%)
Mutual labels:  ethereum
Raiden
Raiden Network
Stars: ✭ 1,825 (+1133.11%)
Mutual labels:  ethereum
Coinpusher
📈 real-time cryptocurrency chart prediction based on neuronal-networks
Stars: ✭ 141 (-4.73%)
Mutual labels:  ethereum
Bitnation Constitution
Decentralized Borderless Voluntary Nation (DBVN) Liquid Holocracy Constitution
Stars: ✭ 144 (-2.7%)
Mutual labels:  ethereum
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (-4.73%)
Mutual labels:  ethereum
Bouncer Proxy
👮🏻🛰 Ethereum identity proxy contract that bounces meta transactions of etherless accounts.
Stars: ✭ 142 (-4.05%)
Mutual labels:  ethereum
Truffle Plugin Verify
✅ Verify your smart contracts on Etherscan from the Truffle CLI
Stars: ✭ 144 (-2.7%)
Mutual labels:  ethereum
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (-4.73%)
Mutual labels:  ethereum
Nsfminer
No Fee Ethash miner for AMD and Nvidia
Stars: ✭ 141 (-4.73%)
Mutual labels:  ethereum
Uport Credentials
Library for integrating uPort into node server side applications
Stars: ✭ 140 (-5.41%)
Mutual labels:  ethereum
Coinbasepro Csharp
The unofficial .NET/C# client library for the Coinbase Pro/GDAX API
Stars: ✭ 143 (-3.38%)
Mutual labels:  ethereum
Vanity Eth
⚡ Browser-based ETH vanity address generator
Stars: ✭ 148 (+0%)
Mutual labels:  ethereum
Sablier
The protocol for real-time finance on the Ethereum blockchain
Stars: ✭ 147 (-0.68%)
Mutual labels:  ethereum
Tokens
Ethereum token definitions
Stars: ✭ 144 (-2.7%)
Mutual labels:  ethereum

Gnosis Prediction Market Contracts

Logo

Build Status

Codecov badge

Greenkeeper badge

Collection of smart contracts for the Gnosis prediction market platform (https://www.gnosis.pm). To interact with those contracts have a look at (https://github.com/gnosis/pm-js/).

Install

Install requirements with npm:

npm install @gnosis.pm/pm-contracts

Testing and Linting

Run all tests (requires Node version >=7 for async/await, and will automatically run TestRPC in the background):

npm test

Run all tests matching a regexp pattern by setting the TEST_GREP environment variable

TEST_GREP='short selling' npm test

Lint the JS

npm run lint

Compile and Deploy

These commands apply to the RPC provider running on port 8545. You may want to have TestRPC running in the background. They are really wrappers around the corresponding Truffle commands.

Compile all contracts to obtain ABI and bytecode:

npm run compile

Migrate all contracts required for the basic framework onto network associated with RPC provider:

npm run migrate

Network Artifacts

Show the deployed addresses of all contracts on all networks:

npm run networks

Command line options for truffle can be passed down through NPM by preceding the options list with --. For example:

Clean network artifacts:

npm run networks -- --clean

Network artifacts from running migrations will contain addresses of deployed contracts on the Kovan and Rinkeby testnets.

Take network info from networks.json and inject it into contract build artifacts. This is done prepublish as well.

npm run injectnetinfo

Extract all network information into networks.json.

Be aware that this will clobber networks.json, so be careful with this command:

npm run extractnetinfo

Gas Measurements

Log gas measurements into build/gas-stats.json

npm run measuregasstats

Documentation

There is a copy version hosted online at https://gnosis-pm-contracts.readthedocs.io/en/latest/

Locally build docs for readthedocs

Will install Sphinx and Solidity Domain for Sphinx:

cd docs
pip install -r requirements.txt
make html

Audits

Security and Liability

All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

License

All smart contracts are released under LGPL v.3.

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].