Book Image

Ethereum Projects for Beginners

Book Image

Ethereum Projects for Beginners

Overview of this book

Ethereum enables the development of efficient, smart contracts that contain code. These smart contracts can interact with other smart contracts to make decisions, store data, and send Ether to others.Ethereum Projects for Beginners provides you with a clear introduction to creating cryptocurrencies, smart contracts, and decentralized applications. As you make your way through the book, you’ll get to grips with detailed step-by-step processes to build advanced Ethereum projects. Each project will teach you enough about Ethereum to be productive right away. You will learn how tokenization works, think in a decentralized way, and build blockchain-based distributed computing systems. Towards the end of the book, you will develop interesting Ethereum projects such as creating wallets and secure data sharing.By the end of this book, you will be able to tackle blockchain challenges by implementing end-to-end projects using the full power of the Ethereum blockchain.
Table of Contents (12 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributor
Preface
Index

Preface

This book is designed to give you an insight into the world of Ethereum blockchain and enables you to make your own cryptocurrency using Ethereum. Throughout this book, you will be learning about various concepts and applying that knowledge directly, while also being introduced to the wide scope of functionality that Ethereum blockchain will be providing in the future.

Who this book is for

If you are anyone who is passionate about knowing how blockchain works, or if you are an enthusiast who wishes to work on cryptocurrencies or has an interest in hacking, then this book is meant for you.

What this book covers

Chapter 1, Workflow Setup and Thinking Blockchain, focuses on recapping the basics of Ethereum blockchain. We will go through some examples and real-life projects, trying to get you into that blockchain mindset. Then, we will set up the workflow, and the tooling around it, using npm.

Chapter 2, Developing Your First Decentralized Application with Ethereum, looks at developing your first payment application with Ethereum.

Chapter 3, Creating Your Own Cryptocurrency on the Ethereum Blockchain, takes you through how to create your own cryptocurrency on top of Ethereum blockchain.

Chapter 4, Signing Legal Documents on Blockchains and Identity Verification, will show you how you can work with legal documents and identity on Ethereum blockchain.

Chapter 5, Ethereum Outside the PC/Web Environment, explores how you can use Ethereum outside PC or web environments. We will also look at some further steps and where you can take all these lessons from here.

To get the most out of this book

Knowledge of at least one object-oriented language is required. It's very good if you know some JavaScript.

We are going to make extensive use of NPM, and we are going to recap the basics of blockchain, but some prior basic knowledge is always beneficial, of course.

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Ethereum-Projects-for-Beginners. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

 

 

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "This can be done by typing ganache-cli in the terminal window."

A block of code is set as follows:

function MetaCoin() public {
    balances[tx.origin] = 10000;
  }

Any command-line input or output is written as follows:

C:\Windows\System32\my_project>truffle-cli compile

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Type in the localhost URL mentioned previously and click Save."

Note

Warnings or important notes appear like this.

Note

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email [email protected] and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at [email protected].

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.