Function directDeployDeterministicPublished
- directDeployDeterministicPublished(contractName, publisherAddress, contractVersion?, constructorArgs, signer, storage, clientId?, secretKey?, saltForCreate2?, gasLimit?): Promise<string>
Parameters
contractName: string
publisherAddress: string
contractVersion: string = "latest"
constructorArgs: any[]
signer: Signer
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Optional
clientId: string
Optional
secretKey: string
Optional
saltForCreate2: string
gasLimit: number = 7000000
Returns Promise<string>
Direct deploy a contract at a deterministic address, using Create2 method Address depends on the Create2 factory address and salt (if provided).