project screenshot 1
project screenshot 2
project screenshot 3

Motivational wallet

Motivational Contract - lose your fund if your self-imposed goals are not met

Motivational wallet

Created At

ETHNewYork 2022

Winner of

trophy

🆙 Tatum — Up and Coming

Project Description

A contract that reads an event from an oracle and if it sees it as failed, will send the entire contents of the wallet to an irrecoverable eth wallet. Otherwise, after a certain amount of time, it will send it back to the original wallet.

Use cases for this involve setting personal goals with money at stake.

How it's Made

It uses the Tatum SDK and Uma Oracle. The Tatum SDK made development easy by how comprehensive the library is. It was also a good learning opportunity as it is the first time I have used oracles. By generating a wallet using the API key, and having simple logic to check the oracle contract, we could combine this together for the desired result.

background image mobile

Join the mailing list

Get the latest news and updates