Home Bitcoin script – NBitcoin would not produce similar TapRoot tackle?

script – NBitcoin would not produce similar TapRoot tackle?

0
script – NBitcoin would not produce similar TapRoot tackle?

[ad_1]

I’ve a script that works completely in creating an inscription taproot tackle with Javascript https://gist.github.com/ChristianOConnor/fa07462990a74606f486f97031783e50. I dedicated the personal key and inscription textual content to the code. There’s nothing within the pockets so it should not be a safety drawback. The tackle 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 would not produce the proper tackle. That is the C# script https://gist.github.com/ChristianOConnor/2399a864f38666a2a3305b9ad7d374d1 preloaded with the identical personal key and inscription string. It incorrectly produces this tackle: tb1p90cf5jsmvv2cwu7wq2k60pewtpu5xvlfypxwjeag4aq9yhaccgks68fc8j.

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

This might be unpaid, however in case you can repair the C# script I am going to open supply it and MIT license the code. P.S. May you please perpetually MIT license your repair for the C# script.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here