Chapter 5

  1. Ganache GUI provides full UI/UX control, with lots of advanced features that you can configure. The Ganache GUI can be used while you are doing local development; however, the Ganache CLI is the command-line version of Ganache. You can use ganache-cli for your local development environment, as well as automated testing or scripting.
  2. You can use Ganache as a personal Ethereum blockchain. It is lightweight and easy to set up. However, for a private Ethereum blockchain, you can also use the Geth or Parity blockchain and run it locally.
  3. Yes, you can use the Truffle framework for deploying contracts using migration scripts in a production environment (mainnet). Truffle maintains the migration status locally, which means that, in future, you'll be able to add more migration scripts and can get your production contract states updated. Normally, the users should not run Truffle tests on production (mainnet), as this will cost you ether.
  1. Yes, the Truffle framework supports Ethereum blockchain. If you have a private Ethereum blockchain network that was built using Geth or Parity clients, you can easily use Truffle for it.
  2. Most of the time, it is better to use Infura URLs to connect to the desired network. However, if you need to send a large number of transactions on the network, you might face some issues with Infura. To send large numbers of transactions, it is better to set up your local node (Geth or Parity) so that it is connected to the desired network.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.229.15