I have seen two usages over the internet
1.
const ganache = require("ganache-cli");
web3.setProvider(ganache.provider());
2.
const ganache = require("ganache-core");
web3.setProvider(ganache.provider());
What is the main differene in these two cases. I know that ganache-cli
utilizes ganache-core
. What is the addon that ganache-cli
is providing.