Giter VIP home page Giter VIP logo

poco's Introduction

Build Status

Introduction to PoCo

PoCo Series #1 — About Trust and Agents Incentives

PoCo Series #2 — On the use of staking to prevent attacks

PoCo Series #3 — PoCo protocole update

PoCo Series #4 — Enclaves and Trusted Executions

PoCo Series #5 — Open decentralized brokering on the iExec platform

PoCo UML

Documentation

how to build

npm install
./node_modules/.bin/truffle compile

how to migrate

choice 1 :prepare ethereumjs simu

start ganache with

./ganache-custom

You must see someting like this at the end of the log

Listening on localhost:8545

choice 2 : prepare Local geth node

Pull the the following docker image

docker pull iexechub/iexec-geth-local

start container

docker run -d --name iexec-geth-local --entrypoint=./startupGeth.sh -p 8545:8545 iexechub/iexec-geth-local

wait to see in logs the word : LOCAL_GETH_WELL_INITIALIZED :

docker logs -f iexec-geth-local

Your local geth network is ready, you can launch your truffle action

choice 1 or 2 then : it will deploy smart contracts according to the 2_deploy_contracts.js content.

./node_modules/.bin/truffle migrate

how to test

choice 1 or 2 then launch one test :

./node_modules/.bin/truffle test test/000_fullchain.js

choice 1 or 2 then launch ALL tests :

./node_modules/.bin/truffle test

poco's People

Contributors

amxx avatar pierrejeanjacquot avatar sulliwane avatar

Stargazers

 avatar

Watchers

 avatar  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.