Writing a Secure CorDapp, (almost) Everything You Didn’t Know You Needed To, R3