
Solidity Programming Essentials: A guide to building smart contracts and tokens using the widely used Solidity language 2nd Edition
Author(s): Ritesh Modi (Author)
- Publisher: Packt Publishing
- Publication Date: 10 Jun. 2022
- Edition: 2nd
- Language: English
- Print length: 330 pages
- ISBN-10: 1803231181
- ISBN-13: 9781803231181
Book Description
Learn solidity for writing mission-critical enterprise-ready smart contracts
Key Features
- Learn proven smart contract implementation challenges and solve them using Solidity
- Go deeper into Solidity to write effective upgradable and maintainable smart contracts using best practices
- Get to grips with the latest version of Solidity with updated codes and examples
Book Description
Solidity is a contract-oriented language whose syntax is highly influenced by JavaScript, and is designed to compile code for the Ethereum Virtual Machine. Solidity Programming Essentials will be your guide to understanding Solidity programming to build smart contracts for Ethereum and blockchain from the ground-up.
This new edition starts with an introduction to blockchain, Ethereum and smart contracts. The practical side will include step-by-step instruction on the installation of tools, private blockchain, and then move onto an introductory overview of the Solidity programming language. You will learn how to install all the necessary tools to write, test, and debug Solidity contracts on Ethereum. As you progress, you’ll also explore the multiple design patterns for multiple areas of smart contract, and get a solid understanding of the layout of a Solidity source file and work with the different data types. We will also take you through function calls, return types, function modifiers, and recipes in object-oriented programming with Solidity. All the examples are updated to the latest version of the solidity programming language.
By the end of this book, you will be able to write, deploy, and test smart contracts in Ethereum.
What you will learn
- Write efficient and effective and secure smart contracts
- Use different tools to build and deploy smart contracts
- Implement popular design patterns in Solidity
- Effectively utilize different storage solutions and their implications
- Understand exception handling and troubleshooting in Solidity
- Create new accounts and submit transactions to blockchain
Who This Book Is For
This book is primarily aimed at beginners who would like to get started with Solidity Programming for developing an Ethereum smart contract. No prior knowledge of EVM is required, but knowing the basics of any programming language will help you follow along.
Table of Contents
- Introduction to Blockchain, Ethereum, and Smart Contracts
- Installing Ethereum and Solidity
- Introducing Solidity
- Global variables and functions
- Expressions and control structure
- Writing Smart Contracts
- Functions, Modifiers, and Fallbacks
- Exceptions, Events and Logging
- Basics of Truffle and Unit Testing
- Debugging contracts
- Assembly Programming
- Upgradable Smart Contracts
- Writing Secure Contracts
- Writing Token Contracts
- Solidity Design Patterns
Wow! eBook
![[] [Author: C. Kozierok] [Nov-2005]-Wow! eBook](https://m.media-amazon.com/images/I/41YNmvB-fML._SY342_.jpg)

