mirror of https://github.com/zcash/zips.git
181 lines
28 KiB
HTML
181 lines
28 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>ZIP 1011: Decentralize the Dev Fee</title>
|
||
<meta charset="utf-8" />
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="css/style.css"></head>
|
||
<body>
|
||
<section>
|
||
<pre>ZIP: 1011
|
||
Title: Decentralize the Dev Fee
|
||
Owner: Matt Luongo <matt@thesis.co>
|
||
Status: Draft
|
||
Category: Process
|
||
Created: 2019-09-27
|
||
License: MIT
|
||
Discussions-To: <https://forum.zcashcommunity.com/t/decentralizing-the-dev-fee/35252></pre>
|
||
<section id="abstract"><h2><span class="section-heading">Abstract</span><span class="section-anchor"> <a href="#abstract"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<p>This proposal describes a structure for Zcash governance, including funding and managing new Zcash development, decentralizing those development efforts, and resolving governance hangups between the Zcash Foundation and the Electric Coin Company.</p>
|
||
<p>These goals are accomplished via a 20% dev fee, enacted in NU4 and continuing for one halving period. This fee will fund a diverse group of development teams to ensure Zcash maintains best-in-class research and engineering talent while growing a robust ecosystem, funding the Zcash Foundation with 25% of the dev fee, and a newly established principal developer role with 35% of the dev fee.</p>
|
||
</section>
|
||
<section id="motivation"><h2><span class="section-heading">Motivation</span><span class="section-anchor"> <a href="#motivation"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<section id="who-am-i"><h3><span class="section-heading">Who am I?</span><span class="section-anchor"> <a href="#who-am-i"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>My name is Matt Luongo. I'm an entrepreneur who's been full-time in the crypto space since 2014, co-founding Fold, a Bitcoin payments company, and more recently Keep, a private computation startup built on Ethereum. At Keep, we've done some <a href="https://github.com/ethereum/EIPs/pull/2129">work around Zcash</a>, and our parent company, <a href="https://thesis.co">Thesis</a>, is considering investing more heavily in Zcash development for our latest project.</p>
|
||
<p>I'm deeply interested in privacy tech. For me, privacy is about consent –consent to share my habits, beliefs, and preferences– and I see privacy as the inevitable next frontier in our pursuit of an economy that respects individual choice.</p>
|
||
<p>My perspective is as the founder of a for-profit company focused on building self-sovereign technology who wants to develop on Zcash. We work in this space ideologically, but our work isn't free; attracting and growing talent requires funding.</p>
|
||
<p>If you're interested in more on my background, I've introduced myself more <a href="https://forum.zcashcommunity.com/t/introducing-matt-luongo-from-keep/34947">properly on the forum</a>.</p>
|
||
</section>
|
||
<section id="what-s-this-about"><h3><span class="section-heading">What's this about?</span><span class="section-anchor"> <a href="#what-s-this-about"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>Since Zcon1, I've been looking to fund work to build an Ethereum / Zcash bridge. I've spoken to the ECC, the Zcash Foundation, and a number of early Zcash community members on how best to move forward with this project, and in the process I've learned a lot about how the community works and dev governance has been structured thus far.</p>
|
||
<p>Inevitably, I've become interested in the community's proposals for a new dev fee, and thought about how the right structure might support work like ours.</p>
|
||
<p>I believe the Zcash community has an opportunity to deploy a new incentive structure that will attract companies like ours to build and improve Zcash, leading to a more resilient network, stronger technology, and wider usage.</p>
|
||
</section>
|
||
<section id="the-zcash-narrative"><h3><span class="section-heading">The Zcash narrative</span><span class="section-anchor"> <a href="#the-zcash-narrative"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>We're all here to build a robust, private, decentralized currency. But in the dev fee proposals I've seen so far, the idea of a Zcash narrative that distinguishes it from the competition is absent.</p>
|
||
<p>Of the slew of ZIPs addressing Zcash's future, there's only been one strong narrative case — the idea that Zcash exists purely as a hedge against Bitcoin's long-term privacy failure. Put simply, Zcash is "Bitcoin, but private".</p>
|
||
<p>Zcash should aim higher. Bitcoin is the only coin that has successfully made a store of value argument, which I like to call "worse is better". Don't upgrade the network –the argument goes– stability is more important than solving today's problems. Bitcoin is chasing the <a href="https://en.wikipedia.org/wiki/Lindy_effect">Lindy effect</a>, where worse is better, and the network becomes stronger every day it survives. That's great for Bitcoin. For the rest of us, though, better is better. Zcash <em>should be better</em>.</p>
|
||
<p>Zcash is known for having the best tech in the space, built by one of the best teams in the space. We should lean in to that reputation, nurturing the best research and engineering talent to take Zcash to the next level, and leveraging a Zcash dev fee as a differentiator to build the world's best private medium of exchange.</p>
|
||
</section>
|
||
<section id="principles-of-cryptocurrency-governance"><h3><span class="section-heading">Principles of cryptocurrency governance</span><span class="section-anchor"> <a href="#principles-of-cryptocurrency-governance"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>To understand Zcash governance, it's worth reviewing "default" cryptocurrency governance. Most proof-of-work chains today have three major governing roles:</p>
|
||
<ol type="1">
|
||
<li>Miners validate and secure the chain. They do some work to earn a reward. Miners are the first owners of newly minted coins, and are an integral part of network upgrades.</li>
|
||
<li>Users buy, hold, and spend the currency. In networks like Bitcoin, they also run full nodes, strengthening network resilience by decentralizing validation.</li>
|
||
<li>Developers maintain clients to power and interact with the network. They typically propose network upgrades.</li>
|
||
</ol>
|
||
<p>On a chain like Bitcoin, any of these roles can veto a network upgrade.</p>
|
||
<ol type="1">
|
||
<li>Miners can veto activating a new fork by refusing to build off blocks using new network rules, orphaning a minority effort. They can also attack any fork attempt that doesn't change</li>
|
||
<li>Users can veto a fork by refusing to update their full nodes, rejecting blocks as invalid — as demonstrated in the UASF movement successfully countering the SegWit2x attempt to force a Bitcoin hardfork. Users can also vote with their dollars, acting as a fork resolution of last resort via market pressure.</li>
|
||
<li>Developers can refuse to update client codebases to follow a fork. While this might not seem like a strong veto, in practice that means any fork will need at least one additional development team, or the agreement of existing client software developers.</li>
|
||
</ol>
|
||
<p>These roles together form a balance of power that makes contentious forks difficult — any change that a large swath of users disapproves of could split the chain.</p>
|
||
</section>
|
||
<section id="the-state-of-play"><h3><span class="section-heading">The state of play</span><span class="section-anchor"> <a href="#the-state-of-play"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>In Zcash, the addition of the Electric Coin Company (ECC) and the Zcash Foundation skew this balance.</p>
|
||
<p>Both organizations are comprised of Zcash founders, developers, researchers, and privacy proponents who have driven this ecosystem forward and represent its values. Nevertheless, their mode of operation today skews a healthy balance of power in Zcash governance.</p>
|
||
<p>The mechanisms of that skew are the Zcash trademark, held jointly by the Foundation and the ECC, and primary client software development, now split between the ECC and the Foundation.</p>
|
||
<p>In a disagreement between miners, users, and developers, the Foundation and ECC have the option of enforcing the Zcash trademark, effectively allowing them to choose a winning fork against the will of users, miners, and other developers.</p>
|
||
<p>In addition, the Foundation's sole maintenance of the <code>zebrad</code> client allows them to "soft veto" a network upgrade.</p>
|
||
<p>Unfortunately, the Foundation and the ECC aren't organized as arms-length entities today.</p>
|
||
<p>This situation poses a number of problems for new and existing Zcash users, as well as both entities.</p>
|
||
<ul>
|
||
<li>The threat of two entangled entities overriding (or being forced to override) the will of users undermines self-sovereignty.</li>
|
||
<li>The ECC and Foundation are both put at legal risk. As entangled entities, they're remarkably similar to a single entity when trying to minimize regulatory risk.</li>
|
||
</ul>
|
||
</section>
|
||
<section id="the-crowding-out-problem"><h3><span class="section-heading">The "crowding out" problem</span><span class="section-anchor"> <a href="#the-crowding-out-problem"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>The Zcash ecosystem, as it exists today, leaves little incentive for outside developers to participate.</p>
|
||
<p>Zcash development has a high learning curve.</p>
|
||
<ul>
|
||
<li>The reference client is a fork of the Bitcoin reference implementation, building on a decade of poorly written legacy code.</li>
|
||
<li>What Zcash brings to the table involves a greater understanding of applied cryptography than most projects. SNARKs are often still referred to as "moon math", after all.</li>
|
||
<li>As the recent network-level attack demonstrates, full-stack privacy is hard.</li>
|
||
</ul>
|
||
<p>Most outside developers need to see a clear path to longer-term funding before they can commit to the cost of that curve.</p>
|
||
<p>Even those developers who already have the expertise to work on this system are frustrated by the lack of longer-term funding. For evidence, look at Parity's exit from Zcash after <code>zebrad</code> development, or Summa's struggles to work on Zcash.</p>
|
||
<p>Sustainably attracting talent to Zcash is critical to maintain innovation and build resilience.</p>
|
||
</section>
|
||
</section>
|
||
<section id="requirements"><h2><span class="section-heading">Requirements</span><span class="section-anchor"> <a href="#requirements"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<p>The first requirement is a balanced governance structure. Developers should be rewarded, without rewarding governance capture. What's best for the chain and ZEC holders should always come before commercial interests.</p>
|
||
<p>The second, and secondary, requirement is funding Zcash development. While the chain shouldn't be run by a commercial entity, it will need to be supported by them.</p>
|
||
<p>The third requirement is the support of a more resilient ecosystem by:</p>
|
||
<ol type="1">
|
||
<li>Ending the "crowding out" problem by paying development teams to work on and for Zcash.</li>
|
||
<li>Building a dev fee management structure that's resilient to the loss, capture, or compromise of the Zcash Foundation.</li>
|
||
<li>Ensuring the ecosystem can survive the loss, capture, or compromise of the ECC by encouraging developer diversity and strategic input.</li>
|
||
</ol>
|
||
<p>Finally, avoid introducing unnecessary additional entities into the governance process.</p>
|
||
</section>
|
||
<section id="non-requirements"><h2><span class="section-heading">Non-requirements</span><span class="section-anchor"> <a href="#non-requirements"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<p>General on-chain governance is outside the scope of this proposal. On-chain governance is an exciting idea -- what if we had an impartial arbiter funding development? My experience with on-chain governance to date, however, leads me to believe it's still a risky direction. Zcash should focus on what it's good at –privacy– and leave proving on-chain governance models to other projects.</p>
|
||
<p>While this proposal attempts to outline a long-term structure for Zcash funding and governance, specifying the structure beyond the next 4 years is out of scope. Much will have changed in 4 years. Perhaps this structure will be sufficient; perhaps we'll be battling the Third Crypto War, and need to go back to the drawing table.</p>
|
||
</section>
|
||
<section id="specification"><h2><span class="section-heading">Specification</span><span class="section-anchor"> <a href="#specification"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<p>The below proposal is an effort to cleanly resolve the problems with Zcash's current governance, while</p>
|
||
<ul>
|
||
<li>maintaining a balance of power between stakeholders;</li>
|
||
<li>removing single points of failure / control;</li>
|
||
<li>growing development and usage of Zcash;</li>
|
||
<li>and supporting the best interests of miners, users, and developers <em>today</em>.</li>
|
||
</ul>
|
||
<section id="decentralizing-development"><h3><span class="section-heading">Decentralizing development</span><span class="section-anchor"> <a href="#decentralizing-development"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>A few proposals have suggested the introduction of a mysterious "third entity" to resolve disagreements between the Foundation and the ECC.</p>
|
||
<p>I prefer a different approach, refocusing the role of the Foundation and making room for the ECC to work with a robust developer ecosystem.</p>
|
||
<p>In this proposal, the Foundation shall support community development through running the forum and events, gathering community sentiment, managing short-term development grants, research and development, and conducting the diligence behind the assignment and disbursement of a development fee. This development fee shall be funded by 20% of the block reward, with as much as half of the fee burned in case of extraordinary growth in the price of ZEC.</p>
|
||
<p>The Foundation shall receive 25% of the dev fee. If the volume-weighted average price of ZEC over the month means the foundation would receive greater than $500k that month, the Foundation shall set aside enough ZEC such that their max monthly budget is</p>
|
||
<blockquote>
|
||
<p>
|
||
<span class="math">\(\mathsf{MaxBenefit}(\mathsf{RewardDollarAmount}) = \mathsf{Min}(500000, 500000 * \sqrt{\frac{\mathsf{RewardDollarAmount}}{500000}})\)</span>
|
||
</p>
|
||
</blockquote>
|
||
<p>The excess ZEC should be purpose-restricted to the Foundation grants program, ensuring the funds are earmarked to grow outside community talent and involvement.</p>
|
||
<p>Capping the monthly expenses of the Foundation will limit growth, while encouraging fiscal discipline.</p>
|
||
<p>The remaining 75% of the dev fee shall be distributed between development teams working to maintain clients.</p>
|
||
<ul>
|
||
<li>Up to 35% of the total fee shall be reserved for the role of the "principal developer", a developer with assured long-term alignment with the project.</li>
|
||
<li>The remaining 40% of the fee, called the "outside development fee", shall be distributed between at least two development teams, chosen semi-annually by the Foundation, coinciding with network upgrades.</li>
|
||
</ul>
|
||
<p>Prior to each network upgrade, the Foundation shall recommend a list of addresses and a total number of ZEC per block each address is meant to receive from the dev fee. The recommendation will be "ratified" by the miners as the network upgrade activates.</p>
|
||
</section>
|
||
<section id="the-role-of-dev-fee-recipients"><h3><span class="section-heading">The role of dev fee recipients</span><span class="section-anchor"> <a href="#the-role-of-dev-fee-recipients"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>Dev fee recipients are distinguished from grant recipients in the scope and timelines of their work, as well as the specificity of direction. The intent is to allow teams to focus on a core competency, while encouraging research and adjacent work.</p>
|
||
<p>Dev fee recipients are chosen semi-annually by the Foundation based on their ability to move Zcash forward. Recipients will typically be development teams, though "full stack" teams that can communicate well with the community, expand Zcash usage, and widely share their work should be advantaged.</p>
|
||
<p>Recipients shall submit quarterly plans to the community for their efforts, as well as monthly progress updates.</p>
|
||
<p>All work funded by the dev fee will be open source, under licenses compatible with the existing Zcash clients.</p>
|
||
<p>Though the Foundation shall periodically judge the efficacy of dev fee recipients, deciding on and driving roadmaps for Zcash is the role of dev fee recipients, in partnership with the community. This role is neatly balanced by users running full nodes and miners, either of which can veto a network upgrade.</p>
|
||
<p>While dev fee recipients are not required to work exclusively on Zcash, considering the nature of their work, recipients must guarantee they aren't obliged to the interests of competing projects.</p>
|
||
</section>
|
||
<section id="the-role-of-the-principal-developer"><h3><span class="section-heading">The role of the principal developer</span><span class="section-anchor"> <a href="#the-role-of-the-principal-developer"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>The role of the principal developer is as a "first among equals" amongst the dev fee recipients.</p>
|
||
<p>The principal developer shall make a number of guarantees.</p>
|
||
<ol type="1">
|
||
<li>Zcash shall be their exclusive focus, submitting financials periodically to the Foundation as assurance.</li>
|
||
<li>They shall maintain a well-run board and employ a qualified CFO.</li>
|
||
<li>In addition to the existing open-source requirements, they shall agree to assign any patents relevant to Zcash to the Foundation.</li>
|
||
</ol>
|
||
<p>In exchange, the principal developer is granted an indefinite minimum dev fee allocation of 20%, with a maximum allocation of 35% of the total fee, as recommended annually by the Foundation.</p>
|
||
<p>The principal developer will have a wide remit to pursue longer-term research relevant to Zcash, though it will submit the same plans required of other recipients. The principal developer will only be recommended for removal by the Foundation in extraordinary circumstances, including reneging on the above guarantees or extreme negligence.</p>
|
||
</section>
|
||
<section id="minimum-viable-foundation"><h3><span class="section-heading">Minimum viable Foundation</span><span class="section-anchor"> <a href="#minimum-viable-foundation"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>To manage the dev fee and fulfill its community and diligence duties, the Foundation shall maintain a board of 5 independent members. Rather than the structure in the current bylaws, the board will consist of</p>
|
||
<ul>
|
||
<li>1 seat voted on periodically by ZEC holders directly.</li>
|
||
<li>1 seat representing a newly created research advisory board, whose primary role will be technical diligence of potential recipients of the dev fee.</li>
|
||
<li>1 seat for a member of the investment community.</li>
|
||
<li>2 seats elected by the board, as the board is currently selected according to the bylaws. The board's discretion here means these could be selected via a community election, or via the remaining 3 seats' direct vote.</li>
|
||
</ul>
|
||
<p>The Foundation requires a professional board. Board member selection should heavily favor candidates with existing formal public or private sector board experience.</p>
|
||
<p>Board seats should rotate periodically, while maintaining long enough terms and overlap for consistent governance.</p>
|
||
<p>Each board member should bring a unique network and set of skills to bear to increase the impact of the Foundation.</p>
|
||
<p>No board members shall have an ongoing commercial interest in any recipients of the dev fee.</p>
|
||
<p>Considering their expertise, the Foundation shall deliver a transition plan, including a board election schedule and report on the feasibility of a future coin vote process to determine a board seat.</p>
|
||
</section>
|
||
<section id="the-ecc-as-the-principal-developer"><h3><span class="section-heading">The ECC as the principal developer</span><span class="section-anchor"> <a href="#the-ecc-as-the-principal-developer"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>I propose that the ECC be considered as the initial principal developer, receiving an indefinite dev fee allocation in exchange for their exclusive focus on Zcash research and development, and assigning all patents and marks relevant to Zcash to the Foundation.</p>
|
||
<p>I believe this arrangement is best for the Zcash ecosystem, and with proper management of funds, should satisfy the ongoing needs of the ECC.</p>
|
||
</section>
|
||
<section id="the-dev-call"><h3><span class="section-heading">The dev call</span><span class="section-anchor"> <a href="#the-dev-call"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>The Foundation shall organize a bi-weekly call for all dev fee recipients and other third party developers. The call will be live-streamed for community participation, though the speaking participants will be invite only. At a minimum, a single representative from each dev fee recipient should attend.</p>
|
||
<p>The Foundation shall also maintain a simple chat solution for development of the protocol. While the chat logs should be publicly viewable, it need not be open to public participation.</p>
|
||
</section>
|
||
<section id="moving-forward"><h3><span class="section-heading">Moving forward</span><span class="section-anchor"> <a href="#moving-forward"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h3>
|
||
<p>I believe this proposal can form the basis for a new way forward for Zcash — a robust, decentralized ecosystem with fair governance. I also hope it can bring together the stakeholders in this discussion, and allow us to get back to why we're all here — to protect the world's financial privacy.</p>
|
||
<p>I look forward to feedback on GitHub and the Zcash forum.</p>
|
||
</section>
|
||
</section>
|
||
<section id="disclosures"><h2><span class="section-heading">Disclosures</span><span class="section-anchor"> <a href="#disclosures"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<p>In the interest of transparency, I'd like to make a few professional disclosures.</p>
|
||
<p>I'm the largest shareholder of <a href="https://thesis.co">Thesis</a>, the parent company and studio behind <a href="https://foldapp.com">Fold</a> and <a href="https://keep.network">Keep</a>. Thesis is a for-profit company that might benefit from this proposal as a dev fee recipient. While today I maintain exclusive control of Thesis, the company has taken outside investment in the past.</p>
|
||
<p>As far as my financial interest in Zcash, I've held a small amount of ZEC since shortly after launch. I'm in the process of building my personal ZEC position, as well as a position at Thesis.</p>
|
||
</section>
|
||
<section id="acknowledgements"><h2><span class="section-heading">Acknowledgements</span><span class="section-anchor"> <a href="#acknowledgements"><img width="24" height="24" src="assets/images/section-anchor.png"></a></span></h2>
|
||
<p>Thanks to my friends and colleagues <a href="https://twitter.com/CReckhow">Carolyn</a>, <a href="https://twitter.com/LauraWallendal">Laura</a>, <a href="https://twitter.com/JoshSRosenblatt">Josh</a>, <a href="https://twitter.com/_prestwich">James</a>, <a href="https://twitter.com/CorbinPon">Corbin</a>, and <a href="https://github.com/shadowfiend">Antonio</a> for early review of the text this proposal.</p>
|
||
<p>Thanks to my fellow dev fund ZIP authors, <a href="https://forum.zcashcommunity.com/t/dev-fund-proposal-5-entity-strategic-council-approach/34801">Avichal Garg</a> at Electric Capital, <a href="https://forum.zcashcommunity.com/t/zcash-dev-fund-results-based-financing-equity-proposal-amendment/35052/31">Antoinette Marie</a>, <a href="https://forum.zcashcommunity.com/t/a-grand-compromise-synthesis-zip-proposal/34812">Josh Cincinnati, ED</a> at the Zcash Foundation, <a href="https://forum.zcashcommunity.com/t/asp-founders-reward-positioning-support-for-avichal-garg-s-proposal-with-amendments/35184">Jacob Phillips</a> at Autonomous Partners, <a href="https://forum.zcashcommunity.com/t/dev-fund-proposal-miner-directed-dev-fund-was-20-to-any-combination-of-ecc-zfnd-parity-or-burn/33864">Andrew Miller</a>, <a href="https://twitter.com/cburniske">Chris Burniske</a>, <a href="https://forum.zcashcommunity.com/t/dev-fund-proposal-dev-fund-to-ecc-zfnd-major-grants/35364/15">Eran Tromer</a>, and the fellows at <a href="https://forum.zcashcommunity.com/t/blocktown-development-fund-proposal-10-to-a-2-of-3-multisig-with-community-involved-third-entity/34782">Blocktown</a>, each of whose ideas influenced this proposal. And of course, thanks to <a href="https://github.com/sonyamann">Sonya Mann</a> and the Foundation for coordinating discussions around these different proposals.</p>
|
||
<p>Outside ongoing discussions in the forum and with other ZIP authors, I've spoken with a number of prominent community members while developing this proposal, though none were provided early access to the text of the proposal. I appreciated the thoughtful discussions with <a href="https://twitter.com/acityinohio">Josh Cincinnati</a>, <a href="https://twitter.com/zooko">Zooko Wilcox</a>, <a href="https://twitter.com/jswihart">Josh Swihart</a>, <a href="https://twitter.com/secparam">Ian Miers</a>, and others.</p>
|
||
</section>
|
||
</section>
|
||
</body>
|
||
</html> |