Skip to content
Signalling social impact using the gnosis prediction market
JavaScript Vue HTML Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
config
contracts
docs
faucet
migrations
notification-service
src
static
test
.babelrc
.dockerignore
.editorconfig
.gitignore
.postcssrc.js
Dockerfile
LICENSE
README.md
index.html
package.json
rinkeby-deployment-logs.txt
secrets.js
truffle-config.js
yarn.lock

README.md

gnosis-signalling

Use gnosis prediction market to signal social project performance. This project was developed with the help of an ECO grant provided by Gnosis. To test a working current implementation of the Android application, please contact alice@alice.si.

To develop

# install dependencies
yarn install

# compile smart contracts
truffle compile

# run ganache
ganache-cli --gasLimit 10000000 --host 0.0.0.0 --mnemonic "spoon uncle park ritual alarm journey matter water apart warrior weird soap"

# deploy MarketMakerFactory contract
truffle migrate --network local

############ IMPORTANT ############

### get address of signallingOrchestrator contract from deployment output and replace it in src/store/gnosis/contracts.js

### get address of SimpleMonitoringService from deployment output and replace it in notification-service/contracts.js and src/store/gnosis/contracts.js

###################################

# serve with hot reload at localhost:8080
yarn dev

# Note, that without notification service you will not be able to add monitoring requests in the web app
# To run monitoring and notification service in a separate terminal tab:
node notification-service/monitoring-service-provider.js

# To run eth and collateral token faucet
node faucet/server.js

Tests

truffle test --network local

To update app on GH pages

yarn build
cp -r public/ docs/

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

You can’t perform that action at this time.