Book Post

Solidity Programming Essentials: A beginner’s guide to build smart contracts for Ethereum and blockchain

Learn the most powerful primary programming language for writing smart contracts and discover how to write, deploy, and test smart contracts in Ethereum

Key Features

  • Get up and running with the Solidity programming language
  • Use Solidity as a scripting language to build smart contracts in Ethereum
  • Learn to test and deploy smart contracts to your private blockchain

Book Description

Solidity is a contract-oriented language with a syntax that is highly influenced by JavaScript, and designed to compile code for the Ethereum Virtual Machine (EVM). Solidity Programming Essentials is your guide to understanding Solidity programming to build smart contracts for Ethereum and blockchain from ground-up.

The book will begin by taking you through concepts like blockchain, and Ethereum, in addition to highlighting their most important components. Next, you’ll delve into the technicalities of installing the necessary tools to write, test, and debug Solidity contracts on Ethereum. You’ll then go on to explore the layout of a Solidity source file and work with the different data types. The next set of recipes will help you to work with operators, control structures, and data structures while building your smart contracts. As you progress further, you’ll study function calls, return types, function modifiers, and recipes in object-oriented programming with Solidity. You’ll also get well-versed with event logging, exception handling, and testing and debugging smart contracts.

By the end of this book, you’ll not only have knowledge of Ethereum and blockchain concepts, but also be able to write, deploy, and test smart contracts in Ethereum.

What you will learn

  • Study the basics and foundational concepts of Solidity and Ethereum
  • Explore programming in Solidity and its various nuances
  • Create new accounts and submit transactions to blockchain
  • Understand the language to write smart contracts
  • Discover the major tools for developing and deploying smart contracts
  • Write defensive code using exception handling and error checking
  • Understand Truffle basics and the debugging process

Who This Book Is For

This beginner-level book is for anyone who wants to get started with Solidity programming for developing Ethereum smart contracts. No prior knowledge of Ethereum Virtual Machine (EVM) is required.

Table of Contents

  1. Introduction to Blockchain, Ethereum, and Smart Contracts
  2. Installing Ethereum and Solidity
  3. Introducing Solidity
  4. Global Variables and Functions
  5. Expressions and Control Structures
  6. Writing Smart Contracts
  7. Functions, Modifiers, and Fallbacks
  8. Exceptions, Events, and Logging
  9. Truffle Basics and Unit Testing
  10. Debugging Contracts

Not Available

Share This Book

Similar Titles

"We were the people who were not in the papers. We lived in the blank white spaces at the edges of print. It gave us more freedom. We lived in the gaps between the stories." - Margaret Atwood, The Handmaid's Tale

Publication Year:
Finished? Yes, on
Signed? Yes

Leave a Reply

Consent Preferences