Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Using Pycoin to spend non-standard scripts
by
d4n13
on 17/07/2015, 18:17:43 UTC
⭐ Merited by ABCbits (1)
How would I use Pycoin to play around with non-standard scripts like this? Alternatively, pybitcointools.
Writing a Script "compiler" in python should be very straight forward.  PyBitcoinTools will parse out the scripts with deserialize, then you take the Script 'asm' and write a decompiler.

If you then put the 'asm' data back in the dict and serialize with pybitcointools you should be good to go.

I'll give it a shot next week.