For the complete documentation index, see llms.txt. This page is also available as markdown.

Deploying Contracts

Impatient? Check out complete examples here.

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

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