4

I've followed the instructions for installing ethereumjs testrpc (https://github.com/ethereumjs/testrpc)

I have Node v.6.9.1

I'm on macOS so I have XCode Command Line Tools installed.

Running npm install -g ethereumjs-testrpc completed without error.

Running which testrpc returns /usr/local/bin/testrpc

Then I run testrpc and no error occurs and it states Listening on localhost:8545

When I navigate to localhost:8545 I get 400 Bad Request.

I haven't done anything yet and I'm not sure why this is happening. Has anyone else come up against this issue when installing ethereumjs testrpc

1 Answer 1

3

TestRPC is a ethereum node client, which provides you with a sandbox blockchain, where there is no mining and virtually endless amounts of ether for developing and testing. You can use it for developing with Truffle, for example. The address you have there is the so called RPC address, it tells things where to find an ethereum node client. Therefore, you cannot open it in a browser.

1
  • so, how i can to get transaction info by locally hash which ganache shows ?
    – Vadim
    May 13, 2021 at 15:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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