Summary
In this chapter, we learned how to write a smart contract using the Vyper programming language. First, we installed the Vyper compiler. Then we developed a smart contract. By doing this, we learned about most of the features of the Vyper programming language, including the function decorator, initialization function, and function permission modifier. There are also some data types such as address, integer, timestamp, map, array, and array of bytes (string). We learned how to compile a Vyper source to a smart contract and then deploy it to Ganache with the Truffle tool. We also interacted with that smart contract through the Truffle console.
In the next chapter, we are going to learn about web3.py. This is the first step towards building ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access