Bitcoin Forum
April 27, 2024, 08:19:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I'm Trying to Make A Script That Spends BTC from A Taproot (bech32m) Address  (Read 55 times)
warpanomaly (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 25


View Profile
December 28, 2023, 08:55:12 PM
 #1

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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!