project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Adlink

Adlink provides an infrastructure for anyone to integrate and display advertisements over their transactions and incentivize users for transacting on-chain.

Adlink

Created At

Scaling Ethereum 2024

Winner of

Arbitrum - Most Original 2nd place

Avail - Best dApp deployed on Avail-powered Rollup

Prize Pool

Arbitrum - Qualifying Arbitrum Submissions

Prize Pool

Project Description

The project setup is designed to demonstrate the powerful use case of the Adlink infrastructure. Adlink infrastructure provides a set of APIs that can be integrated with any kind of application, whether it's a simple application like launchpads or a complex one like wallets, bridges, or even decentralized exchanges (DEX). The Adlink server exposes a set of APIs that can be integrated into contract events or even alongside transactions. Until a user completes a transaction or waits for it to be completed, they may choose to view ads, and the decision to make ads mandatory or not depends entirely on the protocol itself. Upon successfully watching the ad, the user can claim points, which can be redeemed every month from a common interface provided by us or from any dedicated interface implementing Adlink APIs. Additionally, there will be an interface where advertisers can manage and configure their ads

How it's Made

The project is built using Next.js for the frontend, Express server for the backend, MongoDB as the database, and Hardhat for contract maintenance and deployment. Additionally, the protocol utilizes a sign-in protocol to sign chain-agnostic attention, providing valid proof that an ad has been viewed by the user. The user signs an attestation after the ad criteria are met.

Multiple contracts work together in this bridge contract. First, there's the Adlink token contract itself, deployed across all chains, with its pool balanced initialized with a certain amount of tokens. Then, there's the adapter contract which needs to be plugged into the relayer contract by staking a specific amount of tokens, as mentioned and approved by the relayer contract owner. The adapter is allowed to relay tokens via the relayer.

The relayer contract emits events which are relayed off-chain by the server. The server is integrated with Adlink APIs to store and configure transaction details and attach a random advertisement ID to it. This ID can be signed by the user along with other details to provide proof that the ad has been viewed by a user. Points are associated with it, which can be redeemed by the user simply by logging in from the wallet and claiming them

background image mobile

Join the mailing list

Get the latest news and updates