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.

mybit-trust.tech's People

Contributors

0xdewy avatar 0xjjpa avatar petermphillips avatar stevenjnpearce avatar yossipik avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mybit-trust.tech's Issues

Extend MyBit Trust to any ERC20 token

Introduction

To enhance the user experience of MyBit Trust (trust.mybit.io and https://trust.mybit.io/create-new) We want to extend the functionality to any ERC20 token.

Current Behaviour: Only Ether is supported
Desired Behaviour: Any ERC20 Token is supported.

Requirements

  1. Must be clear that any ERC20 token is supported
  2. Could be a dropdown to choose which token and then input value. Or you can propose a better, more scalable way to do this. Although it must be clear what token users are referring to.
  3. Another solution could be to have users manually add tokens such as in metamask, although that is not the best UX.

To Submit

  1. Comment on task with a staging URL to get approval for design and placement.
  2. Please submit a pull request with the final version once complete.

Additional information

If you have any questions, please don't hesitate to comment on the task. For faster interaction, you can reach the team at our Gitter channel.

Disclaimer

All work completed via the MyBit Decentralised Development Fund is property of the MyBit Foundation (CHE-177.186.963) and may be used, re-used, and/or distributed, re-distributed by the MyBit Foundation for financial gain. The contributor holds no warrant nor claims for any future payments resulting from monetisation schemes originating from the MyBit Foundation or any of its affiliates. Where law permits outside of open source regulations, the contributor is not permitted to distribute any work completed via the MyBit Decentralised Development Fund (DDF) for personal gain.

Add in support on MyBit Trust for any non-fungible token

Introduction

To enhance the user experience of MyBit Trust (trust.mybit.io and https://trust.mybit.io/create-new) We want to extend the functionality to any non-fungible token on the Ethereum network.

Current Behaviour: Only Ether is supported
Desired Behaviour: Any non-fungible token or cryptographic asset such as cryptokitties is supported.

Requirements

  1. Must be clear that any non-fungible token is supported
  2. Could be a dropdown to choose which token and then input value. Or you can propose a better, more scalable way to do this. Although it must be clear what token users are referring to.
  3. Another solution could be to have users manually add tokens such as in metamask, although that is not the best UX.

To Submit

  1. Comment on task with a staging URL to get approval for design and placement.
  2. Please submit a pull request with the final version once complete.

Additional information

If you have any questions, please don't hesitate to comment on the task. For faster interaction, you can reach the team at our Gitter channel.

Disclaimer

All work completed via the MyBit Decentralised Development Fund is property of the MyBit Foundation (CHE-177.186.963) and may be used, re-used, and/or distributed, re-distributed by the MyBit Foundation for financial gain. The contributor holds no warrant nor claims for any future payments resulting from monetisation schemes originating from the MyBit Foundation or any of its affiliates. Where law permits outside of open source regulations, the contributor is not permitted to distribute any work completed via the MyBit Decentralised Development Fund (DDF) for personal gain.

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.