GithubHelp home page GithubHelp logo

csxqli / godchildcontract Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jo-tud/godchildcontract

0.0 2.0 0.0 5 KB

An ethereum contract for sponsoring a godchild

HTML 25.44% JavaScript 56.67% CSS 17.89%

godchildcontract's Introduction

Godchild Contract

Godchild is an ethereum contract for sponsoring a godchild. The child is given a paper wallet as a gift. What I like about this contract is that it is really long-term. Payout is only possible after 18 years. It shows optimism and trust in ethereum to create such a contract.

This is work in progress - do not use it, yet!

Rationale

Usually, when a child is baptized the godparent will give a present to the baby. Since babies usually don't care much for presents, the gift often is money or a savings account. When the kid grows up it can then benefit (e.g. when turning 18).

Considerations

  • All is public - is that desirable for a contract like that?
  • What happens if the child looses access to her/his account before payout day?
  • Anyone can send funds to the contract at anytime
  • There should be an option for the godparent to get back the money 5 or 10 years after the payout date.
  • Should there be an option for emergency payout even before the set payout date?
  • The legacy message left by the godparent could be encrypted using the public key of the child account (see https://bitcointalk.org/index.php?topic=627927.0 ). So they are not visible for anyone else looking at the contract on the blockchain. Of course - if the beneficiary wanted to she/he could look at the message anytime. Any ideas for making this trustless?
  • There is no interest rate - we can only hope in 18 years ethereum is worth more than now...

godchildcontract's People

Contributors

jo-tud avatar

Watchers

James Cloos avatar Xiaoqi Li 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.