<aside> ℹ️ TLIP: 0003 Authors: Romain [email protected] Status: Draft Created: 2023-02-06 Types: Architecture | Documentation Description: Define, implement the Lens social network in Talent Layer project
</aside>
⭐ Explore the different way to unit Lens and TalentLayer
⭐ Build Fork-Able front end for displaying unified Profiles
⭐ Building the doc
BE-V : Back-end version
FE-V : Front-end version
Sum up what we learn and our conclusion during our searches and implementation
We initially integrated the Lens protocol directly into the Talent Layer ID smart contract using a strategy pattern. New users could connect their Lens ID with their Talent Layer ID during the minting process, and existing users could do so by clicking a link button. In either case, an event was triggered and sent the data to our subgraph, allowing us to retrieve the Lens ID/handle and display it on the front end
However, we soon realized that this solution had limitations, including a lack of cross-chain compatibility. The added code also made the smart contract more complex and challenging to audit and understand, leading to higher security risks.