Private impressions data for monetizing sponsored web3 social content
This project allows anyone to create a sponsorship campaign on chain and have it be shown to their Lens followers. The impressions data for the campaign is stored privately with each user and an anonymized report is created transparently on Skale for sponsors to judge the effectiveness of their campaign.
(There are two github repos for this project!) Smart contract on Mumbai allows anyone to create a campaign. A Tenderly lambda triggers on this event and creates a new field in Privy to save impressions data for that campaign. Our frontend (a forked version of Lenster) loads campaigns from users you follow after you've signed in and shows them in your feed. Impressions data are logged in your Privy store with write access granted to you and read access enabled for the admin. When the campaign is ended another Tenderly lambda triggers which pulls all of the impressions data, reduces the data and sends it to a smart contract on Skale where a report is saved for sponsors to know how their campaign went.