Smart Contracts

Create3Factory

The Create3Factory contract facilitates intent-based smart contract deployments at predictable addresses. This factory contract has been deployed to multiple chains, enabling principals to deploy their contracts at the same address on all the supported chains. For a list of these chains, please refer to the Deployed Contracts section.

Figure 1 below depicts an example of how to deploy a smart contract via the xSafe Create3Factory contract. Notice that this example deployment is for a contract that contains no constructor arguments. If a contract with constructor arguments is to be deployed, the arguments must be encoded and assigned to the _constructorArgsCode parameter when calling deploy().

A full breakdown of all the Create3Factory public methods can be found in the Create3Factory section of these docs.

Last updated