Git Product home page Git Product logo

sonar's Introduction

Sonar

Chat on Slack Build Status

Sonar observes all models being trained and ensures that occuppation occurs fairly. It’s a smart contract running on an Ethereum Blockchain that holds bounties and stores pointers to AI models on IPFS.

Using Docker

We prepared a Docker container of the Sonar smart contract running on a private in-memory ethereum blockchain (testrpc).

Run

docker run -d -p 8545:8545 openmined/sonar-testrpc:edge
# :edge for the latest dev build
# :latest (default) for stable builds

Everytime you restart the docker container all interactions to the chain will be reset and you will have a clean image (with nothing but the contract).

Docker creation

There are two docker files in this repository. Dockerfile creates a plain Sonar container (openmined/sonar) with the compiled contract in it. Dockerfile.testrpc creates the openmined/sonar-testrpc image with the contract pre-deployed on testrpc.

Manual setup

Install dependencies

npm install

Start testrpc

./node_modules/.bin/testrpc

Compile and deploy the contracts

npm run deploy

Make sure everything works

npm run test

sonar's People

Contributors

axelhodler avatar anoff avatar iamtrask avatar diegoalejogm avatar bendangnuksung avatar kevinahuber avatar alex-kattathra-johnson avatar carrollgt91 avatar jeamick avatar jsn5 avatar tombarratt46 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.