I am aware that metamask will enable effective security for processing via the web browser a payable function action to a smart contract.
What happens in batch?
I have an API service which then needs to call payable functions in smart contracts. There would be no direct human involvement in the call. It would be all machine based.
Is there a secure way to call the function so that the private keys are not exposed on the server or in the code under these conditions?
I wondered if truffle would work for this.