ContractCreateFlow()
API to create the file storing the bytecode and contract in a single step.constructorParameters
. ContractCreateFlow()
ContractCreateFlow()
streamlines the creation of a contract by taking the bytecode of the contract and creating the file on Hedera to store the bytecode for you. FileCreateTransaction()
will be executed to create a file on Hedera to store the specified contract bytecode. Second, the ContractCreateTransaction()
will be executed to create the contract instance on Hedera.ContractCreateTransaction()
API directly.new ContractCreateFlow()
setBytecode(<bytecode>)
setBytecode(<bytecode>)
setBytecode(<bytecode>)
ContractCreateTransaction()
new ContractCreateTransaction()
setGas(<gas>)
setInitialBalance(<initialBalance>)
setAdminKey(<keys>)
setConstructorParameters(<constructorParameters>)
setConstructorParameters(<constructorParameters>)
setContractMemo(<memo>)
setAutoRenewAccountId(<accountId)
setAutoRenewPeriod(<autoRenewPeriod>)
setMaxAutomaticTokenAssociations()
setGas(<gas>)
setInitialBalance(<initialBalance>)
setAdminKey(<publicKeys>)
setProxyAccountId(<accountId>
)setConstructorParameters(<constructorParameters>)
setConstructorParameters(<constructorParameters>)
setContractMemo(<memo>)
setAutoRenewPeriod(<autoRenewPeriod>)
getAdminKey(<keys>)
getGas(<gas>)
getInitialBalance(<initialBalance>)
getBytecodeFileId(<fileId>)
getProxyAccountId(<accountId>
)getConstructorParameters(<constructorParameters>)
getContractMemo(<memo>)
getAutoRenewPeriod(<autoRenewPeriod>)