Code Monkey home page Code Monkey logo

mybit-trust.tech's Introduction

MyBit Trust

CircleCI Coverage Status

The Trust Dapp allows users to leave a Trust in the form of Ether for a chosen beneficiary after a chosen amount of time, measured in Ethereum blocks. Users are able to choose the amount of Ether, the length of time and whether or not they want the trust to be revocable.

Main-net Contracts

Ropsten Contracts

Contracts

The Trust smart-contracts are created through the TrustFactory contract, when deployTrust() is called.

Setup

Install dependencies.

yarn

Testing

Bootstrap Ganache

yarn blockchain

Run tests

yarn test

✏️ All contracts are written in Solidity version 0.4.24.

Compiling

yarn compile

Code Coverage

Download solidity-coverage locally

npm install --save-dev solidity-coverage

Run solidity-coverage

./node_modules/.bin/solidity-coverage

Coverage reports can be accessed at 'coverage/index.html'

Documentation

cd docs/website
yarn build

To publish to GitHub Pages

cd docs/website
GIT_USER=<GIT_USER> \
  USE_SSH=true \
  yarn run publish-gh-pages

⚠️ Warning

This application is unstable and has not undergone any rigorous security audits. Use at your own risk.

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.