Skip to content

tevmDeploy

tevmDeploy(client, params): Promise<DeployResult>

Parameters

client: Client<TevmTransport<string>, undefined | Chain, undefined | Account, undefined, undefined | object>

The viem client configured with TEVM transport.

params: DeployParams<boolean, Abi, true, readonly unknown[]>

Parameters for the contract deployment, including ABI, bytecode, and constructor arguments.

Returns

Promise<DeployResult>

The result of the contract deployment, including the created contract address.

Defined in

packages/memory-client/src/tevmDeploy.js:87