← Back to home

Lens <> Sports POC

A simple POC of how custom modules can be used to create a sports/fan-centric experience

Screenshots

Lens <> Sports POC screenshot 1
Lens <> Sports POC screenshot 2
Lens <> Sports POC screenshot 3

Problem Statement

There are two custom modules.First, I created a custom follow module that allows anyone to choose their favorite NBA team when following the account (identified as #1-30).Second, there is a custom reference module that has two unique features. When posting a publication the user can choose a homeTeam, awayTeam, and gameDateTime (ie gameInfo) within the reference module. Commenting/Mirroring users can then choose either the homeTeam or awayTeam to "call game". A future thought is to load all the "call games" from a single game into an on-chain NFT that gets minted at the conclusion of every game. NOTE: my task to test this module isn't working thus this module is probably a bit broken as well.With both these features the idea was to begin to demonstrate on-chain reputation and fan engagement. The possibilities are much broader than what I have demonstrated.

Solution

Used the Lens core repository locally to create/test new modules. It was surprisingly easy to get started w Lens although I wish there was an example of a reference task in the repository and integration with foundry would be great in the future.I went into the hackathon wanting to start getting my hands dirty with Lens and I was successful in that regard. More to come in the future :)

Hackathon

ETHBogotá

2024

Contributors