Quiz Entry - updated: 2026.07.30
What is a factory contract?
A template contract deployed once that mints customised contract instances on demand, guaranteeing every instance matches the on-chain template.
Keeping the template on-chain (rather than in an off-chain code repository) is what guarantees consistency — different instances can't silently diverge. It is directly analogous to a class in object-oriented programming.