Function directDeployDeterministicPublished

  • Direct deploy a contract at a deterministic address, using Create2 method Address depends on the Create2 factory address and salt (if provided).

    Parameters

    • contractName: string

      The name of the contract to deploy

    • publisherAddress: string

      The publisher address to use

    • contractVersion: string = "latest"

      The contract version to use

    • constructorArgs: any[]

      The constructor args to use

    • signer: Signer

      The signer to use

    • storage: ThirdwebStorage<IpfsUploadBatchOptions>

      The storage to use

    • Optional clientId: string

      The client id to use

    • Optional secretKey: string

      The secret key to use

    • Optional saltForCreate2: string

      The salt to use

    • gasLimit: number = 7000000

    Returns Promise<string>

Generated using TypeDoc