simple port to templecoin, still have sync problem, but can send and receive fund