# phas3 at ETHAmsterdam

By [phas3](https://paragraph.com/@phas3) · 2022-05-03

---

phas3 took part in the recent [ETHAmsterdam](https://amsterdam.ethglobal.com/) hackathon.

Our co-founders, Alexandra and Sarah, recruited three talented teammates through the ETH Global discord – Oliver Klingefjord [@klingfjord](https://twitter.com/klingfjord), Ashwin Konale [@konaleashwin](https://twitter.com/KonaleAshwin), and Javier Bullrich [@javierbullrich](https://twitter.com/JavierBullrich).

The team submitted a healthy habits “dApp” entry, which won three prizes – Best Overall Project Built with [Tatum.io](https://tatum.io/), and two honourable mentions by [WalletConnect](https://walletconnect.com/) and [Optimism](https://www.optimism.io/) Network.

![](https://storage.googleapis.com/papyrus_images/71cd80e5c155f843a1b19de661ae4c0976b649bc7b048351d037577ddc8350dc.jpg)

The concept
===========

The aim of taking part in the hack was to explore decentralised tools for biometric wearable data. This is motivated by a desire to enable users to own and leverage their own biometric data. For example, to allow users to permission non-proprietary algorithms to access and analyse this data, and to participate in scientific studies.

After speaking with Rachel Black from GoodGhosting the day before the hack, an idea was formulated to leverage DeFi savings to incentivise users to participate in and grow the decentralised biometric data ecosystem. The resulting concept was Health.Wealth – a protocol to empower users to achieve both their health and wealth goals, by investing in themselves (literally).

![](https://storage.googleapis.com/papyrus_images/3556a53afb0e105e841dea3ea0737e0d495f3e3b3bbaf4ca099101a5372d894f.jpg)

Users pledge crypto to achieve their health goals (e.g. run 5k three times a week for a month) and connect their wearable device. Pledges are pooled into a high yield DeFi savings protocol (we leveraged [Yearn.Finance](https://yearn.finance/#/portfolio) for this). Over the goal period, user activity is verified through tracking devices. We’re big fans of [Oura](https://ouraring.com/) and chose to leverage their API for our use case in the hack!

![The Set Goals Page](https://storage.googleapis.com/papyrus_images/ada22651c870f62df1f5111649b361e5e94d9654d375f8f85bc8faeca21ea291.png)

The Set Goals Page

Users which meet their goals have their stake plus yield returned. Users who do not meet their goals have their stake returned but their yield is diverted into a community pool to fund scientific research related to health and wellbeing.

User biometric data is encrypted and stored on [IPFS](https://ipfs.io/), using Tatum. Users receive an NFT of their data, which they can collect, share and/or sell. NFTs are minted from a custom ERC721 contract deployed into Optimism’s Kovan network.

The Hack
========

At the start of the hack, we explored the sponsor technologies and identified which could be leveraged to build our solution.

![](https://storage.googleapis.com/papyrus_images/27c41824b5825d69d5232f3684520787fa87734d1b1991b05b191ef8459015b1.jpg)

We carried out user research with attendees at the event to refine the concept. A key insight from this research concerned the balance between “carrot and stick”. Originally, we planned to slash the savings of those who didn’t meet their goals and give this to those who did, but after feedback, we decided this was too harsh of a _stick_ for many, and therefore decided to only slash the yields to those who didn’t meet their goals. In the future, we would have different user personas with a range of different risk/reward solutions offered.

![](https://storage.googleapis.com/papyrus_images/b779a32c72ac64dd6e11a11497007bd10e52137e180ab75168e78ebc11a2d529.jpg)

The team built the frontend of the dApp with React and Typescript. We also used the WalletConnect modal, ethers.js and Tatum. Verification of user goals is achieved through a cron job Firebase function.

![After midnight](https://storage.googleapis.com/papyrus_images/4104aa2335bab6c203ee8d0625700cf54e605afd70935bbb633c8c7f61d8fa50.jpg)

After midnight

Check out our submission below to learn more and see our demo dApp.

[https://showcase.ethglobal.com/ethamsterdam/health-wealth-650ik](https://showcase.ethglobal.com/ethamsterdam/health-wealth-650ik)

Next steps
==========

If we’d had more time in the hack we’d have added a dashboard to show users their progress in terms of health goals achieved, savings and earnings to date, and a list of personal data NFTs.

Going forwards, we’ll be exploring encryption solutions and methods for identifying and preventing cheating.

We’d also like to carry out user research to identify personas, determine user needs, and refine the solution.

---

*Originally published on [phas3](https://paragraph.com/@phas3/phas3-at-ethamsterdam)*
