Skip to Content
Ethereum Cookbook
book

Ethereum Cookbook

by Manoj P R
August 2018
Intermediate to advanced
404 pages
11h 19m
English
Packt Publishing
Content preview from Ethereum Cookbook

Getting ready

You need to have Truffle installed on your machine to try this recipe. For deployment and testing, Truffle will try to connect to an Ethereum network. Make sure that you have specified the provider in the config file.

The following scripts can be executed using Truffle's interactive console. Start the console using the following command:

truffle console

The Truffle console will look for a network called development in the Truffle configuration file and will connect to it. You can manually point to other networks using --network <network_name>. This will allow your contract to interact with your network of choice. The Truffle console also provides the option to use a specific mnemonic or account list.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Ethereum Dapps

Building Ethereum Dapps

Roberto Infante
Ethereum For Dummies

Ethereum For Dummies

Michael G. Solomon

Publisher Resources

ISBN: 9781789133998Supplemental Content