Author

Topic: Inquiry and help regarding NBitcoin library (Read 71 times)

legendary
Activity: 1042
Merit: 2805
Bitcoin and C♯ Enthusiast
July 27, 2024, 01:38:17 AM
#3
You don't need the overhead of a SPV client if all you need is to push a tx to the network. You can do it with much less. Feel free to check out my project Bitcoin.Net and its MinimalClient. There is a UI for pushing txs too which you can follow here:
https://github.com/Autarkysoft/Denovo/blob/master/Src/Denovo/ViewModels/PushTxViewModel.cs

I wouldn't recommend using it for wallet generation at the moment since I've been changing the ECC implementation and it might not be the safest option.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
Most of its features require a Full Node but according to their documentation, it includes an "SPV Wallet Implementation".

API Documentation link: https://metacosa.github.io/NBitcoin/api/index.html#description

"SPV" (Simple Payment Verification) like what Electrum is based upon, meaning that you may be able to do those without you own Full Node software.
Study Electrum's protocol to see if you can find a way to be able to connect to its public servers.
(some wallets do that)

Of course, DYOR (I didn't) since no one will do that for you unless they already have a working implementation to use as reference.
newbie
Activity: 11
Merit: 2
I want to use the NBitcoin library to broadcast raw transactions and create wallets. Is this library connected to the Bitcoin network or do I have to download a full Bitcoin Core node to use it?
Jump to: