DOCS

directDeployDeterministicWithUri

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

function directDeployDeterministicWithUri(
  publishMetadataUri: string,
  signer: Signer,
  storage: ThirdwebStorage<IpfsUploadBatchOptions>,
  constructorArgs: any[],
  saltForCreate2?: string,
  gasLimit: number,
): Promise<string>;

Parameters

Returns

type ReturnType = Promise<string>;