Closed Arunpandiaraja closed 3 months ago
Hey @junderw if u take a look at this, it would be really helpful
The code seems to be fine
I suggest optimizing psbt.finalizeInput(0, customFinalizer)
with psbt.finalizeInput(0)
first
if it does not work
I suggest providing a code that can be run directly so that I can help you pick food
hello @Arunpandiaraja
Is this problem solved?
Hey @jasonandjay, turns out I was trying to pull a magic trick with only the reveal and forgot to do the commit first! 🤦♂️ But once I finally passed the commit output to the reveal, it all worked like a charm! 🎩✨ Thanks for the assist! 😅 So closing this issue.
Can you tell me how you solved it? Where did the specific code change? I am now experiencing the same problem as you. I manually transferred the UTXO number to reveal and then broadcasted it to me through it
I'm trying to do a text inscription with this reference https://github.com/fboucquez/ordinal-inscription-example-using-bitcoinjs-lib , but running into this issue RPC error: {"code":-26,"message":"non-mandatory-script-verify-flag (Witness program hash mismatch)"} Note: (im using from and to same address, for testing), have added code below and other info to debug and also im using custom signet. any help would be much appreciated
Public key:
036adf52825306784f4488892acdf65eab7c9793435879e7d74391fc1ce11710a1
From and to Taproot address:
tb1p0h2kzz5utk2rlw5ytkyqdv0v8mr2hz35k548nvwa7xz8z8qks6psjy0t8f
TxHex:
02000000000101d34f9a2d2b2cffa68776c181d7d2ae7f6c9047518be59a72703b5524e8dcfbe80000000000ffffffff0140420f0000000000160014b206974d3306ff4fc78acb60b7c0cbfb9c38da5e034086ada43d5d7b497abb7f7b1c2328a9111bfd290577c5c5bbbd82389e2ea22a8d9395cdcae6994694b0e2219dd889b3160262303dbd411c512a4091aff52e82db51206adf52825306784f4488892acdf65eab7c9793435879e7d74391fc1ce11710a1ac0063036f7264010118746578742f706c61696e3b636861727365743d7574662d38000b48656c6c6f204172756e216821c06adf52825306784f4488892acdf65eab7c9793435879e7d74391fc1ce11710a100000000
My Utxos: