Chapter 7

Writing Your Own Smart Contracts with Solidity

IN THIS CHAPTER

Bullet Creating your new smart contract

Bullet Developing functions and events

Bullet Protecting ownership and security

Bullet Making your functions work

You find out the basics of developing Solidity smart contracts for Ethereum in Chapter 6 of this minibook. You also gain an understanding about difficulties encountered with traditional supply chain applications and how Ethereum can help address some of those problems. Developing distributed applications, or dApps, for the Ethereum blockchain may look similar to writing code in other languages, but it does have specific advantages over non-blockchain environments. However, you have to approach the software development process a little differently when working with blockchain.

Before starting to write a dApp for the Ethereum blockchain, make sure that you understand what your dApp should do and why a blockchain environment is a good fit. Getting these points cleared up in the beginning can help you avoid mistakes that waste time and money. Knowing the tips and tricks of blockchain development ...

Get Cryptocurrency All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.