script – I need help inserting a message into my Tapscript spend.
I have a perfectly working script to generate the inscription tab root address using Javascript https://gist.github.com/ChristianOConnor/fa07462990a74606f486f97031783e50. I have committed the private key and inscription text to the code. There is no security issue as there is nothing in your wallet. The address output from the script is tb1pzr0236kw9vnavfl6zjk4xvfsvptfwq2202newug2se5tsg2fmrhsa4hv7z.
Once again I tested the JavaScript code including the inscription output spend and it worked perfectly. Porting the above script to C# failed. The correct address is not generated. This is a C# script https://gist.github.com/ChristianOConnor/2399a864f38666a2a3305b9ad7d374d1 preloaded with the same private key and inscription string. This address is incorrectly generated as tb1p90cf5jsmvv2cwu7wq2k60pewtpu5xvlfypxwjeag4aq9yhaccgks68fc8j.
Can anyone modify my C# script to generate the correct address: tb1pzr0236kw9vnavfl6zjk4xvfsvptfwq2202newug2se5tsg2fmrhsa4hv7z?
This is free, but if you can modify the C# script, I’ll open source it and give the code an MIT license. PS: Could you please grant me a perpetual MIT license for any modifications you make to the C# script?