Discover how the oSwamp team overcame development challenges with BuildBear Sandbox.
ABOUT oSwamp
oSwamp is constructed upon the Swamp contract, developed by the Overline Network team, with the aim of aiding community members in efficiently managing their boats.
In the future, oSwamp Contracts will be launched based on the Swamp contracts, and oSwamp will utilize the original swamp contract for ownership.
Client:
Mainnet Testing! The Challenge of Re-establishing Protocols. As the oswap contracts rely on the swamp contracts on the Mainnet, it is imperative to have the Mainnet state. Setting up the Mainnet state of the swamp contract on the Testnet is not only burdensome but also extremely time-consuming.
Token Scarcity: Obtaining a sufficient quantity of Testnet tokens for thorough testing proves to be a time-consuming task.
Transaction Confirmation: Slow! Public Testnets are not designed for instant transaction processing, and in practice, they often experience lengthy transaction times, occasionally lasting up to 13.5 seconds. These delays can pose challenges, especially during the contract testing phase, as they can impede the overall development process.
Explorer Limitations: Unfortunately, detailed monitoring of local Hardhat Testnet transitions is not possible. The absence of an explorer for observing transitions within the local Hardhat Testnet presents challenges when debugging unsuccessful transactions.
Account Impersonation: Public Testnets are intentionally designed to prevent the impersonation of other accounts, which limits testing possibilities and hampers comprehensive testing.
Luiz R. Rodrigues has integrated BuildBear into his workflow to address these challenges, seeking a solution.
Mainnet State: BuildBear enables the forking of Mainnet and rapid spin-up of the Sandbox within seconds. This capability allows for effective testing of the application in conjunction with Mainnet protocols, eliminating the need to set up any mock environments.
BuildBear Faucet: Through the BuildBear Faucet, Luiz R. Rodrigues gained immediate access to native and popular ERC20 tokens, eliminating the need for manual token accumulation.
Instant confirmation: BuildBear allows standard test scripts involving 10 transactions to be completed in less than 26 seconds. On public Testnets (such as Sepolia), the same process can take over 2 minutes. This faster transaction processing reduces the time spent on running contract test scripts, enabling quicker iterations and accelerated progress.
Explorer: The BuildBear explorer simplifies the process of monitoring transactions and debugging failed transactions, thanks to BuildBear's built-in transaction tracer.
Account Impersonation: This feature enables Luiz R. Rodrigues to mimic other existing wallets and perform transactions from those accounts.
I don't know any other way to make my project testing possible without the Buildbear Mainnet fork, without this, it is only possible if I spend a lot of money on Mainnet transactions/fees.