To get the most out of this book
In order to gain the most from this book, some familiarity with computer science and basic knowledge of a programming language is desirable. However, beginner-level knowledge of computing in general and enthusiasm to learn should suffice!
Download the example code files
You can download the example code files for this book from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
- Log in or register at http://www.packtpub.com.
- Select the SUPPORT tab.
- Click on Code Downloads & Errata.
- Enter the name of the book in the Search box and follow the on-screen 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/Mastering-Blockchain-Third-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781839213199_ColorImages.pdf.
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. For example, "The call
, callcode
, and delegatecall
functions are provided in order to interact with functions that do not have an ABI."
A block of code is set as follows:
pragma solidity >5.0.0;
contract Test1
{
uint x=2;
function addition1() public view returns (uint y)
{
y=x+2;
}
}
Any command-line input or output is written as follows:
$ sudo apt-get install solc
Bold: Indicates a new term, an important word, or words that you see on screen, for example, in menus or dialog boxes, which also appear in the text like this. For example: "Two notable schemes that originate from ECC are Elliptic Curve Diffie-Hellman (ECDH) for key exchange and Elliptic Curve Digital Signature Algorithm (ECDSA) for digital signatures."
Warnings or important notes appear like this.
Tips and tricks appear like this.