I want to create an interface to interact with my smart contract. I have got an example from the following link. Counter
Before implementing my contract, I have tried to use the given example.But it throws an error - " Unable to find web3. Please run MetaMask (or something else that injects web ".But I am able to run the dApp from their website - Counter
<script src=".\dist\web3.min.js"></script>.Now it is showing found web3. But not able to access the functions.Stuck at somewhere.I will check the issue and add my doubts as next comment.Thank you. – Pt.AR Oct 15 '18 at 12:18Error: authentication needed: password or unlock. So that I have to always unlock the account from geth console. I have tried to addweb3.personal.unlockAccount(account1,"password")in my script,but it is not working. – Pt.AR Oct 16 '18 at 06:160.Send transaction is working,but the counter value is not incremented. – Pt.AR Oct 16 '18 at 08:18