Author

Topic: Online Bitcoin Script simulator or debugger? (Read 1151 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
January 27, 2016, 04:19:45 PM
#6
Best to play with Bitcoin using "-regtest" for prototyping of actual scripts (the debug.log can help with working out why scripts have failed).
How do I use that? Where is it documented? thanks
Start Bitcoin Core with the -regtest flag in the command that starts it. Mine some regtest coins and then create your transaction by hand. Push it through your Bitcoin Core and see if it transacts or not.
sr. member
Activity: 507
Merit: 253
Best to play with Bitcoin using "-regtest" for prototyping of actual scripts (the debug.log can help with working out why scripts have failed).
How do I use that? Where is it documented? thanks
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Most of the online ones that I have played with have bugs (including those linked) so don't rely on them for anything very important.

Best to play with Bitcoin using "-regtest" for prototyping of actual scripts (the debug.log can help with working out why scripts have failed).
staff
Activity: 3458
Merit: 6793
Just writing some code
Is there an online simulator that would allow me to step through, debug, or simulate the execution of a Bitcoin script?
Try this one: https://webbtc.com/script/

If you want a program that is also good for this, checkout hashmal: https://bitcointalksearch.org/topic/hashmal-transaction-script-ide-alpha-1168604
sr. member
Activity: 507
Merit: 253
Is there an online simulator that would allow me to step through, debug, or simulate the execution of a Bitcoin script?
Jump to: