some coffeescript code related to ethereum