logic to convert btc to doge