<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>

Summary

Objectives

⭐ Explore the different way to unit Lens and TalentLayer

⭐ Build Fork-Able front end for displaying unified Profiles

⭐ Building the doc

Organization

BE-V : Back-end version

FE-V : Front-end version

Study

Sum up what we learn and our conclusion during our searches and implementation

V1: Lens integration w contract implementation

Summary

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

Limitations

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.