ord icon indicating copy to clipboard operation
ord copied to clipboard

How to spend the UTXOs on a "commit tx recovery key" address?

Open passcore42 opened this issue 1 year ago β€’ 7 comments

I transferred funds to a "commit tx recovery key" address generated by ord. The balance is visible in my Bitcoin Core wallet, but I can't spend the funds. When I try to inscribe, it shows an error message. error: Failed to send commit transaction because: JSON-RPC error: RPC error response: RpcError { code: -26, message: "non-mandatory-script-verify-flag (Witness program was passed an empty witness)", data: None } When I try to transfer out, it shows: error: JSON-RPC error: RPC error response: RpcError { code: -6, message: "Signing transaction failed", data: None }

I imported the recovery phrase into Sparrow wallet, but the UTXOs in these addresses cannot be displayed. How can I resolve this issue?

passcore42 avatar Apr 29 '23 05:04 passcore42

I have this same issue. Missed a step of adding to bitcoin.conf to expand the 25tx limit and now have a ton of sats stuck on addresses where the reveal was never sent.

cryptaralex avatar Jun 02 '23 18:06 cryptaralex

I'm a little confused about what a "commit tx recovery key" address is. What are the steps you used to get the address?

casey avatar Aug 31 '23 18:08 casey

I'm a little confused about what a "commit tx recovery key" address is. What are the steps you used to get the address?

I have this same issue,you can get the "commit tx recovery key" address by command "bitcoin-cli.exe listunspent",but the address and utxo don't show in ord and Sparrow wallet. image

huguojunsy avatar Apr 21 '24 06:04 huguojunsy

There are some others here who have encountered the same issue. #3629

huguojunsy avatar Apr 21 '24 06:04 huguojunsy

from what I was able to gather, the reason bitcoin core can't just send the commit tx output is because it's not aware of the specific script path that ord uses which at the very least includes the rune name (possibly the supply, minting specifics, etc. not sure if thats in the op_return or in the witness)

so somehow will need to add that information to the createrawtransaction in bitcoin-cli so that the spend conditions are satisfied, my guess is it's stored in the wallet redb in ord but no idea how to recover it

loon3 avatar Apr 21 '24 14:04 loon3

I'm a little confused about what a "commit tx recovery key" address is. What are the steps you used to get the address?

I have this same issue,you can get the "commit tx recovery key" address by command "bitcoin-cli.exe listunspent",but the address and utxo don't show in ord and Sparrow wallet. image

This utxo can display in 0.18.1 ord.exe as a cardinal,But :

  1. if it is sent through the command line β€œord send”, it will report an error:"Unable to sign transaction".
  2. if use this canrdinal to inscribe,it will report error:JSON-RPC error: RPC error response: RpcError { code: -26, message: "mandatory-script-verify-flag-failed (Witness program was passed an empty witness)", data: None }

huguojunsy avatar Apr 22 '24 03:04 huguojunsy

https://github.com/ordinals/ord/issues/3647#issuecomment-2071082821

raphjaph avatar Apr 23 '24 16:04 raphjaph