• Creates a new smart contract on the ledger using its bytecode representation.

    Remarks

    After executing this function, you will have write access on the newly generated contract.

    See

    callerHasWriteAccess for more information.

    Returns

    The address of the newly created smart contract on the ledger.

    Parameters

    • bytecode: StaticArray<number>

      The byte code of the contract to create.

    Returns Address

Generated using TypeDoc