I want to create a smart contract which I can link to my website using web3.js and create input fields for creating a contract using the main contract and I can set the fees also which should go inside the main contract for creating a contract. Please let me know if this is possible.

1 Answer 1


Its not straight forward but here is an example from uniswap: uniswap createpair function

It boils down to using the evm create2 opcode: create2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.