- Go to https://trufflesuite.com/ganache/
- Download the latest version of Ganache
- Go to the folder where you have downloaded Ganache
- Open a terminal from the folder
- Change the execution mode
sudo chmod a+x ganache-2.7.1-linux-x86_64.AppImage
- Install libfuse2
sudo apt-get install fuse libfuse2
- Run the Ganache Image
./ganache-2.7.1-linux-x86_64.AppImage
- Flash Screen of Gananche
- Click on QuickStart
- Accounts created in Gananche
- Genesis Block created
- Contents of Block 0
- Log
- Login to Metamask Wallet
- Add Ganache Test Network with the following credentials
- Network Name : Ganache
- New RPC URL : HTTP://127.0.0.1:7545
- Chain ID : 1337
- Currency Symbol : ETH
- Add Accounts from Ganache into Metamask
- Open the Ganache IDE, clicl on the privatre key for any account. Copy the Private Key
- Go to Matamask, select Import Account option.
- Paste the Private Key of the Account. Click on Import button.
- Check the status of Account added to the Metamask
On the Remix IDE, select the Environment : Injected Provider(Metamask) . Follow the steps to establish Connection. Select an Account from the Wallet
- After compiling the Smart Contract in Remix IDE, deploy the Contract.
- Metamask Account status is updated
-
Check the Ganache Environment. We can see that the Transaction Count for the first account is 1
-
Check the Mined Block
- Check the Transaction details
- Perform the functions in the Smart Contract, Storage.sol
- Chek the Transaction details in Ganache
- Metamask to understand how to install Metamask Wallet
*Ganache steps to install Ganache and understand the basics of Ganache
-
Metaschool for the article on How to add Ganache RPC to MetaMask. this was helpful in setting the Ganache Network in Metamask.