Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hyperledger Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Hyperledger Cookbook

Hyperledger Cookbook

By : Xun (Brian) Wu, Chuangfeng Zhang, Zhibin (Andrew) Zhang
5 (2)
close
close
Hyperledger Cookbook

Hyperledger Cookbook

5 (2)
By: Xun (Brian) Wu, Chuangfeng Zhang, Zhibin (Andrew) Zhang

Overview of this book

Hyperledger is an open-source project and creates private blockchain applications for a range of domains. This book will be your desk reference as you explore common and not-so-common challenges faced while building blockchain networks using Hyperledger services. We'll work through all Hyperledger platform modules to understand their services and features and build end-to-end blockchain applications using various frameworks and tools supported by Hyperledger. This book's independent, recipe-based approach (packed with real-world examples) will familiarize you with the blockchain development cycle. From modeling a business network to integrating with various tools, you will cover it all. We'll cover common and not-so-common challenges faced in the blockchain life cycle. Later, we'll delve into how we can interact with the Hyperledger Fabric blockchain, covering all the principles you need to master, such as chaincode, smart contracts, and much more. We'll also address the scalability and security issues currently faced in blockchain development. By the end of this book, you will be able to implement each recipe to plan, design, and create a full-fledged, private, decentralized application to meet organizational needs.
Table of Contents (12 chapters)
close
close

Creating externally owned accounts and writing Solidity contracts on Seth

The easiest way to write Solidity contracts and check their grammar is to write them with Remix (https://github.com/ethereum/remix).

We will implement a similar smart contract as we did with Burrow to create an EOA account and perform transactions to deposit, withdraw, and query the account on the Sawtooth network via Seth.

How to do it...

  1. Create an externally owned account (EOA) with the Seth CLI. Start up shell in the seth-cli-go container:
sudo docker exec -it seth-cli-go bash
  1. In the container shell, generate a password-encrypted key file with OpenSSL:
openssl ecparam -genkey -name secp256k1 | openssl ec -out kevin.pem -aes128

  1. Generate another...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY