Skip to content

Instantly share code, notes, and snippets.

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 brandon-barker/8095386 to your computer and use it in GitHub Desktop.
Save brandon-barker/8095386 to your computer and use it in GitHub Desktop.
BitnetClient bc = new BitnetClient("http://127.0.0.1:8332");
bc.Credentials = new NetworkCredential("user", "pass");
 
var p = bc.GetDifficulty();
Console.WriteLine("Difficulty:" + p.ToString());
 
var inf = bc.GetInfo();
Console.WriteLine("Balance:" + inf["balance"]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment