Inspiration

As we know, The web2 advertisement system is handled in a centralized way. Which minimizes trust between the company, creator, and advertising company. We also don't know how much commission the company earns from advertisements and how much is paid to content creators. So we need a decentralized system to manage the advertisement system which is fair for everyone.

What it does

Web3 Advertisement is a platform to manage advertisements in a decentralized way. We used Space And Time data warehouse to manage advertisement data and Chainlink Function to settle payment to the content creator. First, the Company needs to create an advertisement using our Dapp and store funds in smart contracts. As a platform, we take 30% of the overall budget for an advertisement as a platform fee. Once the advertisement is created all the data is available in Space and Time data warehouse. We delivered these ads to the Lenstube platform when the viewer starts the video. All the events related to advertisement are stored in SxT for analytics and payment distribution to the content creator. After the ads are completed we use Chainlink Functions to get data from SxT into the smart contract and distribute payment according to ads impression and click. Currently, this demo is only for showing the limited functionality of the Web3 advertisement system. We show demo ads on the Lenstube platform. We added support for vast players in the Lenstube platform for the Chain Link Hackathon.

How we built it

In our system, we have five key component

  • AdServer - This is used to manage all advertisement details and events.
  • Web Dapp - This is used to create advertisements and show analytics.
  • SxT Data Warehouse - This is used to store all advertisement data and event data coming from the ad viewer.
  • Smart Contract - This is used to store all advertisement funds and distribute them to the content creator
  • Chain Link Functions - This is used to get required data from SxT to the smart contract

Challenges we ran into

We ran into different challenges related to Adserver and showing Ads on the Lenstube platform. Also faced an issue while inserting events data into the SxT data warehouse. We faced an issue while getting SxT data into a smart contract using Chain Link Functions.

Accomplishments that we're proud of

Finally, we are able to create a decentralized Web3 Advertisement platform that is fair for everyone and open to everyone.

What we learned

First, we need to understand how advertisement streaming works. We learn what kind of protocol is used in advertisement streaming and how to insert ads into the Lenstube platform. After this, we came to know that these ads are only viewable on Vast-type players. But the Lenstube platform is not supported, by vast-type players. So we need to create a Vast-Type player for the Lenstube platform. After that, we learn about how to read JSON-type responses in smart contracts.

What's next for Web3 Advertisement System

We will add more features to support different kinds of platforms. We are thinking of adding support to the Lenster platform. We will add skippable ads and more analytics.

Built With

  • chainlinkfunction
  • polygon
  • react
  • restapi
  • spaceandtime
Share this project:

Updates