xSafe
  • Overview
  • 💻Developers
    • Smart Contracts
      • Create3Factory
  • 🔍References
    • FAQ
    • Deployed Contracts
    • Glossary
    • GitHub
    • User Interface
  • 💬Community
    • Telegram
    • Twitter
Powered by GitBook
On this page

Was this helpful?

  1. Developers

Smart Contracts

PreviousOverviewNextCreate3Factory

Last updated 1 year ago

Was this helpful?

Create3Factory

The Create3Factory contract facilitates smart contract deployments at predictable addresses. This factory contract has been deployed to multiple chains, enabling to deploy their contracts at the same address on all the supported chains. For a list of these chains, please refer to the 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 .

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

💻
principals
Deployed Contracts
Create3Factory
Figure1: Create3Factory Deployment Flow
deploy()
intent-based