Introduction to Truffle Framework
Written by Dr. Amol Dhumane ----------------------------------------------------------------------------------------------------------------------------- Install truffle: Go to terminal Write a command ‘npm install –g truffle’ (g is used for global installation) Check truffle version using ‘truffle version’ command ---------------------------------------------------------------------------------------------------------------------- ‘truffle init’ command is used to setup the default structure of the truffle project ‘truffle init’ command creates 3 folders: ‘contracts’, ‘migrations’ and ‘test’ folder along with them two javascript files: truffle-config.js and truffle.js ‘contract’ folder is used to place the smart contracts that you have written using solidity language. ‘migration’ folder contains the in...