code using GoCoin lib version 0.5 - note the old plugin name is now changed