Skip to main content
Version: Next

originate

michelson: <p, s>(_: michelson_contract<p, s>, storage: s, balance: tez) => typed_address<p, s>

Originate a contract with initial storage and initial balance.

contract: <p, s>(_: module_contract<p, s>, storage: s, balance: tez) => origination_result<p, s>

Originate a contract with an entrypoint, initial storage and initial balance.

from_file: <p, s>(path: string, storage: s, balance: tez) => origination_result<p, s>

Originate a contract with a path to the contract file, an entrypoint, and a list of views, together with an initial storage and an initial balance.