project screenshot 1
project screenshot 2
project screenshot 3

RestRivals

Improve your sleep in our sleeping pods! Stake your tokens, make sure to get good sleep, and earn. Powered by the wonderful Oura ring.

RestRivals

Created At

ETHGlobal Tokyo

Project Description

Introducing RestRivals: Gamify Your Sleep for Better Rest and Rewards

RestRivals is an innovative project that combines the power of blockchain technology with sleep tracking to promote healthier sleep habits while offering users the chance to earn rewards. With RestRivals, users can enter SleepingPods where they stake tokens and compete to improve their sleep quality. The better you sleep, the more you can earn!

To participate in RestRivals, users must own an Oura ring, a smart wearable device that tracks sleep patterns and generates daily sleep scores. The project comprises multiple SleepingPods, each with a predetermined start date, end date, and stake amount (a fixed number of tokens required to join). The duration between the start and end dates of each SleepingPod forms a round.

At the end of each round, RestRivals calculates the average sleep score of all participants in the SleepingPod. The participant with the lowest sleep score loses their stake, which is then distributed among the remaining participants as a reward for their improved sleep quality.

By gamifying the sleep experience, RestRivals encourages users to focus on their sleep hygiene and develop better habits, ultimately leading to a healthier lifestyle. Join RestRivals today and turn your quest for better sleep into a rewarding and competitive adventure!

How it's Made

Contracts are made with Foundry. Basically from scratch and test driven development. Frontend is made with nextjs, next-auth (so users can login with their Oura account), typescript and tailwindcss. Wallet connection is done by wagmi and rainbow. Rainbow provides the easiest and fastest ready-to-use connect button and switch network button with functionality. Deployment is done in Vercel.

background image mobile

Join the mailing list

Get the latest news and updates