
This tutorial walks through recreating Apple’s Liquid Glass UI on the web using SVG filters, CSS, and React. You’ll learn how to build refraction and reflection effects with custom displacement and specular maps, and how to balance performance and accessibility when using advanced filter pipelines.

tRPC solved type safety for full-stack TypeScript teams. oRPC borrowed the best parts and added interoperability. This article breaks down how both frameworks work and where each one fits best.

Check out Google’s latest AI releases, Gemini and the Antigravity AI IDE. Understand what’s new, how they work, and how they can reshape your development workflow.

Learn about Bun 1.3, which marks a shift from fast runtime to full JS toolchain—and see the impact of Anthropic’s acquisition of Bun.
Would you be interested in joining LogRocket's developer community?
Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.
Sign up now
4 Replies to "Cloning Solidity smart contracts using the factory pattern"
In the first snippet of code, I think the constructor shouldn’t have the _owner parameter
Should be corrected now — thank you!
In the section ‘Using the clone factory pattern’, the first code snippet for `FoundationFactory` defines a constructor in the old way (<v0.4.23); i.e. instead of `function FoundationFactory(address _libraryAddress) public {…`, it should be `constructor(address _libraryAddress) public {…`.
See: https://stackoverflow.com/questions/50456067/in-solidity-can-the-constructor-function-have-the-same-name-as-the-contract
Am I crazy or is the most important part missing? It doesn’t display the total gas paid when using either option, just shows the gas price in gwei…
“`
Clone factory
Gas Fees:
Base: 12.959896517 Gwei
Normal factory
Gas Fees:
Base: 25.529794514 Gwei
“`