Skip to main content

All Questions

Filter by
Sorted by
Tagged with
8 votes
3 answers
14k views

What is the networkid and chain id of truffle cli?

I am using truffle console to deploy contracts and using Nodejs/web3js to interact with it. I wanted to use ethereumjs-tx for signing transactions, here is the reference link. I am not sure how can I ...
Parishilan Rayamajhi's user avatar
4 votes
2 answers
4k views

RangeError: private key length is invalid (In New ETH Transaction pragmatically)

Followed this Ans Ans1 and Ans2 but no solution got. const web3 = new Web3('https://ropsten.infura.io/v3/3c52917848e945229c0d33d632b10490'); const account1 = '...
Vishal Dalve's user avatar
5 votes
1 answer
3k views

Web3.js 1.0 sendSignedTransaction returns error: Invalid RLP

Running parity private PoA chain, using latest parity client + nodejs + web3.js 1.0 When I try to sign a transaction and then send it following web3.js 1.0 documentation (sendTransaction and ...
simoh92's user avatar
  • 123