Constructs a Deploy
object.
The deploy hash identifying this deploy.
The deploy header containing metadata.
The executable deploy item representing the payment logic.
The executable deploy item representing the session logic.
An array of signatures and accounts who have approved this deploy.
A list of approvals, including signatures from accounts that have approved the deploy.
The unique hash that identifies this deploy. This hash is used to verify the integrity of the deploy.
The header of the deploy, which contains metadata such as the account, gas price, timestamp, and TTL.
The executable item representing the payment logic of the deploy.
The executable item representing the session logic of the deploy.
Signs the deploy with a given private key and adds the signature to the approvals list.
The private key used to sign the deploy.
Static
createCreates a new Deploy
instance with the provided parameters.
A new Deploy
object.
The deploy hash identifying this deploy.
The deploy header.
The executable deploy item for the payment logic.
The executable deploy item for the session logic.
An array of approvals for the deploy.
Static
fromJSONStatic
getStatic
makeCreates a Deploy
instance from the deploy header and session/payment logic.
A new Deploy
object.
The deploy header.
The payment logic of the deploy.
The session logic of the deploy.
Static
newConverts the Deploy
into a Transaction
object.
This method creates a transaction based on the deploy, including its payment and session logic.
A new Transaction
object created from the deploy.
The deploy object.
Static
setStatic
toJSONGenerated using TypeDoc
Represents a deploy in the blockchain, including the header, payment, session, and approvals. A
Deploy
object is used to package the logic for executing a contract, payment, or transfer on the blockchain.