Wallet to wallet chat for web3 collaboration between creators and advertisers
We have implemented wallet-to-wallet chat and push notifications between influencers and advertisers on a decentralized influencer ad protocol. This feature helps create a spam-free dialogue for collaboration, allowing both parties to clarify the details of ad campaigns, create and publish content. Once the ad campaign is completed and approved by both parties, the payment will be unfrozen from the smart contract for the influencer, and the chat will be closed (based on NFT burning). This helps prevent spam in the future and ensures that platform dialogues are used solely for work-related purposes.
How did we identify the problem? After building our dApp as an influencer marketplace for ad publishing, we fully implemented influencer searching, ad preparation, and payments via a peer-to-peer escrow smart contract. However, we realized that it was challenging to clarify all requirements before the ad, and often there was a need to clarify them during content creation and publishing. It was also important to notify users during the ad process to increase their activity. Overall, this protocol helps influencers monetize their channels and attract more users and community members to the Scroll ecosystem, as payments are provided in USDC on the Scroll blockchain.
Solution B4B is a Web3-native influencer ad network on Scroll that connects advertisers with influencers who are willing to create and publish ads on their channels. The B4B protocol ensures the protection of advertisers and influencers by escrowing the budget and maintaining a transparent history of ad orders owned by users.
We have implemented push notifications, NFT issuance for both sides, chat creation, messaging, and NFT burning after the successful completion of the ad campaign.
How does it work?
This chat implementation helps to limit discussions to work-related matters only and prevents spamming both sides after the ad is completed. Additionally, with Pushes, it helps notify both sides about changes in the status of the ad campaign, ensuring that deadlines for publishing are not missed.
During this hackathon, we integrated Push protocol technology into our application. This technology has an important feature that allows brands to communicate with influencers during ad content creation through a chat. The chat is created when the influencer approves the ad and is destroyed after the brand approves the ad result.
Additionally, we deployed blockchain contracts on Scroll, which is another very important feature for the application. This is due to its low price and high transactions throughput and help the ecosystem projects use strong tool for influencer marketing.
For integration with Push protocol, we used Push protocol REST API (@pushprotocol/restapi library). In the frontend we used a component from library @pushprotocol/uiweb. We used API for creating group chat. When the campaign is started, nft is minted on the backend side after the creation by the advertiser and approval of an ad campaign by the influencer. Chat becomes available for both users. The created chat contains three users: admin (B4B administrator), influencer, and advertiser. In case of disputes, for example, low-quality content or spam, the administrator can close chat via Push protocol API. After completion of the ad campaign, the nft is burned, and the chat becomes inactive.