Skip to content

Instantly share code, notes, and snippets.

@olibd

olibd/test.cs Secret

Last active May 10, 2017 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olibd/3dc8e959b7d8734c5d0aa12b244ec1d1 to your computer and use it in GitHub Desktop.
Save olibd/3dc8e959b7d8734c5d0aa12b244ec1d1 to your computer and use it in GitHub Desktop.
//We configure embeded test rpc instance
launcher = new TestRPCEmbeddedRunner();
launcher.RedirectOuputToDebugWindow = true;
launcher.Arguments = "--port 8545";
//We configure embeded test rpc instance
launcher.StartTestRPC();
web3 = new Web3();
//get first account
addressFrom = (await web3.Eth.Accounts.SendRequestAsync())[0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment