Author

Topic: I'm Trying to Make A Script That Spends BTC from A Taproot (bech32m) Address (Read 57 times)

newbie
Activity: 19
Merit: 25
I want to build an app that uses taproot addresses in C#. The problem is that I can't find any good tutorials on how to spend BTC from a taproot address in C#. I want to use NBitcoin https://github.com/MetacoSA/NBitcoin, and I am trying to build a simple C# command line app that spends btc from an address as a mvp of taproot spending functionality. I know that NBitcoin has the capacity to spend BTC from a taproot address because this exists in the tests, https://github.com/MetacoSA/NBitcoin/blob/40ca72b3e4da8baf58e6c06801cd4b0e66cb8b59/NBitcoin.Tests/sample_tests.cs#L15. So how can I build the simplest possible send btc from a taproot address console app in C#? Has anyone here ever done this?
Jump to: