August 2018
Intermediate to advanced
404 pages
11h 19m
English
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.