Invalid Sender when I use ethereumjs-accounts + web3 + web3hookedPRovider

sdevmichaelsdevmichael Posts: 4Member
I am basically creating keys in my browser using ethereumjs-accounts and then sending a signed transaction using web3hooked provider . Sometimes the transaction goes through but most of time I get Invalid Sender error . Sometimes even though the tranaction goes thru , I still see the transaction in queue state ,not in pending state . I see similar issue here.(https://github.com/ethereum/web3.js/issues/416) Any one have any solution for this ?

Comments

  • ZikileminiZikilemini Posts: 9Member
    Can you details every thing about your transaction ? Gas used, gas price, sender, receiver, data, nonce etc if you know it.
  • sdevmichaelsdevmichael Posts: 4Member
    I am doing a simple transaction

    web3.eth.sendTransaction({
    from: $("web3_fromAddress").value
    , to: $("web3_toAddress").value
    , value: web3.toWei($("web3_value").value, 'ether')
    , gas: 300000
    }, function(err, result){
    var html = '';

    if(err)
    html = 'There was an error with the transaciton: ' + String(err);
    else
    html = 'The transaction went through succesfully, hash: ' + String(result);

    $("web3_result").innerHTML = html;
    });
  • sdevmichaelsdevmichael Posts: 4Member
    Sender and receiver address are generated by ethereum accounts
Sign In or Register to comment.