Sunday, December 22, 2024

script – I need assistance embedding a message right into a Tapscript spend

I’ve a script that works completely in creating an inscription taproot deal with with Javascript https://gist.github.com/ChristianOConnor/fa07462990a74606f486f97031783e50. I dedicated the non-public key and inscription textual content to the code. There’s nothing within the pockets so it should not be a safety drawback. The deal with outputted by the script is tb1pzr0236kw9vnavfl6zjk4xvfsvptfwq2202newug2se5tsg2fmrhsa4hv7z.

Once more, I’ve examined the javascript code together with spending an inscription output and it really works completely. I unsuccessfully tried porting the above script to C#. It does not produce the proper deal with. That is the C# script https://gist.github.com/ChristianOConnor/2399a864f38666a2a3305b9ad7d374d1 preloaded with the identical non-public key and inscription string. It incorrectly produces this deal with: tb1p90cf5jsmvv2cwu7wq2k60pewtpu5xvlfypxwjeag4aq9yhaccgks68fc8j.

Can anybody repair my C# script in order that it produces the proper deal with aka tb1pzr0236kw9vnavfl6zjk4xvfsvptfwq2202newug2se5tsg2fmrhsa4hv7z.

This could be unpaid, however in the event you can repair the C# script I will open supply it and MIT license the code. P.S. Might you please perpetually MIT license your repair for the C# script.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles