Code Monkey home page Code Monkey logo

defikids's Introduction

Defi Kids(Allocate)

It is a platform to teach kids how to grow their allowance through the use of de-fi tools. It's designed for kids, managed by parents.

Logo

Description

Crypto doesn't have to be complicated. The Allocate platform is designed to help you and your family learn how to comfortably use crypto in your everyday life. It's designed for kids, managed by parents.

Problem

How do you teach your children to use crypto safely and confidently.

Our solution

  • Parents create a family sandbox. They allocate funds to be used for allowance. A percentage of funds will be allocated to a staking contract in order to distribute rewards.

  • Funds automatically stream to the child creating real-time cash flow.

  • Children will have the ability to use De-Fi tools such as staking & time-locks. This introduces the concepts of savings, interest and compound interest.

  • Funds can be allocated for the purchase of future goods and services through the use of time-locks. This ensures that children have the funds they need when they need it.

  • The parent has the ability to enable full-access mode that will allow the child to withdraw funds to be used across crypto markets. By default, withdraws are sent back to the parent who can then payout the child with fiat.

How It's Made

Architecture:

  • Polygon: All contracts are on Polygon instead of L1.
  • Torus: Used for authentication.
  • Sequence: Used for authentication
  • Superfluid: Used to stream funds to children in real-time
  • Next.js for frontend
  • Truffle and Remix for Solidity development

Technologies

  • Polygon: All contracts are deployed on Polygon to reduce gas fees.
  • Web3Auth: Used as a web2 alternative to onboarding and authentication.
  • Sequence: Used as a web2 alternative to onboarding and authentication.
  • Superfluid: Handles the instant distrubution of funds and streams allowances to the children.
  • Next.js for frontend
  • Truffle and Remix for Solidity development

The staking process

  1. The child will call the USDCx contract and approve the Allocate Contract to handle their coins.
  2. The Allocate Contract:
  • Transfers their stake to a holding wallet.
  • Calculates their reward.
  • Transfers the reward to their Allocate wallet.
  • Stores their stake for the locked duration.
  1. The child can view the remaining duration at anytime
  2. The child can only withdraw their initial stake once the duration has elapsed.
  3. The reward is calculated at 5% of the initial funds times the duration.
  4. The reward is Allocate tokens.

Contracts

  • Host Contract: 0xC92A93D03cFA2b34A904fE5A48c20Aa86aE54396
  • Staking Contract: 0xfF3BcC9d56c9733bdb91604df59497C402F99D47

defikids's People

Contributors

acaldas avatar nathantarbert avatar passandscore 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.