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
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
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
"synopsis" may belong to another edition of this title.
How to compile Solidity Contracts using Solidity Compiler (Solc)Solidity compiler can be downloaded using the command
npm install -g solc
This command not only provides access to solc compiler from node environment but it also provides a commandline equivalent (Solcjs)
Using solcjs is shown next.Getting version number of solidity compilersolcjs --helpCompiling and generating both ABI definition and binary codesolcjs "Ether.sol" --abi --binCompiling, optimizing and generating ABI definition and binary code.solcjs "Ether.sol" --abi --bin --optimizeChanging the output foldersolcjs "Ether.sol" --abi --bin --optimize --output-dir "C:outputfolder"
This book exclusively focuses on Solidity as a programming language for writing smart contracts. It gets into details about programming language and teaches how to use it for smart contracts. It can be deployed on multiple Blockchain platforms like Hyperledger and Monax. Moreover, It is quite widely adopted for the Ethereum platform. Ethereum provides multiple platforms and environments. These includes test environments like Rinkeby, Kovan, main network and also supports private deployments. This book is not about how to use these platforms. We can use these platforms even without using Solidity. This book does not discusses in depth the options available with Geth and Parity although it mentions steps to create a private network so that reader can deploy their own smart contracts.
There are multiple technologies used for writing web applications including HTML CSS, JavaScript etc. This book will not talk about these technologies. There are ample books on these in market.
There is a gap in market where none of existing books deals exclusively about Solidity and this book is about teaching nuances of Solidity and writing smart contracts.
Imagine knowing all the rules about working with Storage and Memory variables in Smart contracts, error handling, fallback functions, modifiers in depth along with contract level dependency deployment using Truffle. This book covers these aspects and more!!Solidity can be used uniformly whether its windows/Linux or a heterogeneous environment. There is no difference in authoring smart contracts based on them.
Ritesh Modi is an ex Microsoft senior technology evangelist and Microsoft regional lead. He has worked on Ethereum and Solidity, extensively helping and advising companies. Ritesh is a regular speaker on blockchain and Solidity at conferences and local meetups. He is an architect, evangelist, speaker, and a known leader for his contributions toward blockchain, data centers, Azure Bots, cognitive services, DevOps, Artificial Intelligence, and automation. He is the author of five books.
"About this title" may belong to another edition of this title.
FREE shipping within U.S.A.
Destination, rates & speedsSeller: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 1. Seller Inventory # G1788831381I4N00
Quantity: 1 available
Seller: WeBuyBooks, Rossendale, LANCS, United Kingdom
Condition: Like New. Most items will be dispatched the same or the next working day. An apparently unread copy in perfect condition. Dust cover is intact with no nicks or tears. Spine has no signs of creasing. Pages are clean and not marred by notes or folds of any kind. Seller Inventory # wbs9274546319
Quantity: 1 available
Seller: BOOK2BUY, Lynbrook, NY, U.S.A.
Paperback. Condition: Good. Paperback - clean, clean cover, no marks - from private collection -. Seller Inventory # 39547.240916
Quantity: 1 available
Seller: Reuseabook, Gloucester, GLOS, United Kingdom
Paperback. Condition: Used; Very Good. Dispatched, from the UK, within 48 hours of ordering. Though second-hand, the book is still in very good shape. Minimal signs of usage may include very minor creasing on the cover or on the spine. Seller Inventory # CHL10306524
Quantity: 1 available
Seller: Royal Oak Bookshop, Front Royal, VA, U.S.A.
paperback. Condition: Very Good. Brick and mortar bookshop since 1975!Green graphic soft cover, clean unmarked content with tight binding.Brick and mortar bookshop since 1975! Seller Inventory # 250218001
Quantity: 1 available
Seller: HPB-Red, Dallas, TX, U.S.A.
Paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_359306816
Quantity: 1 available
Seller: Grumpys Fine Books, Tijeras, NM, U.S.A.
Paperback. Condition: very good. little wear and tear. Seller Inventory # Grumpy1788831381
Quantity: 1 available
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: New. Seller Inventory # 32730430-n
Quantity: Over 20 available
Seller: Lucky's Textbooks, Dallas, TX, U.S.A.
Condition: New. Seller Inventory # ABLIING23Mar2912160182267
Quantity: Over 20 available
Seller: BargainBookStores, Grand Rapids, MI, U.S.A.
Paperback or Softback. Condition: New. Solidity Programming Essentials 0.86. Book. Seller Inventory # BBS-9781788831383
Quantity: 5 available