ZIP proposal: Proof of stake

I agree with @hdevalence.

Explicitly, in my role as a ZIP editor: I would love to see a developed version of this ZIP in a form that ECC and ZF could consider for adoption. We’ll need to develop the motivation, our assumptions about a staking ecosystem, our goals, and of course the (possibly novel!) economic and cryptographic mechanisms to achieve them.

Now, doffing the purple, star-spangled hat (h/t @mistfpga) of a ZIP editor for the sober black tricorn of the de facto ZF engineering roadmapper: despite this meeting the NU4 deadline, it seems unlikely to me that a design change of this size could happen in time for NU4. However, one way or another, by NU5 (~Q4 2020?) I think we’ll be in a solid position to evaluate a good PoS-for-Zcash design.

So we should try to have one by then! I’m definitely looking forward to investigating proof of stake for all kinds of reasons and 100% bless this endeavor. But I don’t think it’s time yet to adopt a specific ZIP for it.

3 Likes

Would be interested in contributing to the research and development, in the areas I’m familiar with.

I think compared to a a POS design this isn’t realy the case:

  • Limited hareware versus everybody can stake and secure the network.
  • Incentive to must sell ZEC with POW versus incentive to hold ZEC with POS.
  • Expensive electricity mining costs versus cheap POS staking costs.
  • Expensive hardware versus literally no hardware costs.
  • Middleman (Mining pools) in POW versus no middleman in POS.
  • Accumulating more hashpower (network centralization) in POS is rewarded as it makes it cheaper while accumulating more “POS” hashpower is sanctioned by making it more expensive.

I can not see a how POW is more straightforwarded in economics than a POS design and absolutly fail to see even one single economical benefit versus an alternative POS design.

True, it’s a battle tested, for some successfully for some it had an devastating outcome. Zcash is currently in the lucky position to be profitable and the top coin of it’s algo.

Just a reminder that the hourly attack cost on the Zcash network gets lower and lower, we are allready at $9,786 per hour for a 51% attack. If i remember right it was around $45,0000 15 months ago.

Taking the top 50 currencies by market cap there is only a handfull coins ~10 that use pure POW. ALL crypto projects that have driven us out from the Top 15 place we had in that rankings (we are currently #28) are POS projects. With every new successfull project being a POS design i doubt someone can really say it has not been around long enough.
Actually someone could say that the POW design has been around allready too long expect for BTC for which it makes perfect sense with an attack cost of nearly $1,000,000 per hour.

You mean after the dev fund has expired? (just kidding here). From an economical point of view it would have made most sense to use POS in the early stages to create an incentive to hold ZEC while the inflation is high IF someone wanted to create at least some incentive to hold ZEC and keep the price more stable instead of letting it fall endless. Of course creating later such incentive to hold will have an positive effect as well.

May main concern in waiting too long is simply competiton maybe outperformaing and overtaking us. I have zero doubt that at some point/time a lot of well established coins (no matter if POW/POS/whatever) will implent privacy featues. Once they begin to do this there will be even less incentive to hold ZEC. Someone should not forget that we are the top inflation coin for the next years as well.

@rebekah93, whist your zip seems straightforward, it is pretty complex the way it is written. Do you want to get this in for the NU4 deadline (I think you do?)

The foundation had commited to exploring this for a possible proof of work change sometime around October next year. However I haven’t seen any work releated to that done yet, except the foundation saying they wont do POS for 2 havlings yet (yes I am just as confused as you are)

ZIP’s are for the ECC - however I cannot hurt to put it in the mix to remind the foundation.

The key aspect of proof of work which at lot of people miss is that it is as much about securing the next work/processing transactions as it is about distributing coins to as many different people as possible (up to a certain point).

if POW is not doing its job in this regard and POS can be shown to be a better strategy for block distribution. I think it would get a lot of backers. - you don’t need to do this, but this is what it would take for that switch to happen before the next 2 halvingins (in my humble opinion)

Do you need any help fleshing out this proposal?

cheers,

steve

there are some interesting models/coins with pos in existence. imo however…

  • cost of attack is/was ovehyped problem. this was discussed as a major threat for years, yet still single digit number of valuable coins had been successfully attacked at given moment. it is indeed significant problem for abandoned coins. but living and strong networks are not static. they will retaliate. especially when a coin is a main player for it’s respected algo.
  • change of a whole nature of a coin is a huge mess to estimate benefits, losses, rewrite and rigorously test some codebase, etc. it can be researched/planned/considered when everything else is stable, valuation and media attention are flat, and not vice versa. didnt you see how “new blockchain to serve billions” mention/offer had immediate backfire after zcon1?
  • seems like almost everyone forgotten, that zcash has same inflation curve as btc. yeah, currently media sentiment is like “its overinflating”. but if this is a long game, and not just grab some situational clout with “we defeated inflation” (with completely wrecking coin’s fundamentals) - then it have to stay as is atm. its just one year till a far more significant inflation cut than btc will have with their next halvening.
  • if coins with strong fundamentals and “hard money” proposition have future at all, and not dystopian one as gambling tickers, including btc, then its much better for zcash with its strong idea, good fundamentals and absence of some technical and legacy problems, familiar to btc, to stay as is and polish all other primary and secondary issues till halvening, then reestimate where to go. instead of trying one more reckless leap of faith.
  • one of the merits of bitcoin’s success is that it survived all the disasters without jumping the horses on a full speed. zcash is not an utility token, it has similiar sov proposition. coin can not and will not be respected as a sov if it will bunnyhope following trends/trying to survive/aligning with some shoutouts.
1 Like

These are for sure some valid points and argumens, but there are some other views and points as well:

I agree, and as we both said, as the top coin of a given algo it’s not a problem (yet). However, the cost of attack is an interesting measurement and i personally use it as some kind of libra.

  • If attack cost increases the network is more secure, more healthy, stronger.
  • If attack cost decreases the network gets more unsecure, more unhealthy, weaker.

I wouldn’t say it backfired but it caused huge confustion. The reason was in my opinion that it seems it was wrong published in media and second, the community wasn’t aware of anything like that. My pesonal opinion on this one is that it makes just sense. Why stick to a code that can’t be scaled, has very limited options for improvements, is far from perfect, outdated, slow, whatever? It just doesn’t make sense for me anyway, but that’s just my view. For Bitcoin it does, but than again, it’s Bitcoin, the only Bitcoin, we are an altcoin, an altcoin with 100’s of competitors.

It’s in my opinion ridiclous to compare and use the BTC inflation rate. Bitcoin used it without competition. There was no alternative coin, no competitor coin, no nothing. Nearly every supply curve would have worked for them. I actually would go as far as saying that even for BTC the curve was badly choosen, absolutly unfair and whatever not, but as a non BTC fan i don’t care too much about it.

As we have the same inflation it actually doesn’t matter If it’s POW or POS, the inflation would be the same. But POS at least would soften the effect of the inflation a bit and would give an incentive to hold ZEC, while POW does not have a single incentive to do so.

Sure, as you said, in the long game it gets leveled out and more attractive. I guess in 9 years it’s just ok to deal with the than way lower inflation. But funding and research happens with ZEC created bevor that. In generally if we take the ideal formula: more funds = more development, than the dev funds are in the worse possible time frame.

I like this argument most. It’s the most valid in my opinion and it’s an option for sure. But if we analyse it it contains some dangers in my opinion:

  • First, it’s Bitcoin like, another more or less copy & paste of Bitcoin to stay as much as possible “naturally”. It may work out, or may not work out, even for Bitcoin at some point.
  • Second, it might be too conservative. Competition with more aggresive, more innovative, more modern solutions might overtake Zcash overnight.
  • Third, maybe the most important one in my opinion. Adoption. Every POS design can involve the community more or less easy in staking, even more easy in future. While POW mining is literally a restiction for involving the community in this process. The best example is Zcash by switching form GPU to Asic mining, from 120k active adresses to some 25k, from an very active forum to a ghost town, from worldwider miners (with gpu) to some chinese and russian miners we even have no contact at all, neither someone from Zcash.

I would argue here, it’s because it’s competition less, because it’s the first comer, because it’s just that, Bitcoin. I’am pretty sure this will come some day to an end, there is no logic that this will continue forever. And the new winner or the coin that will replace BTC will not be a coin that is a tuned BTC but something more innovative, more useable, something that convinces the masses, something that’s easy and fast to use, something that doesn’t need special hardware, something that isn’t only for a few, something that combines the best what blockchain has to offer, something that is outstanding and not just old fashioned copy & paste. Does this sound like Zcash? No. But having Zcash one of the best teams it could be Zcash as it could be as well a total new player. In that case we more or less would have wasted huge amounts of funding for … nothing.

i agree that my comparisons with bitcoin are not bulletproof, because it was first-mover, different eras and markets. i’ve already noticed in my previous comments here some time ago that there are too significant discrepancies in an overal crypto environment and ecosystem between bitcoin and zcash early years, and that zcash can’t/couldnt afford to move as slow and stubborn as bitcoin could. in my last comment i wanted to place an accent, that to put more efforts to improve/finalize current model and to (re)build confidence - will have more benefits and more feasible to do reclaim/increase value of zcash, then to try to hop on different model like “lets throw away what we have and build from scratch, maybe it will work out”. again, we’re talking not about software, but about an asset. imho ofc, but i’d wanted to challenge founder’s vision of zcash, i’d just moved to another coin.)

p.s.: “lets throw away what we have and build from scratch, maybe it will work out” can actually work out with declining market in one single case. with venture capital backing and some reason to transfer value to new asset. like airdrop of new zstackedcash asset to zcash holders with initial price support of new asset. or without change of asset title, but anyway with price support period. without that, market will not apreciate pow>pos trantition in any organic way, except maybe for a very short period of time, depending on market cycle. but that’s a completely different story, not corellated with firm official position of zcash not to fall in complete dependence from third parties.

1 Like

I agree with Arktor. That miners selling coin is not a bad thing and that few people holding large number of coins maybe bad

2 Likes

Why does introducing proof of stake mean removing proof of work? The two can quite happily co-exist. Has any implementation for proof of stake been put forward, clone or not for the Zcash base?

2 Likes

Nope. The Zcash community is basically waiting for Ethereum to implement their POS, learn from them (both the good and bad) and then decide after careful consideration.

8 Likes

I think Proof of Stake would be a great upgrade for Zcash and this discussion is worth digging up. My 2c:

Why?

  1. The users of Zcash indirectly pay for the mining hardware and electricity consumption through transaction fees.
  2. Although I don’t agree that “destroying the planet” is an accurate portrayal of Zcash mining, it is undeniable that mining has a non zero impact.
  3. Some people will feel more comfortable using Zcash if it does not rely on mining, eg Rebekah93. It’s possible POS could onboard a lot of new users and attract a lot of attention.
  4. As Vitalik recently pointed out, electricity costs of 51% attacks are not a deterrent. It’s super duper difficult to do a 51% attack but it could be even more difficult with a POS implementation.
  5. ASIC’s could possibly be made…bad.

What flavour of POS

personally I think Algorand’s Pure Proof of Stake is the best implementation. This is fairly new but has proven to work in the wild. It has allowed for insanely low transaction fees on the network, While remaing decentralized, scalable, and secure. It’s possible that Zcash could piggy back on much of the research/work that now exists in POS.

5 Likes

To address climate impact, it seems like it’s still a viable approach for one or more entities in the Zcash ecosystem to purchase carbon offsets.

This estimate made it seem very reasonable, like, in the thousands per year: Dev Fund Proposal: Carbon offsetting - #6 by rebekah93

3 Likes

How many ppl here mine Zcash? More and more ppl and farms are using renewables or offsetting other excess energy b/c it is cheaper in the long run. As a home miner that is my plan.

Also not every miner sells all they make for $. I sell to pay off my miners and then for electricity. For a passive income I prefer PoW because I get a better roi than if I went to PoS. It would be a much higher initial cost to come close to the returns I get from ASICs.

I’m not totally against PoS. I think it is difficult to go to PoS once you get as far in as Zcash with PoW. Look how long it is taking ETH to go PoS.

3 Likes

I don’t think offsetting with renewables is a good idea in practice. Firstly if the Zcash ecosystem pays to offset carbon, the end consequence is that the holders/users of Zcash pay for that in the end. It makes no sense when there is the option to just not require all the hardware and electricity in the first place.

“Renewables” such as wind and solar come with a bunch of their own environmental complications. I’m not going to explain it because it’s too long. Instead I’ll suggest the book ‘Apocalypse Never’ by Michael Shellenberger. @holmesworcester The Environment always fairs better with PoS because you don’t need to manufacture as much metal and don’t consume as much electricity to achieve the same thing.

@afterconnery Zcash is not a platform for people to make money from using computers to mine. It’s for private open finance. Therefore the fact that you may make less money with PoS is of zero significance. Sorry. I do however think that you will have enough time to re-coup your investment in the situation of a move away from PoW. As you said it would not be simple.

Despite my mention of the environment, It’s not my biggest concern. My main reason is to lower the cost for the users. When you think about it the users pay for all the mining hardware and electricity in the end. This fact may be (somewhat) hidden by inflation, but it’s still the consequence. The cost for users can effectively be lowered with a switch to PoS.

I would really like to see Zcash evolve because I think that it has been around for a while. That allows for good distribution of the coins. If another project implements Zcash with PoS then that valuable distribution and history is lost.

2 Likes

Well, hiring engineers to develop new software has environmental externalities too, since they have lives, heating and electric bills, possibly clothes dryers, etc. But yes, POS is awesome!

So your concern is with the users paying for the cost of everything. How much are you out? Not everyone even pays the suggested 0.0001 zec transaction fee (usually it’s lower). That’s the only fee I’m aware of that users pay. Is there something I’m missing? Do you contribute (financially) to any of the projects building Zcash? If not then I would say you are not out anything. Actually you are probably in the black.

Even if we go to PoS there is still a cost of paying for the computers that store the blockchain and process transactions, the heating and cooling of the buildings that house the computers, people to maintain and repair said computers and buildings, etc (things that Holmes mentioned)

All crypto coins are platforms to make money and use it as such. All involve a financial cost to users that would need to be recouped otherwise no one would use them.

I would roi on a PoS system but would take me much much longer. I spent $1600 on 4 used miners (almost two years old when i bought them) and my roi was 6 months. If I put that same amount in a PoS system and was lucky to get 10%/year return it would have taken me 10 years to roi. This is a reason why I invested in Zcash and not some PoS coin. The other, and main, reason was the privacy aspect. (IMO increasing the shielded use is way more important for the health of Zcash than changing over to PoS at this point in time).

There are some other financial back back draws with POW mining versus POS or similar setups.

POW mining generates automaticly mining centralization in countries with very low electricity costs, ex. China, former soviet republics, and some other. In contrast some other countries are absolutly excluded from mining, ex. Germany, France, UK, and so on, due the high electricity costs.

POW mining generates extreme sell pressure as beside hardware, electricity must be paid day by day.
In contrast in POS or a POS like system it’s absolutly reverse. This should beneficial impact ZEC price.

POS or similar setups allow nearly everybody to join and participate while POW mining is only for a few, technically advanced people with access to low electricity. Another advantage POS mining would bring, it would open the door for a lot more people being able to be part of Zcash and having interest and particapting which automaticly should/would lead to an increased user base.

3 Likes

Electricity rates are a major drawback for someone to get into PoW mining. But one can go in on some miners with someone who has good electricity rates and still not have to do any technical work (as long as your partner knows about it :slight_smile: ).

I don’t think less sell pressure from miners will generate significant increase in price. There are only 5,760 new coins a day, 172,800 a month. At the time of writing this the 24 hour volume of trading is 10,970,277.529932754zec (coingecko). Sell pressure from miners is insignificant. Even if they waited all month before selling.

There are lots of PoS coins and some have great yearly interest, but none are up in the price range of Zcash. That’s like saying after the halvening Zcash price will explode. It will explode when lots of people think it’s actually worth to have.

PoS has a major downfall: KYC. You cant buy hardware and get coin with no KYC when you are on PoS. Sure there are becoming more non-KYC options out there to buy ZEC , but will require about as much technical knowledge as running a miner. In the US I would have to use Tor or a VPN to be able to make non-KYC trades using sideshift.ai or something similar. But that is already if I have another coin. As with all coins, being able to directly go from cash to coin would be the easiest way to gain adoption.

KYC has nothing really to do with PoS… it the end it comes down to the exchanges. Binance still has many PoS coins and you can purchase them without KYC.

Also I am mining Zcash, my electricity is not the cheapest in the world. I am simply mining it for the fact I believe it will be worth much much more in the future and want to support the network. So yes I am willing to take that risk and sacrifice some electricity bills now.

Also thought this article was cool:

I am looking into moving to an area that gets a ton of sunlight and generating my own electricity via solar panels.

2 Likes