https://github.com/maticnetwork/predict
Test suite, scripts for the prediction markets app on Matic.
https://github.com/maticnetwork/predict
Last synced: about 1 year ago
JSON representation
Test suite, scripts for the prediction markets app on Matic.
- Host: GitHub
- URL: https://github.com/maticnetwork/predict
- Owner: maticnetwork
- Archived: true
- Created: 2019-08-30T06:39:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T07:15:12.000Z (over 3 years ago)
- Last Synced: 2025-03-31T10:19:47.665Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.82 MB
- Stars: 5
- Watchers: 34
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prediction Markets Plasma App
### Setup
You need system-wide installations of Python 3.6, Node.js 10, [Solidity 0.5.17](https://github.com/ethereum/solidity/releases/tag/v0.5.10), yarn and npm.
```
git submodule update --init --recursive
./scripts/init.sh
cd augur/packages/augur-core
# Install dependencies by following instructions from the README in this directory
cd predicate/packages/augur-core
# Install dependencies by following instructions from the README in this directory
```
### Compile contracts and generate typescript typings
```
yarn compile
```
### Run test
```
./scripts/test.sh
```
Note: on macOS, you'll need to use [virtualenv](https://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/) or [homebrew](https://brew.sh/) Python to work around System Integrity Protection. To do this using virtualenv, run:
```bash
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
python3 -m pip install pytest
```