Inspiration
After a long time sitting down and being inactive during the long grind of a hackathon, the best thing we can do shake out the cobwebs is to get up, move around and get swole! That's where Swole Protocol is here to help!
Fitness and health are often overlooked by folks in the tech space but especially those exploring web3 as we tend to get lost in the Infinite rabbit hole. We need to remember to get up and move around once in a while! What's more is that personal trainers and fitness celebrities typically gain popularity by posting their "special" workout regimens but are often at the mercy of a social media platform using their content to pump their bags. We've seen creators and artists start to claim the profits that their Intellectual property deserves and now it's time for the personal trainers and homemade bodybuilders to do the same.
On the other-side of the coin, their does currently exist a open source project that houses exercise data contributed by the community; however, this data is held in a centralized server and is susceptible to one day being taken down (as we've seen often with some open-source projects). Exercise has been around for centuries and it's time to build its "Library of Alexandria" using the building blocks that web3 provides.
What it does
Swole Protocol aims to be the go-to decentralized source of truth for exercise data and will provide personal trainers (and anyone really) to create customized workouts as NFT's which they can perpetually profit from secondary market sales. Swole Protocol is fitness but with a web3 twist 💪
How we built it
- All exercises are stored on the Arweave storage protocol as the nature of an exercise as exercises don't often change so very appropriate for permanent storage
- Minting of the workout is done via a smart contract deployed on Polygon mainnet
- NFT data is stored in a decentralized and permanent way on IPFS (via Pinata)
- Subgraph deployed to mainnet to index the workouts that are minted. This subgraph is then queried on the 'workouts' page to display (at the moment) all the workouts minted on-chain.
Challenges we ran into
Most of the challenges we faced were from a frontend perspective as well as when we were trying to wire up some of the backend pieces to the front. The hackathon itself was also very time constrained with only two days to hack as well as the on going talks/workshops. Overall we didn't run into any huge technical limitations that we weren't able to overcome as a team.
Accomplishments that we're proud of
What are team built together in such a short time is pretty amazing especially considering how it was our first web3 hackathon/development experience
What we learned
There was a lot that we learned as a team from both a technical standpoint and a conceptual one. We also learned the value good scheduling and organization especially on a very tight time crunch like this hackathon presented.
What's next for Swole-Protocol
In terms of post mvp for Swole-Protocol, we plan to look into the following:
- Make Swole Protocol more mobile friendly
- Developing a subgraph over arweave to be able to query to uploaded exercises
- Looking into integrating Livepeer to get a video component for trainers to stream live workout sessions
- Spruce up the UI to enable a user to begin an interactive workout from there selected NFT's
- Continue to upload exercises to the knowledge base
- Continue the march towards decentralization and deploy the web app to IPFS using fleek and/or spheron
- Aim for gas-less transactions for minting
- Lens protocol integration for a social angle to fitness
Bounties
- Polygon -> Deployed NFT smart contract to Polygon mainnet
- Graph -> created subgraph to index minted workouts (deployed to mainnet)
- IPFS/Filecoin -> Using IPFS (via Pinata) to store the workout metadata for the NFT
- Coinbase Inc -> Using web3modal we added the ability for the user to sign in with their Coinbase wallet to be able to mint their workout
Built With
- arweave
- graphql
- ipfs
- javascript
- nextjs
- polygon
- subgraph
- thegraph
- typescript
Log in or sign up for Devpost to join the conversation.