project screenshot 1
project screenshot 2
project screenshot 3

NFT GYM PASS

the NFT Gym Pass: Proof of Sweat, an innovative app that brings fitness to the blockchain. By signing in with a wallet, users can mint a unique gym pass NFT that records their workout dedication. This NFT serves as a digital membership card

NFT GYM PASS

Created At

ETHOnline 2024

Project Description

NFT Gym Pass is designed to merge fitness with blockchain technology. The app allows users to sign in with any wallet on their device and mint a unique proof of sweat NFT that verifies their commitment to working out. Once logged in, users can mint their personalized gym NFT pass, which serves as proof of their gym membership and hard work.

To mint the pass, users input their name and choose the type of workout they plan to do, such as cardio or weight lifting. Once the NFT is successfully minted, it can be imported into a wallet, shared with others through MetaMask, or viewed on OpenSea. This proof of sweat NFT acts as a digital gym membership and a testament to the user's fitness journey.

Importance of Having a Gym Pass NFT The Gym Pass NFT offers more than just gym membership verification. Here's why it's important:

Proof of Dedication: It provides an immutable record of your hard work, making your fitness journey verifiable and publicly recognized on the blockchain. Transferable: Unlike traditional gym memberships, your NFT pass can be easily transferred or gifted to someone else. Community Building: It connects you with other fitness enthusiasts in the web3 space, opening up opportunities for future collaborations and engagement within the blockchain fitness community. With NFT Gym Pass, your effort at the gym becomes part of your digital identity—forever recorded on the blockchain.

How it's Made

For the "Proof of Sweat" project, we built the frontend using Next.js for its flexibility and efficiency, allowing us to create a seamless user experience in a short timeframe. TailwindCSS was used for rapid styling, ensuring a modern, responsive design without getting bogged down by custom CSS.

For the core functionality, we implemented an ERC-721 smart contract in Solidity to mint unique Gym Badge NFTs. Each badge represents a specific type of workout, such as weightlifting, cardio, or yoga. The contract was deployed on the Ethereum testnet

We used ethers.js to handle wallet interactions, allowing users to easily connect their MetaMask wallet and mint the NFTs directly in the browser. By leveraging MetaMask, we bypassed the need for any traditional authentication or user account management, keeping the entire project lightweight and decentralized.

One particularly interesting aspect of the project was the dynamic minting process. Each workout type generates a unique visual Gym Badge, so the user’s NFT collection becomes a personalized representation of their fitness journey. Since everything is handled on-chain, we avoided complex backend infrastructure and focused on leveraging the blockchain’s inherent strengths to store and mint the NFTs.

This setup allowed us to create a fully functional, decentralized NFT project in record time, making "Proof of Sweat" a simple yet innovative solution for gamifying fitness with blockchain technology.

we also used IPFS to upload the data related to NFT

(This is a late pivot from an earlier project idea delivered almost solely by Ighmaz Tawheed. Thanks and kudos for saving us here dude! - Ivan)

background image mobile

Join the mailing list

Get the latest news and updates