computeDeploymentAddress

Computes the deployment address for a contract based on the given options.

Example

import { computeDeploymentAddress } from "thirdweb/utils";
const deploymentAddress = computeDeploymentAddress({
bytecode,
encodedArgs,
create2FactoryAddress,
salt,
});

Parameters

Returns

The computed deployment address.