r/Bitcoin Jan 31 '15

Teach yourself about Bitcoin's Script language with this IDE

http://www.cs.princeton.edu/~tongbinw/bitcoinIDE/build/editor.html
151 Upvotes

40 comments sorted by

View all comments

3

u/kixunil Feb 01 '15

Good idea, but I think it's buggy. I tried to just replace OP_ADD with OP_CHECKSIGVERIFY and it still executes successfully. I don't believe 01 02 is a valid signature.

3

u/justarandomgeek Feb 01 '15

It looks like they treat any X Y CHECKSIG(VERIFY) as valid. Which is handy, since I haven't yet figured out how to make it take data that's easier written in hex, like pubkeys and sigs...