Questions tagged [c#]

Pronounced "C-Sharp". A computer language developed by Microsoft.

Filter by
Sorted by
Tagged with
4
votes
2answers
16k views

How do I call JSON RPC API using C#?

How do I access the JSON RPC API in C# in such a way that I can also read the errors that the interface provides?
3
votes
1answer
4k views

How do I Base58 Checked encode / decode an address in C#? What does “normalize leading zeros” mean?

I am trying to encode and decode a Base58 address in C#. The following function is a start, but it has a few issues: This code does not normalize leading zeros (what does that look like?) If this ...
7
votes
2answers
5k views

C# parse bitcoin blockchain to get balance of an address

Is there a way to scan the Bitcoin blockchain in C# without using an external API? I am looking for the amount of spendable money of a Bitcoin address. I am using NBitcoin. // create new key pair ...
9
votes
6answers
10k views

Are there any C# Bitcoin libraries and/or mining pool software packages?

I was keen to write/launch a .Net pooled mining server as an exercise of getting into the Bitcoin universe. Are there any C# ports of the libraries needed to achieve this? If not Are there any ...
4
votes
1answer
1k views

JSON-RPC signrawtransaction returns false when using private keys

I've been working with BitcoinLib testing various parameters on the signrawtransaction rpc call. It's been mostly successful, however there seems to be a persisting problem when using only private ...
2
votes
1answer
190 views

Looking for unit testing data for Block.Bits to & from a JSON-RPC string

I'm trying to convert the JSON-RPC result of a Block's compressed bits property into a C# float with the following constraint //3 bytes mantissa, the leading byte as exponent (where only the 5 ...