0

I am quite new to Python, using it for about half a year. I want to learn coding on Tezos blockchain and got some questions for you.

  1. Is there a chance to deploy smart contract using python? I know Pytezos and SmartPy, but didnt see if it allow yo deploy smart contract.
  2. Is there any other ways to send XTZ using python?

Thank you

2 Answers 2

1

PyTezos and SmartPy allow you to write smart contracts in Python, which is then transpiled into Michelson (the native language of Tezos). You then need to use the tezos-client to deploy this Michelson code and generate your contract address.

3
  • Both SmartPy (editor and CLI) and Pytezos provide a good support for deployment.
    – FFF
    Apr 22 at 1:35
  • I haven't see either used to deploy. The last tutorial I read showed using the CLI which is why I answered as such.
    – utdrmac
    Apr 22 at 15:39
  • Sure, no bad feelings at all!
    – FFF
    Apr 22 at 22:18
1

There is also PyMich: Write Pure Python and get Micheline Code with PyMich: Open Source Python to Tezos Micheline Smart Contract Source Code Transpiler. https://yourlabs.io/pyratzlabs/pymich

And a great tool to deploy and test contracts is Chinstrap - you can work there with Smartpy or PyTezos. https://docs.chinstrap.io/

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.