Inspiration
We all know that being active and fit is essential to our mental and physical well-being.
During this COVID-19 pandemic, it is difficult to get motivated and get in shape outside.
What if we could address this issue by creating a system that rewards people for taking care of themselves?
3Runnerz is a running system based on Hedera Hashgraph.
It allows runners to register for competitions and rewards them with RUNz tokens and NFTs depending on their performances.
3Runnerz ecosystem contains 2 parts:
- The 3Runnerz portal where runners can sign in and register their performances.
- An electronic device (pedometer) that records the runners' performances.
The 3Runnerz token (RUNz) is used to reward runners.
Runners are rewarded on a one-to-one ratio with their running distance.
For instance, for a total distance of 2,000m, a runner will get 2,000 RUNz.
The top 3 runners of every competition will also get NFT rewards:
- gRUNz represent a "Gold Medal" NFT
- sRUNz represent a "Silver Medal" NFT
- bRUNz represent a "Bronze Medal" NFT
Please have a look at here for more details about the NFTs.
How I built it
I built it using both software and hardware components.
Software:
- Hedera Token Service (HTS) - used to issue fungible and non-fungible tokens.
- DragonGlass API - used to access the Hedera mirror network and request historical information.
- Coingecko API - used to get the HBAR (ℏ) price.
- WebUSB - used to talk to the hardware device through the web.
- Arduino IDE - used to flash the device firmware.
Hardware:
- MacBook Pro - used as the host.
- Arduino Nano 33 IoT - used as the hardware device.
Arduino's firmware can be found here in the GitHub repository.
Total hours spent on the project: 200h.
Challenges I ran into
- Designing an accurate device for tracking the runner's performance.
- Bidirectional communication between the app and the device.
- Finishing the project on time.
Accomplishments that I'm proud of
I'm proud that I've delivered what I had in my mind.
What I learned
I learned how to issue fungible and non-fungible tokens on Hedera Hashgraph. I was really surprised to see how straightforward that was to do so with Hedera compared to blockchain technology.
I also learned how to use DragonGlass API to query information from mirror node but also the Coingecko API to get the current HBAR price.
Regarding the hardware part, I learned how to build a pedometer using a microcontroller and an accelerometer.
What's next for 3Runnerz
- Enable NFT rewards
- Do a beta test with active runners
- Collect feedback from runners
- Build a more embedded tracking device
- Create a chat system to allow runners to connect
- Enhance the application
- Deploy on mainnet
Built With
- bulma
- coingecko-api
- dragonglass-api
- font-awesome
- hedera-hashgraph
- javascript
- parcel







Log in or sign up for Devpost to join the conversation.