LENS Carbon

LENS Carbon

LENS Carbon introduces climate action as a reputation feature in LENS protocol by enabling fractional carbon offsetting as part of publication collects.

The problem LENS Carbon solves

LENS users have the general desire to perform climate action in order to fight global warming. Many creators and artists have a similar need to showcase their commitment to the same cause. LENS Carbon enables them to perform these actions as a part of the collection fee mechanism of LENS. In particular, creators have the power to accept a voluntary pay cut that goes directly into carbon offsetting. Collectors then have the ability to choose to collect exactly the posts that contain this type of commitment. The collection workflow works as usual without any changes by leveraging the KlimaDAO retirement aggregator to perform purchases and retirements of carbon tokens within the collection process.

Challenges we ran into

One of the main challenges in building the showcase app was to start using the LENS SDK in the testnet environment and to implement the publish/collect functionality. In addition, we ran into problems enabling the hardhat environment and to use existing components. Once we learned about the difference between the Mumbai testnet and Mumbai Sandbox we were able to get our contracts whitelisted in LENS.

Discussion