Skip to Content
Building Ethereum Dapps
book

Building Ethereum Dapps

by Roberto Infante
March 2019
Intermediate to advanced
504 pages
17h
English
Manning Publications
Content preview from Building Ethereum Dapps

Chapter 5. Programming smart contracts in Solidity

This chapter covers
  • Understanding EVM languages
  • Understanding the structure of a contract
  • Learning core Solidity syntax

Thanks to SimpleCoin, the basic cryptocurrency you’ve been building, you’ve learned the basics of Solidity through example. By now, you know Solidity is a high-level EVM language that allows you to write contracts. You also know a smart contract (or, simply, contract) is equivalent to a class in other languages and contains state variables, a constructor, functions, and events. In this chapter, you’ll learn Solidity’s main language constructs in a more structured way and develop a progressively deeper understanding of the language.

This chapter lays ...

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.
Start your free trial

You might also like

Blockchain Development with Hyperledger

Blockchain Development with Hyperledger

Salman A. Baset, Luc Desrosiers, Nitin Gaur, Petr Novotny
Ethereum For Dummies

Ethereum For Dummies

Michael G. Solomon

Publisher Resources

ISBN: 9781617295157Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link