Questions tagged [nbitcoin]

A comprehensive Bitcoin library for the .NET framework.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
534 views

How to Use TransactionBuilder in NBitcoin

I have used this code. It returns a success, but does not send bitcoin. var txRepo = new NoSqlTransactionRepository(); // Let’s me introduce you, Alice, Bob, Satoshi, and Nico with their ...
2
votes
1answer
152 views

NBitcoin get signature, use spending P2SH transaction with non-standard script

After creating a new NBitcoin transaction (with a single pay-to-script hash input and multiple outputs), is there any way to calculate the transaction signature and manually put it in the inputs[0]....
2
votes
0answers
217 views

Nbitcoin node c#

Create a transaction to send money, then it needs to be "registered" in the system, before doing so : using (var node = Node.Connect(Network.Main, node_address))//, node_address { ...
2
votes
0answers
835 views

nbitcoin Get balance

Try to get balance : var bitcoinPrivateKey = new BitcoinSecret("xxxx"); var network = bitcoinPrivateKey.Network; var address = bitcoinPrivateKey.GetAddress(); var client = new QBitNinjaClient(...
1
vote
2answers
232 views

NBitcoin, how to implement wallet restoration? How does it work?

at first sorry for my ignorance, I have little experience at bitcoin programming. Im trying to implement a very simple wallet using NBitcoin library. I have done some work, but now Im stucked with ...
0
votes
0answers
10 views

Nbitcoin: The redeem provided does not match the scriptPubKey of the coin

Trying to spend litecoin from a p2sh address, i get this error when trying to convert utxos to scriptcoin. var add1 = "MP3RwwmVDoHw3h25uKHn8PLA8DhjaZtooQ"; var fromadd = BitcoinAddress....
0
votes
2answers
38 views

How can I get all transaction for a specific address using Nbitcoin?

How can I get all transactions for a specific address using Nbitcoin? This would be really helpful Punnoose
0
votes
0answers
73 views

Using NBitcoin to send Btc in C#

I have a variable number of addresses I want to send Btc to and I have a wallet (created in NBitcoin) as the source. A couple of questions. All the examples use the fluent methodology to declare, ...