Author

Topic: Sample taproot spending transaction on signet (Read 135 times)

copper member
Activity: 821
Merit: 1992
October 09, 2021, 02:15:28 PM
#3
Now it should be possible: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-October/019533.html
Sample taproot spending transaction in testnet by Pieter Wuille: bdf38397551d39d5fdb9fca0868b07abee69afbb7c27a1b8d2be5f53a65405d5
copper member
Activity: 906
Merit: 2258
Is there any example? I tried doing it myself with private key equal to one, but so far Bitcoin Core does not know how to sign that transaction:
Code:
signrawtransactionwithwallet "02000000015248ca4550bf88baa3b8d2e763c2bc169526e5f140ce3fe01ad2a7fac7524b330100000000ffffffff01905f010000000000160014751e76e8199196d454941c45d1b3a323f1433bd600000000" "[{\"txid\":\"334b52c7faa7d21ae03fce40f1e5269516bcc263e7d2b8a3ba88bf5045ca4852\",\"vout\":1,\"scriptPubKey\":\"512079be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"witnessScript\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\"}]"
{
  "hex": "02000000015248ca4550bf88baa3b8d2e763c2bc169526e5f140ce3fe01ad2a7fac7524b330100000000ffffffff01905f010000000000160014751e76e8199196d454941c45d1b3a323f1433bd600000000",
  "complete": false,
  "errors": [
    {
      "txid": "334b52c7faa7d21ae03fce40f1e5269516bcc263e7d2b8a3ba88bf5045ca4852",
      "vout": 1,
      "witness": [
      ],
      "scriptSig": "",
      "sequence": 4294967295,
      "error": "Witness program was passed an empty witness"
    }
  ]
}
Jump to: