Open RectangleSun opened 11 months ago
i also got same error idk why
if i want inscribe text / image ... any else
// step 1: get inscribeAdress by pubkey & inscriptionInfo
const {address, tpubkey, cblock, tapleaf, script} = getInscribeAddress(pubkey, inscription, network)
// step 2: send some coin to inscribeAdress and sign
const sig = Signer.taproot.sign(seckey, txdata, 0, {extension: tapleaf})
txdata.vin[0].witness = [sig, script, cblock]
// step 3: use inscribeAdress to inscribe
inscriptionMint this is a complete process
if i want inscribe text / image ... any else
// step 1: get inscribeAdress by pubkey & inscriptionInfo const {address, tpubkey, cblock, tapleaf, script} = getInscribeAddress(pubkey, inscription, network) // step 2: send some coin to inscribeAdress and sign const sig = Signer.taproot.sign(seckey, txdata, 0, {extension: tapleaf}) txdata.vin[0].witness = [sig, script, cblock] // step 3: use inscribeAdress to inscribe
inscriptionMint this is a complete process
Still got an error: {"code":-26,"message":"non-mandatory-script-verify-flag (Witness program hash mismatch)"}
Hello, I am a new BTC developer. I am still learning how to interact with the BTC network. I used your project and got an error when deploying signature transactions. Can you help me answer it?
Error: sendrawtransaction RPC error: {"code":-26,"message":"non-mandatory-script-verify-flag (Witness program hash mismatch)"}
This is an error reported in a broadcast transaction.