Author

Topic: New C# Bitcoin RPC Library (Read 5220 times)

brand new
Activity: 0
Merit: 0
October 12, 2020, 10:49:44 AM
#14
good job (y)
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
August 27, 2020, 09:58:25 AM
#13
The newest up to date c# library for .net  is .Net-Bitcoin-RPC with full documentation about each call. Very easy to use.

What newer features does yours have over the original one? I looked through your project's commit history and these are the only additions I could find: https://github.com/edmlbox/.Net-Bitcoin-RPC/commit/c06532fbf1435b114b33e7235bb1fdc7c753c397#diff-793e161d67bc194802346c5b61423b04

It looks to me like the only things you added are a wrapper class for multiple wallets, a wallet name class, a wallet directory class and a class that serializes JSON.
newbie
Activity: 44
Merit: 0
August 26, 2020, 09:22:39 AM
#12
The newest up to date c# library for .net  is .Net-Bitcoin-RPC with full documentation about each call. Very easy to use.
hero member
Activity: 714
Merit: 500
September 29, 2013, 04:35:10 AM
#11
Thanks a bunch, very sexy!
member
Activity: 113
Merit: 10
September 26, 2013, 09:05:00 AM
#10
Is this library still working? I am trying to understand the code and run the test but am having a problem deserializing the result. I am getting the error:

Error setting value to 'result' on 'BitcoinNET.RPCClient.RPCResponse`1[Newtonsoft.Json.Linq.JObject]'.

I case you can't get it to work, I have made a similar RPC wrapper for bitcoin-qt: BitcoinRpcSharp - A C# wrapper for the Bitcoin JSON RPC interface

One quick example (calling getinfo):
Code:
BitcoinWallet wallet = new BitcoinWallet("http://192.168.56.1:19001", "test", "123", false);
Info info = wallet.GetInfo();
Console.WriteLine("Current difficulty: {0}", info.Difficulty);
legendary
Activity: 817
Merit: 1000
September 25, 2013, 09:18:44 PM
#9
Is this library still working? I am trying to understand the code and run the test but am having a problem deserializing the result. I am getting the error:

Error setting value to 'result' on 'BitcoinNET.RPCClient.RPCResponse`1[Newtonsoft.Json.Linq.JObject]'.
legendary
Activity: 1260
Merit: 1000
Drunk Posts
June 27, 2012, 06:20:19 PM
#8
I’m glad to see I’m not the only one that writes 10,000 lines of code without a single comment LOL.  I’m still reading thru the code making sure there isn’t a line hidden in someplace that just steals my wallet, but so far it look pretty complete.  Thanks for making this available. I’m really looking forward to digging into it and automating my SatoshiDice plays. Wink

Exactly what I'm using it for Cheesy

----------------------

I just pushed a new branch that supports batch rpc calls from this pull request, https://github.com/bitcoin/bitcoin/pull/1512

Mostly untested.
member
Activity: 108
Merit: 10
June 27, 2012, 04:28:30 PM
#7
I’m glad to see I’m not the only one that writes 10,000 lines of code without a single comment LOL.  I’m still reading thru the code making sure there isn’t a line hidden in someplace that just steals my wallet, but so far it look pretty complete.  Thanks for making this available. I’m really looking forward to digging into it and automating my SatoshiDice plays. Wink
legendary
Activity: 1260
Merit: 1000
Drunk Posts
June 27, 2012, 01:17:26 AM
#6
does it work with blockchain.infos wallet? it does implement all bitcoin rpc calls

i just want to write a small stats app

I see no reason it wouldn't as long as the rpc calls are the same.
legendary
Activity: 1428
Merit: 1000
June 27, 2012, 01:03:07 AM
#5
does it work with blockchain.infos wallet? it does implement all bitcoin rpc calls

i just want to write a small stats app
legendary
Activity: 1260
Merit: 1000
Drunk Posts
June 26, 2012, 11:57:39 PM
#4
Is there any documentation on how to use this? What is the Uri that needs to be passed into BitcoinRPC?

Look in Test.cs for a basic example. No documentation but its pretty intuitive. All commands have the same parameters as the ones passed to bitcoind, and return a basic type, xxxxxxResponse class or IEnumerable<> of one. The xxxxxResponse classes have the same property names as the JSON objects returned by bitcoind.
legendary
Activity: 817
Merit: 1000
June 26, 2012, 07:58:17 PM
#3
Is there any documentation on how to use this? What is the Uri that needs to be passed into BitcoinRPC?
legendary
Activity: 1708
Merit: 1066
June 25, 2012, 03:41:37 AM
#2
Good work there mb300sd!

Hopefully it will inspire C# coders to write with it.

:-)
legendary
Activity: 1260
Merit: 1000
Drunk Posts
June 25, 2012, 02:48:44 AM
#1
I wrote this for a couple projects I'm working on, but thought I'd share it since the only other C# library hasn't been updated in over a year. I've implemented every rpc call in 0.6.2, as well as the coin control branch.

https://github.com/mb300sd/Bitcoin.NET

Tested with Mono framework as well as Microsoft .Net.
Jump to: