As an Amazon Associate I earn money from qualifying purchases.
Showing posts with label Frozencoin. Show all posts
Showing posts with label Frozencoin. Show all posts

Monday, January 20, 2014

Scrypt ASICs, Alternate Proof of Work Algorithms, etc.

I wanted to quickly touch on a couple of topics in the cryptocurrency world, and perhaps it's best to start with a short discussion of ASICs. Litecoin and the scrypt Proof of Work (PoW) algorithm were created in part as a way to avoid concentrating the hashing power and control of any cryptocurrency into the hands of a few (relatively speaking) people. When everyone was using CPUs to mine Bitcoins (SHA256 PoW), it was a "fair" game -- anyone with a PC could participate. Then BTC started to gain some fame back in late 2010/early 2011 and some clever programmers decided to try and use GPUs to run the SHA256 hashing algorithm, and they had some good success. Where a high-end CPU might get 15-20MHash/sec, a high-end GPU could run the calculations about 20X faster, and suddenly people were in a rush to buy GPUs so they could grab more of the Bitcoin pie.

Even GPUs are still less efficient than a processor designed specifically to run SHA256, however, and the inevitable next step was to work on FPGAs (Field Programmable Gate Arrays) and ASICs (Application Specific Integrated Circuit). FPGAs are basically a quick and dirty way to do a custom chip, with the caveat being that they'll never be as fast as a custom design -- they don't clock as high, because the gate arrays can't switch as fast. FPGAs could run about as fast as a high-end GPU back in 2011, but they cost almost twice as much -- and they used about 1/10 as much power. Custom ASICs on the other hand would take a lot more time to develop, and they would require a significant investment in terms of R&D, layout, fabrication, packaging, etc.

Eventually we started to see ASICs designed for SHA256 become widely available in early 2013, and the result has been an exponential increase in hashing power. Today, a good ASIC miner will perform around 1000GHash/sec and draw around 850W of power -- about 400X as efficient as trying to mine BTC with a GPU! The problem is that supply of ASICs hasn't kept up with demand, so there are relatively few companies/people with ASICs controlling the Bitcoin network. Worst-case, we could end up with one company controlling over 50% of the network, in which case they could basically steal BTC by forging transactions. I don't think we're likely to see that happen -- there's too much money invested into BTC at this point, and any company getting even 25% of the total hash rate will likely stop expanding so as not to spook other investors. But it still means that this "currency for the people" has ended up in the control of a relatively small number of hands, which is not what it was supposed to do.

So then we have scrypt, which is an alternate Proof of Work that can't be mined with ASICs designed for SHA256. With the success of Bitcoin and now Litecoin, however, there is plenty of interest in being the first company to deliver a scrypt ASIC. Probably the most well-known is Alpha Technologies, who are currently targeting a release date of mid-July for a 25MHash/sec scrypt ASIC that will draw less than 600W (and potentially less than 300W). To put that in perspective, it's the equivalent of 30 Radeon R9 290X GPUs but draws as much power as two such GPUs -- or roughly 15X as efficient as using a GPU. That's not quite as big of a gap as we're seeing with SHA256, since scrypt was intentionally designed to make the creation of ASICs more difficulty, but it's still a healthy advantage.

The big catch is the cost, of course. The Viper 25MHash miner has a price of £5450, or around $9000 USD. Even at the currently inflated prices on GPUs, $9000 could purchase around six complete mining rigs, each with three R9 280X GPUs, for a total hashing power of around 13MHash/sec. That's about half the performance, but you could begin hashing within a week compared to waiting six months, and six months is a very long time in the cryptocurrency world. I went in on half of a Viper with a friend, and we'll see if that works out, but I suspect it will be a while yet before that investment pays off. It will certainly be interesting to see what sort of ASIC arms race comes in the scrypt world, regardless, as Alpha Technologies is actually jumping straight to 28nm process technology whereas the SHA256 ASICs started at 110nm, so we may not actually see quite the explosion in hashing rate that Bitcoin saw.

So this brings us to the alternative Proof of Work algorithms. I really liked the idea of Quark, but it was basically insta-mined so that if you didn't hop on board in the first month or two, you were "too late" to really make a decent profit. This is why I started mining Frozen, but while I have mined a fairly sizable sum of FZ and have definitely come out with a decent profit, Frozen has many of the same issues as Quark. It wasn't insta-mined, but it will be mostly mined out in just six months, which is -- in my opinion -- stupid. The security of any cryptocurrency depends on enough people mining it to keep it from being taken over, so if everyone stops mining because there's no more coins being made after just six months, security drops to basically nothing.

At the same time, I also still like the ideal of PoW algorithms that are ASIC-resistant (I'm not sure anything can be "ASIC-proof"), so things like Primecoin are cool, but again the ROI for XPM is basically dead at this point. If scrypt is going to enter the realm of the ASIC-coins in six months, what's the Next Big Thing (tm)? Well, scrypt-jane is one possibility. It's essentially scrypt with a variable n-factor, which apparently makes it even more difficult to target with a custom ASIC. There are several alt-coins now using scrypt-jane, but the latest to catch my eye is Microcoin (MRC), which is using a "fair launch" approach.

The short summary is that MRC started with 10000 blocks that had a combined value of just 1 MRC; this was used to establish a baseline difficulty for the network. From there, the next 300,000 blocks will scale up in rewards from 10,000 MRC to 160,000 MRC and then back down to 10,000 MRC. That means the peak block reward will come in the next 15-45 days, so unfortunately while the launch is "fair", we're still going to mine most of the MRC in just four months. Gah! But I've pointed at least one GPU at MinersBest to see how things develop; MRC should also hit a new exchange (red flags much?) tomorrow, at which point we'll get some idea of the value of the coin. With a target of 100 billion total coins, I suspect a fair long-term valuation of MRC is going to be around 0.0000021 BTC per MRC, and short-term it will probably be less than half that amount.

Vertcoin (VTC) is another option, which also adjusts the n-Factor using an "adaptive n-Factor" approach that's different than scrypt-jane. Other than the change in PoW, it's the same reward setup as LTC, so 50 VTC block rewards every 2.5 minutes with 84 million total coins. It's a newer coin as well, having started just this past month, and it's already listed on CoinedUp. Being listed this early isn't always a good thing, but the valuation right now is 0.00016 BTC per VTC. Considering that in total there are 28800 VTC being mined daily, that means the trade value is 4.6 BTC available per day. The network hash rate is around 183MHash/sec, and GPUs are about half as fast with the new PoW as with standard scrypt, so that means 400KHash/sec from an R9 290 would be reasonable, or 333KHash/sec from R9 280X. If we take the latter, three R9 280X should produce ~1MHash, resulting in a reward of around 0.025 BTC per day. If you were to mine LTC instead of VTC, your current daily rewards with ~2MHash/sec would only be 0.0145 BTC, making VTC about 70% more profitable than LTC mining -- not bad! With 3x7950 however, I'm only getting about 40% better than LTC mining (hash rates of around 240KHash per GPU instead of 620KHash on scrypt), so I'm not quite able to match Middlecoin's current returns.

Anyway, what I'd really like to see is more alt-coins that forget about the fast-mining hype and crazy block rewards (or silly memes, i.e. DOGE) and instead go for a long-haul approach. Take the Quark PoW -- or scrypt-jane, or some other variant -- and use scaling similar to BTC/LTC so that in two years, people are still seeing 50 coin block rewards, and in ten years you could still get 12.5 coin block rewards and have a reason to continue mining. I think the fear is that slower mining makes your coin and/or PoW algorithm a bigger target for ASICs, but faster mining just means your coin will die in six months or however long it takes to empty the coffers. QRK is still kicking, though, even with a much lower block reward, so maybe there will be enough interest to keep more coins going. I'm not convinced, unfortunately, which means long-term the best bets are still BTC and LTC.

Wednesday, December 18, 2013

The China Crash, Altcoins, Playing the Long Game

Not surprisingly, the currently high BTC and LTC prices simply aren't able to be sustained, especially in light of all the speculation by Chinese investors who have now been told that Bitcoin is basically persona non grata. This has been a relatively large bubble from the $150 range up to around a $1200 high, and now we're back in the $550 range and potentially still have a bit more to fall before we bottom out and start rising again. We've seen it before, and we'll see it again -- and we'll see it with pretty much every popular Altcoin worth mining! While BTC had about an 800% increase from mid to late November, Litecoin was actually even more impressive, going from less than $4 to a high of nearly $50 -- around a 1200% gain. I suspect Litecoin is going to see single digits again very shortly, but if you can, keep your coins and just wait for the next bubble, because it's inevitable.

The reason for China and other countries fearing Bitcoin and these other digital currencies is simple: it makes it too easy to move money out of the country! Oh, you can already do that in a variety of ways, but with Bitcoin/Litecoin/etc. it's trivial -- assuming you can buy the coins in the first place, of course. That's probably a large part of what has sparked this latest tumble, with China making it more difficult to buy BTC and investors getting spooked, but that's just it: governments may not like these digital currencies because they can't fully control them, but long-term this is the future.

Related to this is a comment someone made to me recently when discussing Frozen Coin (FZ). He said in effect, "Well, it's not like all of these digital currencies can survive -- most will fail." I disagree, because just like the distributed computing nature of Bitcoin makes it powerful and useful, the altcoins are just another way of distributing things. Bitcoin is the biggest name by far -- I heard a statistic that something like 45% of Americans have heard of Bitcoin -- and so it's going to be the biggest target for the governments. Heck, maybe they even succeed in shutting BTC down in some way. But if BTC fails, there are dozens of others, and some of these are working to make them even more difficult to kill off (e.g. Peercoin, PPC).

Consider this: governments and corporations have been trying to kill off illegal file sharing for years now. Eventually, they more or less realized that it's a fruitless endeavor and what they really needed was to embrace new technologies. And so iTunes went from heavy DRM music to basically go-anywhere music, Blu-rays now come with free digital copies and even a DVD, etc. And guess what? Not only did they not kill piracy, but piracy didn't kill them either -- arguably the movie industry is as healthy as ever! DRM isn't totally dead, but after all the hand-wringing and fear-mongering ("Please, somebody think of the children!"), technology marches ahead.

Bitcoin, Litecoin, and the other various cryptocurrencies are all marching ahead, some more quickly than others. While some governments are sitting back and just watching Bitcoin happen and China is actively trying to fight against Bitcoin, still others are talking about Bitcoin in a positive way. Big names in the US are discussing Bitcoin, and millions of dollars has been invested, with billions more waiting to come.

So if you bought BTC at $1000 or Litecoin at $40 and are feeling like a fool, just sit back, relax, and go find something else to do for a while. Sit on those coins and check back in five or ten years and you'll be able to laugh with others when you tell how you bought them at $1000 or $40 or whatever and thought you screwed up. Then they'll congratulate you on your good fortune and ask you to take them to a nice place for lunch -- because after all, you can afford it.

Or sell what you have, try to cover your losses in other ways, and bemoan your fate for a few years. Then move on and some day you'll be kicking yourself. Mark my words: you'll be sorry twice!

Disclaimer: This is a blog and is full of my own opinions, based on my experiences with Bitcoin, Litecoin, technology, etc. Could I be wrong? Sure. If you invest your life savings into BTC right now and lose it all, don't come knocking on my door. Be responsible and spread out the risk some. This is why I buy and mine coins rather than just buying $2000 worth of coins on a big drop like today -- I'm bad at day trading! Don't invest more than you can afford to lose, and don't go into massive debt because BTC/LTC look like a major opportunity. Grow your cryptocoin portfolio/mining farm slowly, over time. Start with $2000 and when you've recovered that cost, invest the future profits into more hardware. That's how I'm doing it!

Tuesday, December 17, 2013

Adventures in Alternative Cryptocurrency: Frozencoin (FZ)

Last week I got curious about Hashco.ws and did some testing, but as I was investigating whether or not the Hashcows multipool was better than mining LTC (verdict still pending), I got sidetracked by Quark. My testing of Quark quickly confirmed what others have said: it's mined out. 246 million QRK are now out in the wild, and going forward there will only be 1 million QRK per year. That seems short-sighted, but the people that held them until last week likely made a ton of money! Then in the midst of looking at Quark, I found a new coin called Frozen.

Frozen uses the same algorithm as Quark, which makes it more resistant to GPU and ASIC mining (for now at least), and since I have about 20 largely idle CPUs around I thought it would be interesting to mine some FZ and see if I could make any money off of it. The short story: absolutely! The long story? I'm not quite so sure where FZ is going in the coming months.

It's basically Quark 2.0, with only 7.777 million coins (instead of 250 million), plus a guaranteed 1 FZ reward per block minimum (~1051920 FZ per year after the initial mining, corresponding to one block worth 1 FZ per 30 seconds). What that means is that like QRK, when FZ is done, it's not really done... and I'm not sure that's a good thing, as it appears FZ will also be mined out in around six months? But if the value is high enough perhaps the 1 million FZ per year perpetually will be useful.

There's a site for Frozen, but it's in the process of being migrated to a new server (supposedly), which makes trading the coin a bit more difficult. (Update: Trading Forum is back!) The mining difficulty has spiked up ten-fold since I started, which means it's no longer giving me a 5X return relative to LTC mining, but I did get about 10LTC per day in trades several days last week. Thankfully, I also sold the LTC when it was going for $30, but we'll be back to $30+ again -- some day soon, hopefully, but if not then it will still happen.

Okay, back to Frozen. Let's say you want to mine it, since you have some rigs with GPUs and you could do FZ on the CPU still without really impacting performance (though it would use more power). The steps for getting Frozen mining going are pretty simple.
  1. Download the CPU miner and/or Smolen's GPU Smelter. Quad-core i7 will do around 800KHash/sec, while smelter will take 10% of coins to give to the developer. Smelter does 1400-1500KHash/sec on 7950/7970, 2000-2500KHash/sec on 5850/5870 and 6950/6970. (Apparently the developer doesn't have any GCN hardware, so it's not optimized for AMD's newer cards, at least not yet.)
  2. Download the Frozen-QT client, run it once and exit, and then edit Frozen.conf in:
    C:\Users\[Username]\AppData\Roaming\Frozen (mine is below for reference, or included in the chain snapshot).
  3. Now run Frozen-QT again and it should update the block chain and you're ready. (I've got a snap-shot of the chain as of 12/16/2013 available to help get you going faster). The conf file I provided has most of the settings needed to solo mine, including setting rpcthreads (the number of clients that can connect) to 40.
  4. Start mining, with either solo or pooled mining. CPU clients use the following command for the pool, replacing the address with your FZ address from the client:
    minerd64_sse4 -a quark -t 8 -o http://fz.mine-pool.net:9372 -u FTKf7WumfNRJA94frNsSJiudFJhvcGYH3t -p x
    For solo CPU mining, you can run:
    minerd64_sse4 -a quark -t 8 -o http://[Your IP]:18450 -u user -p pass
  5. For GPU mining, it's not possible to use a pool, so you have to do solo with smelter (again, swap in your own FZ address):
    smelter -o http://[Your IP]:18450 -u user -p pass -w 64 -g 2 -i 100 -a FA5Q97XuGzszbpNgGUjUWveTPGiJ9NnzR5
  6. You might need to open up ports 18450/18451 in your firewall, or at least tell the firewall to let traffic through when it prompts (if you're on Windows).
And that's pretty much it; you can sit back and mine Frozencoin. But there's the question: how much is Frozen worth? It's not on any exchanges yet, so you have to trade with people manually. You also need to figure out how much you're willing to accept. I've seen a lot sold at 1 LTC per 1000 FZ, but that may be too low -- or FZ could collapse and no one would want it, but that can happen potentially to any cryptocurrency. If FZ ends up equaling QRK (Quarkcoin), it could be worth $0.10 per coin. Since there are only 7,777,777 FZ (plus ~1 million per year), it should be worth quite a bit more in theory. Time will tell. In the meantime, the difficulty is still reasonably low, so you could mine a few thousand in a week and hold them for the future. Enjoy!

Donations in FZ: F8sGbVmiepUAmVQA3foaW2t4jP2a8sHYKo

Frozen.conf:
rpcuser=user
rpcpassword=pass
rpcport=18450
port=18451
testnet=0
rpcallowip=127.0.0.1
rpcallowip=192.168.1.*
rpcthreads=40
listen=1
daemon=1
server=1
gen=0
addnode=192.241.200.142
addnode=71.84.113.165
addnode=75.142.224.140
addnode=75.166.71.201
addnode=84.249.109.128
addnode=98.214.94.227
addnode=98.242.20.240
addnode=87.119.221.84
addnode=78.128.6.26
addnode=5.9.44.164
addnode=84.238.225.19
addnode=86.100.125.187
addnode=176.215.214.89
addnode=95.85.21.252
addnode=106.187.41.6
addnode=50.201.141.6
addnode=71.84.113.165
addnode=75.142.224.140
addnode=75.166.71.201
addnode=84.249.109.128
addnode=98.214.94.227
addnode=98.242.20.240
addnode=137.117.216.239
addnode=137.117.218.209
addnode=139.190.255.127
addnode=162.242.223.73
addnode=174.100.51.46
addnode=194.68.104.18
addnode=218.74.37.218
addnode=222.126.164.66