p2tr – Error making a Taproot descriptor with a single key as script path

on

|

views

and

comments


I have to implement 1 of two multisig with P2TR.

My good friend’s Bitcoin public secret’s 0374d5f29bc6c15066437856c512f7f9e5a14a1eb93cab2776d33b27b4103c62d8.
My very own Bitcoin public secret’s 035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae/

I’ll use my public key because the Key Path and my good friend’s as script path.

Can anyone inform me the way to create a P2TR descriptor?

I obtained following errors:

./bitcoin-cli -testnet -rpcwallet=w_p2tr getdescriptorinfo "tr([0d378869/44'/1'/0'/0/1]035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae, [(0xC0, [0374d5f29bc6c15066437856c512f7f9e5a14a1eb93cab2776d33b27b4103c62d8, OP_CHECKSIG])]"
error code: -5
error message:
'tr([0d378869/44'/1'/0'/0/1]035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae, [(0xC0, [0374d5f29bc6c15066437856c512f7f9e5a14a1eb93cab2776d33b27b4103c62d8, OP_CHECKSIG])]' shouldn't be a legitimate descriptor perform

AND:

./bitcoin-cli -testnet -rpcwallet=w_p2tr getdescriptorinfo "tr([0d378869/44'/1'/0'/0/0]035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae, { pk(0374d5f29bc6c15066437856c512f7f9e5a14a1eb93cab2776d33b27b4103c62d8) })"
error code: -5
error message:
' { pk(0374d5f29bc6c15066437856c512f7f9e5a14a1eb93cab2776d33b27b4103c62d8) }' shouldn't be a legitimate descriptor perform

BUT I obtained the descriptor proper for key base solely:

./bitcoin-cli -testnet -rpcwallet=w_p2tr getdescriptorinfo "tr([0d378869/44'/1'/0'/0/0]035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae)"
{
  "descriptor": "tr([0d378869/44'/1'/0'/0/0]035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae)#wfd6rw0p",
  "checksum": "wfd6rw0p",
  "isrange": false,
  "issolvable": true,
  "hasprivatekeys": false
}

Share this
Tags

Must-read

Daimler Truck CFO Eva Scherer Joins Torc Board

Torc is happy to announce that Eva Scherer, Chief Monetary Officer (CFO) of Daimler Truck Holding AG, has joined Torc’s Board of Administrators...

GTC 2025 Recap: ‘The Competitors Is Shocked’ By Progress, Collaboration With NVIDIA, Flex

 In case you missed it: Torc Collaborates with Flex on Bodily AI Platform for Autonomous Vans, Accelerated by NVIDIA Digital Actuality was one of...

Torc Collaborates with Flex on Bodily AI Platform for Autonomous Vehicles, Accelerated by NVIDIA

The platform leverages NVIDIA DRIVE AGX with Flex’s Jupiter compute platform and manufacturing capabilities to help Torc’s productization and scaled market entry in...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here