Questions about using the NBitcoin library

2 replies 500 views
bull_2015Member
Posts: 4 · Reputation: 153
#1Feb 14, 2026, 01:48 PM
I'm looking to use the NBitcoin library for broadcasting raw transactions and setting up wallets. Is this library linked directly to the Bitcoin network, or do I need to run a full Bitcoin Core node to make it work?
4 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#2Feb 14, 2026, 05:49 PM
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.
0 Reply Quote Share
im_altSenior Member
Posts: 130 · Reputation: 817
#3Feb 14, 2026, 11:51 PM
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.
2 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics