Skip to content

MyBitFoundation/MyBit-Trust.tech

Repository files navigation

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.

About

🔷 MyBit Trust 🔒 A MyBit Network™ powered application for setting Trust Funds with Ethereum

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published