Thursday, December 19, 2024

ordinals – Unsuccessful Bitcoin Script Execution: In search of Help

Is there something I can do for Bitcoin script that didn’t fulfill their job?

The blockchain has your authentic transaction 369a…76a7 with 500 outputs plus change.

flow diagram

As proven above, the blockchain additionally has 25 of your supposed 500 subsequent transactions. These 25 have inscriptions of their inputs (consuming 25 of the five hundred outputs of your authentic transaction 369a…76a7):

blockchain> txfile brc500_1.hex
  Model:................01000000 (1)
  Kind:...................0001 (Segwit)
  Inputs:.................01 (1)
  Enter:1
    Earlier Transaction:.369A184F3E941A501B99A2865F6C1DB09F39AF379EF8C63FB52689E37E3376A7
    Earlier Output Index:0000 (0)
    Script Size:........00 (0)
    Unlocking Script hex:.
                     asm:.
    Sequence:.............F5FFFFFF
  Outputs:................01 (1)
  Output 1
    Worth:................4A01000000000000 (330)
    Script Size:........22 (34)
    Locking Script hex:...51203BB3F303DF3529D9E693BE1C9CBDF6D5B582EE9F592381CD9777E7DF92C2
                          5406
                   asm:...1 (32)
  Witness 1
    Merchandise Depend:...........03 (3)
    Merchandise 1
      Size:.............40 (64)
      Information:.........hex:..94D2FE87DF695FB9C40C3CC06AFCB8B7732785E0F322BC6E223363FE714C2ABD
                          D1BCB5C4525EFC8E00B4BDB2F6C3C78BB7EC37E65D8FD0517BCF7BBD03F3DD86
    Merchandise 2
      Size:.............80 (128)
      Information:.........hex:..208093C76124876944CC7AE3F4C1AC2E5318694890ECD16C2E01FCC99B9D31EA
                          77AC0063036F7264010118746578742F706C61696E3B636861727365743D7574
                          662D38003A7B2270223A226272632D3230222C226F70223A226D696E74222C22
                          7469636B223A2273617473222C22616D74223A22313030303030303030227D68
                    asm:..(32) CHECKSIG 0 IF (ord) (1) (textual content/plain;charset=utf-8) 0 ({"p":
                          "brc-20","op":"mint","tick":"sats","amt":"100000000"}) ENDIF
    Merchandise 3
      Size:.............21 (33)
      Information:.........hex:..C08093C76124876944CC7AE3F4C1AC2E5318694890ECD16C2E01FCC99B9D31EA
                          77
  LockTime:...............00000000 (0)
  (Calculated hash is B359267DDB752FFB3ADE7EE2BDE30053B141EFDC3396242740B1F9B5BDB5EB85)


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

So I assume it’s best to submit the remaining 475 transactions, probably in teams of 25 in case your instruments have that restriction.

On this state of affairs I might replicate the state of affairs in testnet, not in mainnet, after which take a look at out creating the remaining transactions one after the other on testnet. I might solely use mainnet after being utterly happy with the ends in testnet.

As I commented, I’m not an knowledgeable in Ordinals, Inscriptions or BRC-20. Do that fully at your personal danger.


Addendum.

The outputs of the unique transaction are P2TR (taproot) so the transactions that spend these want to incorporate three witness parts as proven in What are the scriptPubKey, scriptSig, redeem script and witness for the assorted output sorts? . The BRC-20 inscriptions are made within the second witness merchandise.

Some extra particulars will be present in numerous locations similar to
The best way to differentiate between BTC transactions and BRC20 transactions on a blockchain? , the Taproot BIPs and the documentation for BRC-20 and ordinals inscription.

If you do not have a simple approach of doing this, you could discover it best to put in writing off the transaction or spend the Bitcoin quantities with a standard pockets.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles