Surprise: making your own coins is a dangerous pain in the ass