If you're not familiar with MetaMask, I recommend reading this introduction. Let's connect to each, then send Ether from one to the other. It's a virtual node, sure, but it's used the same way as any real node and that means you can connect to it with wallets like MyEtherWallet or even browser wallets like MetaMask. Notice that there are several addresses with 100 Ether each.īy running Ganache, you effectively have your own Ethereum node running. Once you run Ganache, you should see a screen like this: Usually for the UI version (which I'll assume we're using throughout the rest of this post) that's localhost:7545 or 127.0.0.1:7545 while the CLI version tends to go with port 8545. When you fire it up, it will default to a certain port and IP address. My recommendation is the UI version purely because of simplicity.
#How to install ethereum mist browser download
You can decide which one you want to download on their download page. Ganache comes in two flavors: CLI and UI.
#How to install ethereum mist browser code
This makes iterative development possible - you can write unit tests for your code which execute on this simulated blockchain, deploy smart contracts, play around, call functions, and then tear it all down for further simulation or new tests, returning all addresses to their initial state of 100 Ether. There is no "mining" per-se with Ganache - instead, it immediately confirms any transaction coming its way.
![how to install ethereum mist browser how to install ethereum mist browser](https://1.bp.blogspot.com/-1QWrhxd6Dlw/W176v761wnI/AAAAAAAAZp0/Si0Kd7GztJAMtMl35DzE-hHmK2_bVywCgCK4BGAYYCw/s1600/Screenshot%2Bfrom%2B2018-07-30%2B17-16-20.png)
Ganache, previously Testrpc, is a virtual blockchain which sets up 10 default Etheruem addresses, complete with private keys and all, and pre-loads them with 100 simulated Ether each. What if you could have your own private environment to play in where you can't break anything while at the same time being able to connect any external tool to this environment? This is something that Remix cannot (smoothly) help with. When working with EVM (Ethereum Virtual Machine) code that's going to end up in production, you're going to need inheritance, tests, auto-completion, helper tools like linters and validators and much more.
![how to install ethereum mist browser how to install ethereum mist browser](https://cdn.consensys.net/uploads/wallet-demo.gif)
It is a browser based system and as such, tooling is limited.
![how to install ethereum mist browser how to install ethereum mist browser](https://1.bp.blogspot.com/-s7zIOE1I0VI/WrC8L1wSy6I/AAAAAAAANg4/u2K9EQANKXgaNp411SC3PDMdZCKpvpWOgCLcBGAs/s400/1.png)
Remix - the browser based IDE for writing and deploying Solidity code for the Ethereum blockchain - is fine and all, but it can be slow to develop on.