2

Instead of doing two operations:
1 - originate a contract
2 - transfer tez to the contract,

is it possible to do both in a single operation?

2

Yes, the origination operation allows you to provide the contract balance.

In smartpy origination page:

enter image description here

3

For sure! For instance, when originating with tezos-client, in this example I send 99 tez from the bootstrap1 account when originating the contract my_contract:

$ tezos-client originate contract my_contract transferring 99 \ 
               from bootstrap1 running my_contract.tz \
               --init Unit --burn-cap 10.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.