Skip to content

Deploying Contracts

To deploy smart contracts from your smart account, use the deployContract function:

const txnHash = await kernelClient.sendTransaction({
  callData: await kernelClient.account.encodeDeployCallData({
    abi,
    bytecode,
  })
})