Thursday, December 29, 2022

Continuing the Thought experiment of Governance in Blockchain. Dual Chain and Token Governance Model (Rough concept, Rough draft)

Dual Chain and Token Governance Model:

Goal: Structuring a Decentralized governance structure, that can act as the sovereign governance execution and data availability layer. Built specifically to interact with a Cosmwasm smart contracting platform and perform the necessary Governance actions, as the arm of execution across the IBC.

Necessary utilities needed to make such a structure possible:

  • Interchain Accounts
  • Interchain Queries
  • ZK proofs capability over IBC
  • Exclusive or permissioned version of ICS, securing the governance chain, using the smart contracting chain

Introduction

Proof of stake blockchains to date, have a glaring issue that shouldn't be overlooked. They do not have the level of decentralization needed to sufficiently create a censorship resistant entity. Most proof of stake chains do not have the appropriate number of validators to protect the chain against real, large scale third party threats, and the chains that claim to, tend to have tons of validators being run by a few entities. Blockchains in reality, have two primary ideas around Governance, you have the school of thought, found mostly in proof of work chains like Bitcoin, which has a massive number of nodes validating transactions, with a nearly immutable code unless there is total consensus among the miners themselves. The next school of thought, tends to be more applicable in Proof of Stake. In this model, the network tends to operate in a democratic manner where the delegators stake to the active validators of their choice, and then gain the opportunity to vote on-chain, to decide where the network should go next. This includes things such as where funds from a network treasury should go, whether a network upgrade should be uploaded, and many other democratic decisions to be made.

However, there is one fact that tends to be overlooked by many in the crypto space. If a validator set, or a majority of the validator set were to be corrupted in some way, delegators have almost no recourse towards the validators to hold them accountable, outside of selling their tokens and finding a new chain that aligns with their values. This is an inherent risk in the validator/delegator relationship, your values only matter, if the validator gives you the power to matter. However, the harsh reality is, validators are the sole controllers and gatekeepers, of the most important part of a blockchain, the code. This makes it important in my opinion, to figure out how we can get some level of recourse built in at the code level, for delegators to check the power that the validators currently hold.

In this post, I will introduce a Governance system, built on the Cosmos IBC, that, with certain functionality, could level the field of power in the delegator/validator relationship. I bring up certain topics like the ability for delegators to slash or jail a validator directly if a supermajority believe it is a necesssary move. I also bring up concepts like high deposits for proposals, with deposit incentives and slashing, depending on how the vote goes on-chain. I want to say, I am by no means a "blockchain expert", not even close, just someone who has fun thinking about blockchain governance and decentralization. So feel free to critique and comment on the concepts and ideas I am bringing here and let me know where I may be off or where I should look deeper into, to gain better perspective of how governance on the blockchain could work. This post in it's entirety is regarding a specific app-chain I have conceptualized, however bits and pieces of this idea could be interesting on other chains, in their governance systems as well.

Details of the two chain Governance System

This model will consist of a general, cosmwasm smart contracting chain, with a seperate side chain that strictly runs as the sovereign Governance execution layer. Items such as the delegators execution module will require a significant amount of predetermined functionality that will be necessary for such automated Governance to occur. So rather than create significant code complexity and attempt to run both a smart contracting platform and automated Governance modules on one chain, and sacrifice the scalability of one chain. I have opted to implement a second chain, that can handle the code complexity, incentivizes the additional load for validators using its own token and will give a permissionless governance structure allowing for delegators to have certain rights deemed necessary in a decentralized and secure blockchain. These rights will be automatically executable, rather than relying on a developer plan and validator execution. These rights are built into the system, to be enacted by the will of the delegators at any time where consensus of such action would be deemed necessary.

The two chain model would offload the vast majority of the complexity out to a second chain that’s dedicated to the data availability and execution of governance and the many different forms it can take. This allows for the main smart contracting chain to do what its best at, which is executing contracts and acting as the overall consensus layer necessary to ensure safe, secure transactions with interoperability. This operates on the surface as the domain of validator power. They execute the transactions in a permissionless way, acting as the will of developers, smart contracts and the customers these contracts are designed to be utilized by. The second chain has a very specific skill set as a Governance module, the predetermined slashing functions and delegator voting transactions will happen on this chain, away from the general influence of the smart contracting chain and allowing Governance transaction and contracting transactions to be separate, but remain linked together with interwoven functionality between the chains.

This Governance chain will need the ability to perform these slashing functions at the will of the delegators, and therefore the IBC will need to have such functionality, that one chain can execute its will on the other chain in a permissionless manner. I do believe that functionality is possible with new functions like Interchain Accounts and Interchain Queries, however a variation of Zero Knowledge proofs across IBC may be necessary as well, to be able to provide a proof to the contracting chain, acting as the command to slash as specific validator when the proof is received. Without ZK proofs, this information could provide issues of overwhelmingly bloated IBC transactions and may not allow the direct assurance needed to make the transaction fully automatic. In a situation without ZK proofs, this may require developer and validator action and trust, in order to execute the necessary actions. With that said, the two main functions that will be necessary are the zero knowledge proof, vindicating that action is necessary, and the predetermined functionality of automated slashing on the smart contracting chain, to ensure proper execution.

ZK proofs and the automated governance module, that would act as the execution “contract” and provides proof of mutual assent between the governance and smart contracting chain. Resulting in a trustless and permissionless piece of core functionality in the relationship between these two chains. An example of permitted action from a ZK proof from the Governance chain, would be it sending an IBC proof that, in the governance module would read like this;

“A slashing action was voted on and approved, by a supermajority of delegators, for the slashing of (X) validator for (Y) reason stated in our mutual assent, here is the (ZK) proof. Therefore per the terms of our agreement, you need to slash (X) validator for breaching their social contract with delegates”

This should act as seamless, automatic action with no need to trust developers to create such code and no need to trust validators to upgrade or execute such code. Rather the code is a part of the basic function of both of these chains, with terms of mutual assent stored in both chains, in a hard coded module, allowing it to be performed as any action on the chain would be and with equal immutability.

Securing the system, shared security between the two chains

The governance chain will operate under a similar structure to a permissioned version of ICS. This will allow them to have the same level of security, with a smaller amount of governance rewards being paid to delegators, since the majority of tokens should be earned through governance participation.

I believe this model will allow for a high degree of value capture between the chains and will be the best option to keep the validator set the same for both chains by utilizing ICS for a model with two chains needing to be attached at the hip, so to speak.

Whether the chain will have the capability to onboard other chains similar to how the Cosmos Hub does, would be left to the market to decide and would leave additional opportunity for growing its interchain services.

How a proposal may work on the two chain Governance structure (rough rundown)

  • A proposer starts by connecting their wallet to the central governance chain and governance hubs UI. Ideally this wallet would be whatever the most popular wallets are in the Cosmos ecosystem (Keplr, Cosmostation).
  • The proposer initiates the UI to make a proposal. They will provide a full detailed run down of their proposal, and this proposal will initiate into the deposit stage.
  • The deposit in general, will be a rolling .5% of the circulating supply, that adjusts per day, at an epoch of its own. This deposit amount will not change for the 21 day deposit period. After 21 days, if the proposal has not had the required amount deposited, then the deposit will be disbursed back to the original wallets that sent the funds.

(Note: Should a deposit be editable while in the proposal phase? Maybe a certain time like 19 out of the 21 day deposit period, so negotiation and debate can take place with meaningful results can be added to the proposal. What stops this from frequently changing so people can’t keep up, fee per edit?)

  • A successful deposit will be automatically, in its final form, be uploaded on chain for official voting.

Deposit risk and incentive- The goal of this model is to incentivize and encourage good governance with on-chain, economic assurances. One assurance would be, depositors will be incentivized for on-chain proposals that pass through the voting process. However, economic assurances must come with balance. The balancing power is, if a proposal ends its voting period with a “No With Veto”, then a deposit slash (example, 10% of total deposit slashed) will occur, giving a penalty for wasted on-chain governance,

as voted on by the voters. This risk/reward structure should motivate good proposals, with wording that comes easy enough for people to understand as well as ideas that are sound. While spam proposals will likely never make it on-chain, as most spam stops at the hub deposit period. The overarching idea being that depositors are more likely to want to preserve capital and only risk there tokens on a proposal they see as valuable, to earn incentives, rather than risking a slashed proposal.

  • It is from the point of the proposal being uploaded that a 10 day voting time frame will begin, with a 40% quorum minimum at the time of the end of the period. After this period and depending on results, the deposits plus or minus the incentive/penalty will be automatically returned. Deposits that are slashed can be sent to a treasury, sent to delegators of the staking token, burnt or wherever the community may decide in this matter.

How software upgrades could be handled on-chain:

Software upgrades inherently come with many responsibilities to try to work out every potential issue before submitting a proposal for the validators to upload. A testnet requirement with hub functionality that allows for multi-validator slashing by delegators, if they do not utilize the full testnet and do proper due diligence. This system would need to have some level of oracle functionality to relay information of the start of a testnet, and the time the testnet has been in process. The due process of the Testnet would be that the full testing period should be fulfilled before the Testnet ends and the upgrade is uploaded. This requirement can be sufficiently nullified if a signaling proposal is made by the community and passes, to allow early exit of the Testnet, penalty free.

Slashing and Jailing process

The slashing punishment, is a power left ultimately to the judgment of the delegators to enact, as this power would be strictly left to a delegator only model with no voting ability by any validators. A way to accomplish this could be through the knowledge of the validators address used for staking reward payouts and general voting address, and using that knowledge to having those addresses added as invalid addresses for the delegator specific voting module. Delegators will have this exclusive slashing ability, however, this should have an element of due process of on-chain approvals, to minimize the risk of delegator abuse.

  • This process needs to start with a general signaling proposal, however this signaling proposal should take place in a delegators specific voting module, where validator wallets will be excluded from voting, to allow for a proper democratic voting demonstration.
  • This general signaling proposal will require a 51% quorum with a 67% approval before this would be considered passed and moving into the execution phase.
  • The execution phase will add in what would be new functionality of automated slashing, where the delegators can pick out which validators are to be slashed, and this slashing will be done at the protocol level, via an execution proposal, that will include a specific set of “reasoning” behind why delegators are proposing to implement a slash, with an additional secondary vote to ensure the slashing execution is the way the network wants to proceed. The proposal period will be the same as the signaling proposal at 51% quorum and 67% approval of this slashing. The Execution module will require a significant amount of predetermined functionality that will be necessary for such automated Governance to occur.

Jailing a validator

  • An additional delegator power that could be added to a Governance system could be a delegation jailing a validator from the network of the jailing is deemed necessary by delegators and the function deemed necessary to be jailed, is not automated on-chain. This could be a process very similar to the slashing function and could prorate in a similar model.

General actions that could constitute a reason for delegators right to slash or jail a validator:

  • A validator or multiple vote on a proposal in a way that is out of character for the general social consensus of the network, thereby giving the network recourse against actors who seek to change the network outside the scope of what is generally seen as reasonable by the network. This recourse could cause a validator or multiple to seek a hardfork, which could split the network, but the network should seek a hardfork if enough validators and many delegates agree. Ultimately the right to fork should persist, and these governance measures are to be enacted when it is deemed most necessary to keep the general social consensus heading on the track that is generally approved.
  • If a validator or multiple validators were to become corrupted in some way by a malicious third party. It may be possible, in this scenario, for a significant slash or jailing could occur, that could effectively remove or limit the corrupted validators power over the network. Restaking to a safe, trusted and not corrupted validator would also be a possibility, however in some cases where a wealthy validator is holding most of its delegation by itself, this slashing could do material harm to the overall power the validator had.

Certain parameters would need to be set to make these Governance proposals executable, which could take some amount of foresight. However, the checks and balances of this system could be extremely interesting.

A deeper look at risks and rewards in depositing for a proposal:

The role of incentives is a straightforward idea, however the model I prefer is somewhat unique, at least compared to what I’ve seen. In most incentive structures the incentive is used to pay someone for voting or pay someone to vet proposals. However I don’t believe paying someone to vote, actually generates a good governance system, rather one where small amounts are paid to those who vote and a larger amount to the privileged ones with the time to review and vet proposals, or become a member of some council. I think there is a better and more inclusive way to incentivize good governance.

Essentially, the process comes with the premise that if we want to ensure good, high quality governance, the proposal needs to be backed by a deposit that depositors are risking, in hopes that the proposal is quality enough for the community to approve, thereby giving the depositors a reward paid out in the Governance token. This reward, however, would only be paid out after the proposal has passed, then the depositers into then successful proposal will receive their incentives for promoting good governance on the blockchain.

The flip side of the coin is that if a proposal ends with a “No With Veto”, then it was likely a wasted proposal and should be slashed, as a punishment for wasting time and blockspace. This skin in the game approach, would make the proposers think twice about small little proposals that don’t really propose a meaningful addition to the network. This slashing risk however, is only limited to a “No With Veto”. We do not want to take this too far with making a “No” voted proposal be slashed. Many “No” voted proposals will have legitimate changes offered, that the network simply didn’t want to utilize at the time or they simply felt that the proposal did not represent the will of the delegators. So these “No” votes will not be slashed, rather the full deposit will be returned after the voting period has ended.

A recent example of bad governance in Cosmos

Many community members didn’t like Prop 89, one of the Cosmos Hubs most recent governance proposals. However, with all of the controversy and ruckus it brought amongst the community, the proposal passed thanks to a few powerful validators.

This proposal could have had a very different outcome, had it been in the two chain governance system. In my opinion, the proposal likely would have never met the deposit amount of .5% of the current circulating supply without the entity proposing it making a large deposit or some larger entities coming in and helping to make the deposit of roughly 1,460,000 ATOMs. Would the ATOMs they had requested even been worth the risk of losing a large sum of ATOMs if the proposal was a “No With Veto” and the deposit was slashed?

These different risk/reward additions to governance could encourage good governance in a very meaningful way. You could see that the valuable proposals and upgrades are the ones that make it through the pipeline, and the governance that doesn’t make an impact will never make it through the deposit period without a significant risk to the deposited funds.

Shorter validator voting period

In general, a separate issue could be addressed. The fact that validators were able to vote last minute to make prop 89 pass, is a flaw that gives the largest and most powerful, the ability to totally sway a proposal. So the two chain model would also include a 2 day difference between the validator voting period and the delegator voting period. Within this two days, the delegators would have the ability to win over public opinion who may not have voted or may have abstained, thereby allowing the delegators to have a bit of time for coordination in the event that a proposal is on the brink of passing or failing, and the community at large wants to sway it in their preferred direction.

Conclusion

What benefit could this experiment of a two chain governance structure provide to the community and blockchain as a whole. Largely, this model would be a proof of concept. That this model could work to help decentralize a network and level the playing field for its delegators, rather than just its validators, and potentially make it more secure against third party risk.

The idea that a blockchain is as decentralized as its stake among validators, is a flawed narrative. Validators have a sole oligarchy over the entrance if effective code, and one coordinated effort by a majority of the validators, could seriously affect the network in a negative way. The slashing and jailing at the code level, with the rights to do so at the delegators full discretion, could be an interesting way to solve the issue of third party risk, and gives the delegators recourse to fight back against a corrupted or malicious validator set.

Please feel free to comment and critique (Also, sorry for any grammar or spelling mistakes). This is an important topic going forward in blockchain, as we need to figure out how to become more decentralized and censorship resistant as time goes on. I am loving this thought experiment. Feel free to read my last post as well, regarding the same topic as it will give further explanation as to where I have come from throughout this thought experiment. It is linked down below.

https://www.reddit.com/r/OsmosisLab/comments/zos7pd/creating_good_blockchain_governance/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Thanks for reading.


Didn't expect something like this to happen this year

https://i.redd.it/t7bd5vms4x8a1.png

Finis Coronat Opus

It’s an old latin syntagm that basically means “The end crowns the work”, and you’ll see in a bit what I’m referring to…

2022 has been a challenging year in crypto, marked by a predominantly bloody market but also by a series of events that undermined it’s credibility to the larger audience, all of this despite high hopes appearing at the end of 2021 regarding the NFT industry.

Bear market is a natural part of every cycle, crypto or not, and the most experienced players out there saw this period coming, to no surprise, but events like the Terra Luna collapse or the FTX fraud did not help. Also, influencers overselling various projects with no real added value had a negative impact on medium to long term investor confidence in the cryptoverse. The truth is that several aspects of crypto still need to be addressed:

  • Dex vs Cex: decentralization still needs to remain in focus as one of the core principles of crypto; one thing though, true decentralization is all about the code, not about the people. A study performed in July by chainalysis.com showed that across several major DAOs, less than 1% of all holders have 90% of the voting power. So, if just a fraction of the top 1% of holders coordinated, they could theoretically outvote the remaining 99% on any decision, bringing into the spotlight the question about authenticity of the whole decentralization concept.
  • ·Scalability: At the moment, Ethereum seems to be the gold standard of smart contracts capabilities, but it also has faced several challenges the network being bloated, thus losing market share to other blockchains more scalable and cheaper, like BSC, Tron, Avalanche or Solana. They have announced an important (series of) upgrade(s) for 2023, nut other solutions are announced to be released sooner and to be more efficient.
  • · Security: Bitcoin is and will most likely remain the reference when addressing crypto security. It’s Proof of Work has passed the test of time and networks that rely on PoW have been the least vulnerable to cyber-attacks. On the other hand, the Proof of Stake calability makes it more suitable for powering an asset as a medium of exchange, giving it the potential to provide a superior economic model for users and investors, but it makes it more vulnerable (one of the probable causes Solana encountered in 2022)

So who has the right answers to all of these questions, apparently, all the big players in crypto having only pieces of what is supposed to be one giant puzzle?

What if I told you there is a project that has been working hard to find the solutions to the above-mentioned challenges and it’s on the final straight to implementing them? It might not be the most known blockchain in crypto, but they are around since 2014, have survived several bear markets and are now in pole position to benefit from the fruits of the labor they have been undertaking for the last years.

Always adapting to the evolution of technology and the latest trends and discoveries, lead by a man (Jagdeep Sidhu) whose paper on blockchain idealism has set new architectural standards (link below) in this particular area of expertise, Syscoin has managed to go live on testnet with several of the trilemma answers.

Blockchain Idealisms. Abstract | by Jag Sidhu | Medium

Several upgrades are on private or public testnet, the most awaited-upon being the release of Rollux, the leading-edge of scaling technology for solidity-based EVM smart contracts. Rollux will be Syscoin’s scalability solution, Layer 2, which initially consist of optimistic rollups followed by Zero Knowledge ones. Both will be enhanced by Proof of Data Availability (PoDA). A recent video demonstrating how these features will work has been released, revealing the ease and rapidity with which the Syscoin network will be able to process requests:

Demo: Syscoin Optimistic Rollup + Native L1 Data Availability (PoDA) + Pali Wallet 2.0! - YouTube

A more in-depth explanation of the mind-blowing tech behind the process can be found below:

Revealing the Method in the Madness (syscoin.org)

All these breakthroughs resulted in Syscoin’s constant ecosystem growth. Consisting of numerous projects, from NFT markets, to Oracles, from dApp’s to Cex’s, Syscoin has known a constant adoption throughout the year, culminating with WEconomy’s joining the party. Weconomy, the largest Web3 incubator in Asia, currently consists of seventy startup projects and DAOs (Decentralized Autonomous Organizations) from across Asia, including China, Taiwan, and Vietnam.

Its mission is to have 100 projects within its incubator and ready to deploy on time with the launch of Syscoin’s Rollux, in Q1 2023.

And this is only the beginning, as we were stating before, as per Satoshi Nakamoto’s white paper, decentralization, total transparency and security need to be the cornerstone of any crypto project. The adoption of these principles will finally allow Dex’s to finally take the place Cex’s currently have.

Furthermore, Syscoin is bringing opt-in regulatory compliance on the EVM chain, in addition to the already existing one on the UTXO chain, which means that no matter the jurisdiction and the regulatory framework, Syscoin has the capability to adapt.

And since Syscoin remains an open source public blockchain, anyone can build upon it and take advantage of it’s revolutionary architecture and technology.


Exploring The Differences Between Crypto Tokens And Crypto Coins

Cryptocurrencies have gained a lot of popularity in recent years, with more and more people investing in them and using them as a means of payment. However, there is often confusion surrounding the terms "crypto token" and "crypto coin," and many people do not understand the difference between the two. In this blog, we will take a closer look at the difference between crypto tokens and crypto coins, as well as their uses and characteristics. And do you need a Crypto Token Development company to develop your crypto coins and tokens?

https://preview.redd.it/8u1ydgph8t8a1.png?width=6912&format=png&auto=webp&s=06d51eb46bb5730f5a89e5a99d8ef1454ab8ebe8

Crypto Tokens Vs Crypto Coins

First, let's define what we mean by "crypto token" and "crypto coin." A crypto token is a digital asset that represents a specific asset or utility. It is often built on top of an existing blockchain, such as Ethereum, and can be used for a variety of purposes, including representing a physical asset, like gold or real estate, or representing a utility, like the ability to access a particular service or platform.

On the other hand, a crypto coin developed by a Crypto Token Development Company is a digital currency that is designed to be used as a means of exchange. It is not built on top of an existing blockchain and serves as a standalone currency that can be used to buy and sell goods and services. The most well-known crypto coin is probably Bitcoin, which was the first decentralized digital currency and remains the most valuable and widely used one.

Now that we have a basic understanding of the definitions of crypto tokens and crypto coins, let's delve deeper into their characteristics and uses.

One of the main differences between crypto tokens and crypto coins is their purpose. As mentioned earlier, crypto tokens are often used to represent a specific asset or utility, whereas crypto coins are designed to be used as a means of exchange. This means that crypto tokens are often used in a more limited capacity than crypto coins, as they are tied to a specific asset or service.

Another difference between the two is their issuance and distribution. Crypto tokens are often issued and distributed through initial coin offerings (ICOs), which are fundraising events in which a new project sells its tokens to investors in exchange for funding. On the other hand, crypto coins are not typically issued through ICOs and are instead mined or created through a process called "proof of work."

In terms of their use cases, crypto tokens developed by a Crypto Token Development Company are often used in a variety of industries, such as finance, supply chain management, and gaming. They can be used to represent a variety of assets, including physical assets like gold or real estate, as well as intangible assets like voting rights or access to a particular service or platform.

Crypto coins, on the other hand, are primarily used as a means of exchange and can be used to buy and sell goods and services, as well as for investment purposes. While Bitcoin is the most well-known crypto coin, there are many other crypto coins available, such as Ethereum, Litecoin, and Ripple, each with its unique features and use cases.

What About Stablecoins? Are They Coins or Tokens?

Stablecoins are a cryptocurrency built by a Crypto Token Development Company designed to maintain a stable value relative to some other asset or currency. They are typically pegged to a stable asset, such as the US dollar, to reduce the common price volatility among other cryptocurrencies. Stable coins can be either coins or tokens, depending on how they are implemented. Some stablecoins are implemented as coins on their blockchain, while others are implemented as tokens on top of an existing blockchain platform, such as Ethereum.

For example, USD Coin (USDC) is a stablecoin that is implemented as an ERC-20 token on the Ethereum blockchain. It is backed by the US dollar and can be used as a store of value or as a means of exchange in the same way as other cryptocurrencies. On the other hand, Tether (USDT) is a stablecoin that is implemented as a coin on its blockchain. It is also pegged to the US dollar and can be used in a similar way to USDC.

Overall, stablecoins offer an alternative to traditional fiat currencies, with the added benefit of being easily transferred and stored digitally. They are increasingly being used in various applications, including as a means of payment, as a store of value, and as a way to facilitate cross-border transactions.

To Sum Up,

The main difference between crypto tokens and crypto coins is their purpose and use cases. Crypto tokens are digital assets that represent a specific asset or utility, while crypto coins developed by a Crypto Token Development Company are digital currencies that are designed to be used as a means of exchange. While both have gained a lot of popularity in recent years, it is important to understand the differences between the two to make informed investment decisions.