0

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?

2
  • Share the code for a write operation that is failing. May 22, 2018 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, 2018 at 5:44

1 Answer 1

0

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.