Bitcoin

Ordinal – Bitcoin script execution failure: Asking for help

Is there anything I can do about Bitcoin scripts failing to do their jobs?

The blockchain has original transactions 369a…76a7 with 500 outputs and change.

flowchart

As shown above, there are 25 of the intended 500 subsequent transactions on the blockchain. Those 25 have an inscription on the input (consuming 25 of the 500 outputs of the original transaction 369a…76a7).

blockchain> txfile brc500_1.hex
  Version:................01000000 (1)
  Type:...................0001 (Segwit)
  Inputs:.................01 (1)
  Input:1
    Previous Transaction:.369A184F3E941A501B99A2865F6C1DB09F39AF379EF8C63FB52689E37E3376A7
    Previous Output Index:0000 (0)
    Script Length:........00 (0)
    Unlocking Script hex:.
                     asm:.
    Sequence:.............F5FFFFFF
  Outputs:................01 (1)
  Output 1
    Value:................4A01000000000000 (330)
    Script Length:........22 (34)
    Locking Script hex:...51203BB3F303DF3529D9E693BE1C9CBDF6D5B582EE9F592381CD9777E7DF92C2
                          5406
                   asm:...1 (32)
  Witness 1
    Item Count:...........03 (3)
    Item 1
      Length:.............40 (64)
      Data:.........hex:..94D2FE87DF695FB9C40C3CC06AFCB8B7732785E0F322BC6E223363FE714C2ABD
                          D1BCB5C4525EFC8E00B4BDB2F6C3C78BB7EC37E65D8FD0517BCF7BBD03F3DD86
    Item 2
      Length:.............80 (128)
      Data:.........hex:..208093C76124876944CC7AE3F4C1AC2E5318694890ECD16C2E01FCC99B9D31EA
                          77AC0063036F7264010118746578742F706C61696E3B636861727365743D7574
                          662D38003A7B2270223A226272632D3230222C226F70223A226D696E74222C22
                          7469636B223A2273617473222C22616D74223A22313030303030303030227D68
                    asm:..(32) CHECKSIG 0 IF (ord) (1) (text/plain;charset=utf-8) 0 ("p":
                          "brc-20","op":"mint","tick":"sats","amt":"100000000") ENDIF
    Item 3
      Length:.............21 (33)
      Data:.........hex:..C08093C76124876944CC7AE3F4C1AC2E5318694890ECD16C2E01FCC99B9D31EA
                          77
  LockTime:...............00000000 (0)
  (Calculated hash is B359267DDB752FFB3ADE7EE2BDE30053B141EFDC3396242740B1F9B5BDB5EB85)


blockchain> txfile brc500_25.hex
  Version:................01000000 (1)
  Type:...................0001 (Segwit)
  Inputs:.................01 (1)
  Input:1
    Previous Transaction:.369A184F3E941A501B99A2865F6C1DB09F39AF379EF8C63FB52689E37E3376A7
    Previous Output Index:0018 (24)
    Script Length:........00 (0)
    Unlocking Script hex:.
                     asm:.
    Sequence:.............F5FFFFFF
  Outputs:................01 (1)
  Output 1
    Value:................4A01000000000000 (330)
    Script Length:........22 (34)
    Locking Script hex:...51203BB3F303DF3529D9E693BE1C9CBDF6D5B582EE9F592381CD9777E7DF92C2
                          5406
                   asm:...1 (32)
  Witness 1
    Item Count:...........03 (3)
    Item 1
      Length:.............40 (64)
      Data:.........hex:..13738044ACBBA78A353BC3DB2CF3C2C692C00171969E2DF538568AE3B5E56792
                          130CC40D7FFC0D249ECD00DE8A6F59FCC7DBDB1F8F91AC9A19C2A01AF89E268B
                    asm:..(19) DIV NUMNOTEQUAL (45)
    Item 2
      Length:.............80 (128)
      Data:.........hex:..205337C61F505AA78712D3145B8AF9D57E6C14E28C397748E4A70E14D6E65643
                          14AC0063036F7264010118746578742F706C61696E3B636861727365743D7574
                          662D38003A7B2270223A226272632D3230222C226F70223A226D696E74222C22
                          7469636B223A2273617473222C22616D74223A22313030303030303030227D68
                    asm:..(32) CHECKSIG 0 IF (ord) (1) (text/plain;charset=utf-8) 0 ("p":
                          "brc-20","op":"mint","tick":"sats","amt":"100000000") ENDIF
    Item 3
      Length:.............21 (33)
      Data:.........hex:..C15337C61F505AA78712D3145B8AF9D57E6C14E28C397748E4A70E14D6E65643
                          14
  LockTime:...............00000000 (0)
  (Calculated hash is B23783ED32C421E225C0DA1D43D301DE704066D4456820753D454C8D132E6155)

So I think you should submit the remaining 475 transactions. If your tools have limitations, you can also group them into 25 groups.

In this situation, we replicate the situation on the testnet rather than the mainnet, and then test the remaining transactions by generating them one at a time on the testnet. We will only use the mainnet once we are completely satisfied with the testnet results.

As I mentioned, I’m not an expert on ordinal numbers, inscriptions, or BRC-20. You are solely responsible for doing this.


Appendix.

The output of the original transaction is a P2TR (taproot), so a transaction that uses it must include three watchdog components: scriptPubKey, scriptSig, redemption script, and What are watchdogs for different output types? . The BRC-20 inscription is written on the second witness entry.

More information can be found in various places, including How to Distinguish between BTC and BRC20 Transactions on the Blockchain. , documentation for Taproot BIP and BRC-20 and ordinal inscriptions.

If there is no easy way to do this, canceling the transaction or using the Bitcoin amount with a regular wallet may be the easiest method.

Related Articles

Back to top button