When using the online Remix IDE, the Run tab has default values of Environment="JavaScript VM" and Account=<a list of addresses I don't own that already have 100 ether each>. What exactly is this environment? Is it a private (test) network that gets set up each time I refresh the browser (which would explain how it seems to be able to simply give me ether to play with) or something else?


From the docs, for the JavaScript VM environment:

transactions will be executed in a sandbox blockchain in the browser. This means nothing will be persisted and a page reload will restart a new blockchain from scratch, the old one will not be saved.

So, yes, Remix uses a private blockchain and accounts by default that you can use for testing.

  • Any idea on how to query that blockchain for things like current block number? Oct 27 '18 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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