Web3 Use Cases - Smart Contracts to Reward Your Kids

Web3 Use Cases - Smart Contracts to Reward Your Kids

Parents can create a smart contract to get reward their kids if they get Straight A's


3 min read

Web3 Use Cases - Smart Contracts to Reward Your Kids

The Problem

Your son or daughter wants a new e-bike or something rather expensive. As a parent, you don’t want to spoil your kids with costly gifts they may or may not use.

But kids persist and will keep begging, persuading you to buy them that gift.

So you make a deal with your kid that if they get straight A’s, you will buy them an e-bike.

From the kid’s perspective - you get straight A’s, and your parents still don’t buy you that e-bike. They say the e-bike is too dangerous, which they may have a point, but they did break their word.

And the parents will say that we didn’t have a formal contract and we're just joking or saying it so you would concentrate on your grades.

The parents and kids could have made a contract, but who will enforce that? The parents can just disregard the agreement.

The Solution

That is where the smart contract could solve this problem.

A smart contract is code that runs on the blockchain - a decentralized, lightweight database where entries into that database can’t be edited or deleted.

A developer or a no-code program can be used to create a smart contract.

So how would this work?

  1. Imagine there is a no-code website that creates smart contracts designed to look up your kid’s grades at school
  2. You would go onto this smart contract website
  3. Create a smart contract with the following details
    1. Checks to see if your kid got straight A’s from the school’s report card website
      1. The school report card website can provide an API that you can use in the smart contract
      2. Or, if there is no API, you can enter the username/password for the report card website, and the smart contract will scrape the webpage for your kid’s grades
    2. If the kid did get straight A’s, then trigger a purchase of the e-bike using funds from the parent’s bank account or credit card
      1. The bank account or credit card number will be encrypted in the smart contract so no other party can steal it
        1. Cryptocurrencies can be used too
          1. The smart contract will have the address and amount of the cryptocurrencies needed to purchase the e-bike.
    3. The smart contract would run the day after the school’s report card is published.

Running the smart contract:

  1. The day after the school’s report card is published, the smart contract will run
  2. It will use the API or username/password to login into the school’s report card website
  3. Check your kid’s grades
  4. If your kid got straight A’s, it would use the credit card number to purchase the e-bike from the e-bike’s website.
  5. The e-bike gets delivered to your door for your kid to use

I see smart contracts having a lot of value for little things like motivating your kids to get good grades.