Counter Smart Contract and web3 Webpage as user interface.
- Use truffle to deploy the contract to ganache.
- Adapt your ganache settings in
truffle-config.js - Build and deploy in solidity directory
truffle deploy
- Adapt your ganache settings in
- Change the contract address in
index.js - Publish webpage with a webserver and open
index.html - Use Metamask as wallet