Solidity Programming Essentials: Quick start to building Smart Contracts for Ethereum and Blockchain

Ritesh Modi

商品描述

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

Key Features

  • Get you up and running with Solidity Programming language
  • Build Ethereum Smart Contracts with Solidity as your scripting language
  • Learn to test and deploy the smart contract to your private Blockchain

Book Description

Solidity is a high-level language whose syntax is similar to that of JavaScript and it is designed to compile to code for the Ethereum Virtual Machine. This book will be your guide to understand Solidity Programming to build Smart Contracts for Ethereum and Blockchain.

You will begin with a brief understanding of Blockchain, Ethereum and the Ethereum virtual machine. From here you will be taken through topics that will help you understand the Solidity programming language. You will install all necessary tools to write, test, deploy and debug solidity contracts on Ethereum. You will learn the layout of a Solidity source file and will learn to work with the different data types with Solidity. You will then be taken through solutions while working with the Globally available functions with Solidity. The next set of recipes will help you work with Operators, Control Structures, and Data Structures while building your Smart Contracts. In detain, you will be taken through Function calls, Return types, and Function Modifiers. You will then be taken through recipes in Object Oriented Programming with Solidity. You will then learn to Import, and deploy your smart contracts into your private Blockchain. Furthermore, you will be taken through recipes on Event Logging and Exception Handling and finally, you will be taken through recipes to test and debug your Smart contracts.

What you will learn

  • Learn the basics and foundational concepts of Solidity and Ethereum to write smart contract
  • Find out how to write, deploy, consume, test smart contracts in Ethereum.
  • Learn the security best practices while writing smart contracts
  • Learn to create new accounts submit transactions to Blockchain
  • Get to know the complete language in detail to write smart contracts.
  • Learn major tools to develop, test and deploy smart contracts
  • Write defensive code using exception handling and error checking
  • Understand debugging process and details for smart contracts

Who This Book Is For

This book is for anyone who would like to get started with Solidity Programming for developing an Ethereum Smart Contract. No knowledge of the EVM is assumed.

商品描述(中文翻譯)

學習最強大且主要的程式語言,用於撰寫智能合約,並了解如何在以太坊上編寫、部署、使用和測試智能合約。

主要特點:

- 讓您快速上手 Solidity 程式語言
- 使用 Solidity 構建以太坊智能合約
- 學習測試並將智能合約部署到您的私有區塊鏈

書籍描述:

Solidity 是一種高級語言,其語法與 JavaScript 相似,並且設計用於編譯成以太坊虛擬機的代碼。本書將指導您了解 Solidity 程式設計,以便為以太坊和區塊鏈構建智能合約。

您將首先簡要了解區塊鏈、以太坊和以太坊虛擬機。然後,您將進入幫助您了解 Solidity 程式語言的主題。您將安裝所有必要的工具,以便在以太坊上編寫、測試、部署和調試 Solidity 合約。您將學習 Solidity 源文件的佈局,並學習如何使用不同的數據類型。然後,您將通過使用 Solidity 的全局可用函數來解決問題。接下來的一系列示例將幫助您在構建智能合約時使用運算符、控制結構和數據結構。您還將深入了解函數調用、返回類型和函數修飾符。然後,您將通過 Solidity 進行面向對象編程的示例。您還將學習導入和部署智能合約到您的私有區塊鏈的方法。此外,您還將通過事件記錄和異常處理的示例,以及測試和調試智能合約的示例。

您將學到:

- 學習 Solidity 和以太坊的基礎概念,以編寫智能合約
- 了解如何在以太坊上編寫、部署、使用和測試智能合約
- 在編寫智能合約時學習安全最佳實踐
- 學習創建新帳戶並提交交易到區塊鏈
- 了解詳細的智能合約語言,以編寫智能合約
- 學習主要工具來開發、測試和部署智能合約
- 使用異常處理和錯誤檢查編寫防禦性代碼
- 了解智能合約的調試過程和細節

本書適合對於以太坊智能合約開發想要入門的任何人,不需要對以太坊虛擬機有任何了解。