1

It runs fine with segwit addresses starting with a 1, but not native segwit. Prefix 1 is used by legacy addresses. You can check the other prefixes used here: https://en.bitcoin.it/wiki/List_of_address_prefixes Is there a way to use native segwit with Nbitcoin? Replace BitcoinPubKeyAddress with BitcoinWitPubKeyAddress in your code for using native segwit ...


1

NBitcoin is only a library. In order to get notified upon receipt of funds you would need to be running a bitcoin implementation such as bitcoin-core and use it's JSON-RPC, or ZMQ or it's built-in features like walletnotify. https://github.com/NicolasDorier/NBitcoin.Docs/blob/master/README.md How do I use walletnotify?


1

Use var key = mnemoObj.DeriveExtKey(); then you can derive addresses as explained in this chapter (https://programmingblockchain.gitbook.io/programmingblockchain/key_generation). mnemo = new Mnemonic("minute put grant neglect anxiety case globe win famous correct turn link", Wordlist.English); hdRoot = mnemo.DeriveExtKey("my ...


Only top voted, non community-wiki answers of a minimum length are eligible