Lumen Loop
All media
VideoYouTubeKoxy 👩‍💻March 25, 20251y ago14:28

Let’s Get Soroban: Deployer / Factory Contract.

Tutorial on deploying factory/deployer contracts on Soroban that enable creating unlimited smart contract instances from a single parent contract, covering implementation, testing, and deployment steps.

SorobanSmart ContractsDevelopers
Lumen Loop's take

This episode of 'Let's Get Soroban' explains factory contracts (also called deployer contracts) on Soroban, which allow developers to deploy multiple instances of a smart contract from a single parent contract. The speaker walks through the architecture of a factory contract that manages an admin address and uses the SDK's deployer function to create contract copies with unique sorts and constructor arguments. The tutorial includes code examples showing how to set up the main contract (ConstrucTor), create the factory contract, write tests to verify functionality, and deploy both contracts to testnet. Step-by-step CLI commands demonstrate installing the wasm code, deploying the factory contract with an admin address, and invoking the deploy function to create new contract instances with custom parameters.