Skip to content
/ Sonar Public

DEPRECATED - Decentralized Machine Learning Server (hosted on Blockchain)

License

Notifications You must be signed in to change notification settings

iamtrask/Sonar

Repository files navigation

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.

Run

docker run -d -p 9545:9545 openmined/sonar: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).

Local installation

Get the repo
git clone git@github.com:OpenMined/Sonar.git
cd Sonar
npm install
Start the development environment

Sonar uses truffle develop built in environment on http://127.0.0.1:9545. It will display the first 10 accounts and the mnemonic used to create those accounts.

npm run develop
Deploy contracts

In a new tab, compile and deploy the contracts

npm run migrate
Test
npm test

About

DEPRECATED - Decentralized Machine Learning Server (hosted on Blockchain)

Resources

License

Stars

Watchers

Forks

Packages

No packages published