Discover How Irtisam Abdur Rab Optimised Uniswap Yield Aggregator with BuildBear Sandbox
Irtisam Abdur Rab is a blockchain lead in Pakistan and a Senior Developer at Genesis IT Labs. He recently led the development of a Uniswap Yield Aggregator, focusing on creating and optimizing custodial contracts for Uniswap.
Forking Ethereum Mainnet Locally: Initially, I used tools like Anvil and Forge to fork the Ethereum mainnet locally, which was easy but they fell short in some critical areas. For instance, I needed USDC tokens to perform swaps, create liquidity pools, and add liquidity on Uniswap v3. Unfortunately, the local setup couldn't provide a faucet for the required token or a full-featured explorer to monitor and interact with the contract.
Complex Contract Interactions: The Uniswap Yield Aggregator's smart contract allows users to add liquidity, after which it takes custody of the NFT minted by Uniswap. In exchange, a small fee is charged, and the contract programmatically optimizes the user's liquidity by rebalancing it to maximize yield. We wanted to test and automate the process to ensure users earned the highest possible returns with minimal manual intervention.
Irtisam Abdur Rab turned to BuildBear to overcome these challenges after discovering it through a recommendation on StackOverflow answer.
“What primarily led me to BuildBear is its faucet for any token and a full features Explorer.
Local Anvil forks were restricted by contract size limitations and contract interactions. I love the option of Buildbear that allows me to bypass that limit for my testing purposes.” - Irtisam Abdur Rab
Private Testnets: BuildBear enables the forking of Mainnet and rapid spin-up of the Testnet within seconds. While local forking is possible, it often involves cumbersome processes like exposing URLs. BuildBear allowed us to set up forks within seconds. With BuildBear all the Contract and Transaction data is private and only access to the people Irtisam shares the data with.
BuildBear Faucet: Through the BuildBear Faucet, Irtisam gained immediate access to native and popular ERC20, especially USDC tokens required for testing and optimizing custodial smart contracts.
Explorer: The BuildBear Explorer simplifies the process of monitoring transactions and debugging transactions.
Bypassing Contract Size Limits: BuildBear's advanced feature allowed Irtisam to bypass Ethereum's contract size limits for testing purposes without worrying about deployment issues.
Client’s Testimony:
"BuildBear was recommended to me by a StackOverflow answer. It gives me a Faucet for any coin that I want and also a full explorer. Honestly, I don't think that the product I'm working on would be at the level it is without BuildBear." - Irtisam Abdur Rab