Case Study
Build a token gated chatroom SDK
Token gated chatroom SDK successfully implemented using Backend API, enhancing user engagement while maintaining SDK efficiency and security.
Token gated chatroom SDK successfully implemented using Backend API, enhancing user engagement while maintaining SDK efficiency and security.
The project centred around integrating token gating into the platform’s iOS SDK. Token gating was designed to ensure only users with specific tokens could enter chat rooms. The challenge was finding an efficient method to verify token ownership across multiple blockchain networks, including Chiliz, Hedera, Socio, and Polygon.
Our client is an audience engagement platform offering interactive tools for user participation. They aimed to integrate Web3 token gating in chat rooms to enhance user experience and content access.
![]()
Abhay
Head of Mobile Development
> Integrating token gating in chat rooms.
> Ensuring compatibility with multiple blockchain networks.
> Maintaining SDK performance without increasing size.
> Minimizing third-party library dependencies.
> Creating a seamless user verification process for token ownership.
Two integration methods were explored. The first involved using a third-party Web3 library to inspect users' wallets, but concerns about SDK size and dependency led to its rejection. Instead, the solution leveraged a Backend API with RPC URLs to check token eligibility. A frontend function was developed to communicate with the API and validate access to chat rooms. The solution included comprehensive API development, testing, and documentation updates using Swift, UIKit, Promise Kit, XCTest, PubNub, and SwiftLint.
The implementation of token gating using the Backend API was successful, meeting all client requirements without adding unnecessary SDK weight. The new feature provided a seamless user experience for chat room creators and users, with positive client feedback. The project also enhanced the team's understanding of Web3 technologies, async programming, and best practices in SDK development.
IT Professionals
Tech Domains
Delivered Projects
Client Retention
Response Time