I am trying to connect to https://ropsten.infura.io/my key here with web3.js. I can read stuff off the block chain but cant write to it and have no idea why. Any help?

marked as duplicate by Ismael, mirg, Richard Horrocks, Achala Dissanayake, CPereez19 May 24 '18 at 9:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Share the code for a write operation that is failing. – Shawn Tabrizi May 22 '18 at 5:17
  • Infura doesn't support sendTransaction you have to create transaction on your side sign them with your private key and use sendSignedTransaction. – Ismael May 22 '18 at 5:44

solved it. The problem was that I was trying to talk to my 'transaction' function directly. Which can not be done. Instead, sending a raw transaction did the magic.

Not the answer you're looking for? Browse other questions tagged or ask your own question.