This is a sample project for writing simple smart contracts in solidity and testing them on a local net.
NODE - https://nodejs.org/en/
- Download Ganashe - https://www.trufflesuite.com/ganache OR https://github.com/trufflesuite/ganache-ui/releases#user-content-2.6.0-beta.3-How-to-Upgrade
- Installe truffle:
npm install truffle -g
- Compile contracts:
truffle compile
- Start Ganashe
- Deploy contracts to local BC(Ganashe)
truffle migrate
- Start client:
cd client
npm i
npm start
extra: install - https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity