Questions tagged [.net]
9 questions
3
votes
1 answer
'The node is not in a connected state' error when trying to execute OP_RETURN transaction with NBitcoin
This is my first time trying out the NBitcoin library to create a transaction. I am trying to create an OP_RETURN transaction, but every time I try to execute the Version Handshake with the node I get the error: The node is not in a connected…
cfly24
- 101
- 3
3
votes
2 answers
How to generate a Litecoin Private key and correspondent Public Address in C#
I found this C# tool to generate addresses for Bitcoin (compressed and uncompressed):
https://en.bitcoin.it/wiki/Bitcoin_Address_Utility
https://github.com/casascius/Bitcoin-Address-Utility
It works perfectly for Bitcoin, but for Litecoin it seems…
Gustir
- 33
- 4
1
vote
1 answer
NBitcoin and Mnemonic Standards
I am very new to Bitcoin development so forgive me...
I'm using NBitcoin in a .Net console app to generate a master key using a mnemonic and then derive hierarchical keys. Here is the code I am using:
Mnemonic mnemo = new Mnemonic(Wordlist.English,…
INNVTV
- 133
- 5
1
vote
0 answers
Creating HD wallets with BouncyCastle in C#?
I'm trying to write a class that can be used to generate public/private key pairs for bitcoin (and any of its 'clones'), I found some code elsewhere that uses BouncyCastle to generate keys, here's the part that is currently generating a private…
Alex Ashmore
- 11
- 1
1
vote
3 answers
What is the best way to monitor non-wallet addresses for new transactions
The main purpose is to have "payment done" confirmation as fast as possible, within some seconds.
First option is to implement it myself. Now I have the following implementation based on querying Bitoin-qt from .NET API:
I receive all new…
Alex
- 183
- 11
1
vote
1 answer
c# BitcoinLib: GetRawTransaction verbose=1 does not work
I want to find out confirmation number for non-wallet transaction.
When I use
CoinService.DecodeRawTransaction(CoinService.GetRawTransaction("5bc89f4e7f7fe4bd6bd15b439038e2a50a88c158680814164d3428a73a84daef")) I got transaction details, but without…
Alex
- 183
- 11
0
votes
1 answer
About Nbitcoin NodeBehavior
We wrote our transaction listener and we were implement the NodeBehavior class. But when I update version of NBitcoin v3.0.0.60 to v4.1.1.46 I can't use the NodeBehavior. Because Nbitcoin cannot support to Protocol.Behaviors. What can I do? Are…
Turgut Kanceltik
- 101
- 2
0
votes
1 answer
getrawtransaction - find destination and "change" addresses
How to get destination address and amount from result of getrawtransaction and how to distinguish it from "change" address using rpc api.
Alex
- 183
- 11
0
votes
5 answers
Monitor non-wallet bitcoin addresses for new transactions
This is usual checkout functionality. Show address to the user and needs to monitor it for new transaction during n minutes. Addresses are not unique for each payment.
Optional:it would be good to have listener for transaction with certain incoming…
Alex
- 183
- 11