download Ganache from https://www.trufflesuite.com/ganache
####Truffle installation:
Node version manager (nvm):
![image](https://user-images.githubusercontent.com/69525078/137113507-64a442b6-1ee2-4432-a20b-31f0b6298cfb.png)
![image](https://user-images.githubusercontent.com/69525078/137113537-7efd721b-d074-4c17-800f-0957c66d8ea7.png)
![image](https://user-images.githubusercontent.com/69525078/137113550-d411cf85-298b-42de-874e-96ee412d450b.png)
truffle via npm :
![image](https://user-images.githubusercontent.com/69525078/137113596-8224a84a-17a1-48bd-b0fa-369b19ed41de.png)
####Smart contract creation using Solidity:
the script:
####contract Faucet.sol deployment using truffle:
#####truffle repository creation:
![image](https://user-images.githubusercontent.com/69525078/137115659-ea90c98b-1ad6-49c6-bf5b-0590176a1b2e.png)
####dependency installation using npm:
####Truffle configuration connecting to Ganache:
in ganache, adding truffle-config.js file to Ganache:
####compile the contract:
contract:
in Ganache, we got some changes:
1-account balance:
2-contract balance:
3-blocs:
4-transactions: