Ethereum
Smart contracts that can run on Ethereum are primarily written in Solidity (http://solidity.readthedocs.io/en/latest/), a program language influence by JavaScript, C++, Python, and PowerShell. It is one of four languages designed to target the EVM, the runtime engine of Ethereum, which you will learn about later in this chapter. Others include Serpent and LLL, but these are deprecated by the community, and Viper is still in an experimental phase. Solidity is a statically-typed programming language, meaning that the program is guaranteed to satisfy some set of type safety properties for all possible inputs. A compiler is needed to prove that your program is well-typed. That being the case, it results in a compiled binary that is ...
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