August 2019
Intermediate to advanced
486 pages
13h 52m
English
We are going to access the local blockchain using the ganache-cli command. If ganache-cli is not already installed on your machine, you can run the following command to install it; otherwise, you can ignore it and directly start the blockchain:
$ npm install -g ganache-cli
To start the local blockchain, follow these steps:
$ ganache-cli -p 9545
$ npx zos session --network local --from 0x0421E4eB85b5a8443A8Fd5cc8ab3FfA0B723Db26 --expires 3600
In ...