porting bitcore to litecoin