Suggestion: add an endpoint on the piñata that proves it has the private key. You can do this using Bitcoin's sign message method.
Very bad idea to sign everything that comes your way, kind of like `eval` on text input.
Nowhere did he suggest this.
Edit: here's a JavaScript implementation I wrote that does that, if anyone is interested in details: https://github.com/cryptocoinjs/coinmsg/blob/d2cb985dd9994f1...
for online signing we'd first need to implement the bitcoin protocol...
or am I getting something wrong?