Blockchain
Minimizing Gas Fees: Hooked implements user interaction layer on opBNB
Hooked leverages opBNB for cost-effective user interactions
According to Blog of the BNB chain, Hooked, a gamified education platform on the BNB chain, effectively handled high volumes of transactions while maintaining efficiency and cost-effectiveness. However, with the need for a large volume of on-chain interactions, transaction costs on BNB Smart Chain may still be prohibitive, especially when the project must sponsor users’ gas fees. This challenge was addressed by Hooked through a two-tier architecture.
Tackling high-traffic, gas-free transactions
Hooked is a unique platform that provides an optimized channel for non-tech savvy users to interact with the web3 world. Allows users to sign in with Google accounts to create their Hooked wallet. Users can then participate in daily check-ins and complete quiz challenges to earn rewards, including soulbound token NFTs and in-app credits, which can be exchanged for on-chain tokens.
However, the project faced several challenges. For example, popular campaigns would lead to significant increases in traffic that could potentially impact users’ on-chain interactions. Another challenge was the need for gas-free transactions to reduce friction for users. This required the project to sponsor transaction costs for its users. Additionally, infrastructure optimization was key to managing sudden increases in traffic while maintaining smooth user interactions despite the complexities of web3.
The solution: opBNB and EIP4337
To address these challenges, Hooked implemented the opBNB network. opBNB is BNB Chain’s scaling solution, offering higher throughput and lower gas fees. This helped Hooked handle traffic spikes effectively, while the much lower cost meant the project had to pay users less for gas than BSC.
The gas-free solution has been facilitated through the Smart Contract Wallet, powered by EIP4337, which also functions as a wallet-as-a-service. This allowed users to log in using their Google accounts to create a Hooked wallet on opBNB. Social login and smart wallet are managed by Particle Network, which provides the built-in wallet and integrates with Google authentication for users.
BNB chain as an asset layer
The BNB chain, as a DeFi hub, serves as an asset layer for Hooked. Users can seamlessly exchange their in-app credits for Hooked tokens or other BEP/EIP20 tokens across DeFi platforms. Users are responsible for covering gas fees associated with these exchanges. Furthermore, users can also trade Hooked tokens earned by learning on CEX like Binance.
By using opBNB as an interaction layer due to its convenience, Hooked can sponsor new users’ gas costs. At the same time, by leveraging opBNB’s increased capacity of 100 million gases per second, Hooked can effectively manage traffic spikes during its campaigns. Meanwhile, BSC serves as an asset layer, leveraging its status as the BNB chain’s DeFi hub. This gives users the opportunity to pay their own gas fees, opening the doors to explore different DeFi offerings within the BNB chain ecosystem.
Image source: Shutterstock
. . .