4

As far as I understand EthereumJS can simulate a client on a simulated blockchain and provide RPC interface (hope I'm using the right words). Does it mean I can interact with this client (and with my contract in simulated blockchain) with ethjsonrpc?

Related:

takeshi
  • 1,760
  • 1
  • 13
  • 33

1 Answers1

4

Yes since testrpc provides exactly a Remote Procedure Call interface you can use EthJsonRpc as a client library to interface with the simulated blockchain.
Just fire up testrpc in a console and it should work. I use testrpc together with truffle and it should be no different for a Python based client.

Roland Kofler
  • 11,638
  • 3
  • 44
  • 83