/tontine_smart_contract

Smart contract representation of the tontine concept

Primary LanguageSolidityMIT LicenseMIT

Tontine Smart Contract

This is a smart contract version of the tontine concept

The tontine

A Tontine is a financial concept used in developing countries. It's a peer to peer saving system where each member of the circle puts in the same mount of money regularly in a common pot. The full amount of the pot is paid successively to each circle member.

The smart contract

This is a simple blockchain smart contract imitating the tontine concept. Everything is contained in the tontine.sol file. Every one can create a tontine others can subscribe to it and choose a rank to be paid. The pot payout is done automatically after each member makes the payment for a given round.

improvements:

  • Add date constraints
  • Add events
  • any suggestions

Contributing:

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Ibrahim Diop - @diopib - ibrahim@sikilabs.com

Project Link: https://github.com/diopib/tontine_smart_contract