Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Blockchain

You're reading from  Mastering Blockchain

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781787125445
Pages 540 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (20) Chapters

Mastering Blockchain
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Blockchain 101 2. Decentralization 3. Cryptography and Technical Foundations 4. Bitcoin 5. Alternative Coins 6. Smart Contracts 7. Ethereum 101 8. Ethereum Development 9. Hyperledger 10. Alternative Blockchains 11. Blockchain-Outside of Currencies 12. Scalability and Other Challenges 13. Current Landscape and Whats Next

Setting up a development environment


The first task is to set up a development environment. The upcoming section introduces the ethereum setup for Test Net and Private Net. Test Net is called Ropsten and is used by developers or users as a test platform to test smart contracts and other blockchain-related proposals. The Private Net option in Ethereum allows the creation of an independent private network that can be used as a distributed ledger between participating entities and for the development and testing of smart contracts. While there are other clients available for Ethereum, such as Parity, which was discussed in the previous chapter, geth is the leading client for Ethereum and the common tool of choice, as such this chapter will use geth in the examples.

Test Net (Ropsten)

The Ethereum Go client, geth, can be connected to the test network using the following command:

$ geth --TestNet

A sample output is shown in the following screenshot. The screenshot shows the type of the network...

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 AU $19.99/month. Cancel anytime}