Good morning,
I need to known how call contract method in javascript from specific address(and relative private key) without the check of Metamask. I explain better.
This is an example of js code, it works but every time i call the method, Metamask ask the check and i need to iterate this function.
func: function() {
App.contracts.Bidder.deployed().then(function(instance) {
return instance.addBid(1, 10, 1, { from: address });
So I ask if there is a way to do this automatically inserting the private key in the code like the address.
This is for a local blockchain with truffle and ganache.
Thanks.