Skip to content
Stake & Run

Stake & Run

Put your money on the line and run!

Created on 5th October 2024

Stake & Run

Stake & Run

Put your money on the line and run!

The problem Stake & Run solves

Many people struggle with self-motivation when it comes to achieving long-term fitness goals, particularly when sustained effort is required. To address this, we build Stake & Run, a Telegram bot application that allows users to stake ETH and participate in fitness challenges, such as a 30-day running challenge.

Solution: In Stake & Run, users stake ETH to join the challenge and upload daily screenshots of their runs to the Telegram bot. An integrated AI coach validates the uploaded data. User performance is tracked on-chain using The Graph for transparency. The challenge smart contract is deployed on Scroll Sepolia and enforces clear rules: users must complete the challenge to get their staked ETH back. If they fail (e.g., miss more than 4 days), their stake is slashed and awarded to the top performers who run the most distance over the 30 days.

Incentives: The staking and slashing mechanisms, managed by the smart contract, provide multiple incentives to keep users motivated:

  1. Earn rewards – The chance to earn interest is a strong motivator, especially for longer challenges.
  2. Accountability – Avoiding slashing keeps users focused on consistent participation.
  3. Competition – The prize pool made up of slashed stakes motivates participants to run more and compete for rewards.

Challenges we ran into

In the development of telegram bot, intitally we wanted to use Circle's developer controlled wallet to manage the staked ETH, but it was not supported on Scroll Sepolia testnet. We had to rewrite the python code mannual to solve the issue.

On worldcoin integration, we an issue on Scroll. Indeed, the smart contract verification is at the moment not working on Scroll. At first, we try to implement a blockchain verification. Then, by discussing with the team, we decided to move to a server approach, where the server will have his own wallet, will take as input the user proof, then verify this one by sending to wordcoin API. In the case the proof is valid, the server is going to sign a transaction to the smart contract to say that the user is a human. In case of invalid proof or double identify, it will failed. We introduce a third party here allowing the worldcoin verification.

Tracks Applied (8)

🚀 Deploy on Scroll (Pool prize)

We have deployed our smart contract on Scroll. You can find the contract at "0xa3757957bdE26F6581b81b0363E00F635628c4E4"...Read More
Scroll

Scroll

👾 Best Mobile Application on Scroll

In Stake & Run, users stake ETH to join the challenge and upload daily screenshots of their runs to the Telegram bot. By...Read More
Scroll

Scroll

🏗️ Best Community Application on Scroll

By motiving people to run, we wanted to create a runner community. At first, the incentive could be to run for yourself,...Read More
Scroll

Scroll

Best Use of The Graph

Instead of fetching data direclty from the smart contract, we are using the graph. For each event created, the data will...Read More
The Graph

The Graph

🆔 Best Use of World ID

We want to have a fair competition between participants, and make sure that the participants are real person. To help us...Read More
Worldcoin

Worldcoin

🖼️ Most Creative Use Case

Stake & Run is creative on: The Dapp as we want to motivate people to run by putting their money on the line. User will ...Read More
Worldcoin

Worldcoin

👍 Best Public Goods Use Case

Through our dapp Stake & Run, we want to motivated people doing some sports. It is important for health and the long run...Read More
Worldcoin

Worldcoin

🏊 Pool Prize

We are using WorldCoin to verify if a user is an human or not. We do not want to have bot as we want a fair competition ...Read More
Worldcoin

Worldcoin

Discussion

Builders also viewed

See more projects on Devfolio