Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Solidity Programming Essentials

You're reading from   Solidity Programming Essentials A beginner's guide to build smart contracts for Ethereum and blockchain

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788831383
Length 222 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Introduction to Blockchain, Ethereum, and Smart Contracts FREE CHAPTER 2. Installing Ethereum and Solidity 3. Introducing Solidity 4. Global Variables and Functions 5. Expressions and Control Structures 6. Writing Smart Contracts 7. Functions, Modifiers, and Fallbacks 8. Exceptions, Events, and Logging 9. Truffle Basics and Unit Testing 10. Debugging Contracts 1. Other Books You May Enjoy Index

MetaMask


MetaMask is a lightweight Chrome browser-based extension that helps in interacting with Ethereum networks. It is also a wallet that helps in sending and receiving Ether. MetaMask can be downloaded from https://metamask.io/. Since MetaMask runs in a browser, it does not download the entire chaindata locally; instead, it stores it centrally and helps users connect to their store using the browser. Let's take a look at the following steps:

  1. MetaMask should be added as an extension as shown in the following screenshot:
  1. Accept the privacy notice and terms of use and a small icon will appear next to the go button. MetaMask allows you to connect to multiple networks. Connect to the Localhost 8545private network as shown in the following screenshot:
  1. Provide a password to create a new key that is used by MetaMask to identify the user. It is stored in a key vault at the MetaMask central server as shown in the following screenshot:
  1. Click on the Account icon and import all already created accounts...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime
Visually different images