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?
Questions about using the NBitcoin library
2 replies 500 views
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.
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.
?Reply
Sign in to reply to this topic
Related topics
- Creating a list of non-zero wallets and their balances using Python 4
- Curious about recovering BTC from 2010/2011 7
- Using two different Bitcoin versions without messing up blockchain data 3
- Using Electrum to Transfer from BRD Wallet with HPS Address 8
- What Should I Know About Multisig Wallets? 13
- Recovering a Bitcoin wallet and address 8