update the links for 0.10 and lock down how the p2sh scripts work, they must require a signature too
some sample/test code