2020-04-17

How we will launch Shelley

6 chapters · 44 markers

Why Shelley isn't a normal launch 3

This Shelley launch is unlike a normal cryptocurrency release or hard fork because Cardano is moving from a federated model to a fully decentralized one.

Roadmap & Product decentralisedhardfork

Byron launched in September of 2017 running in federated mode, with core consensus nodes operated only by the Cardano Foundation, Emurgo and IOHK.

Cardano Tech & Research Input OutputIOGIO +1

Five years of research into the Ouroboros family of proof of stake protocols made it possible to move Cardano from a static federated design to a dynamic, decentralized one.

Cardano Tech & Research PoSdecentralised
Proving decentralization: the incentivized testnet 5

The incentivized testnet, launched in December of 2019, was the first step to check whether people outside the federated set would actually run Cardano nodes.

Cardano Tech & Research ITNtest net

The incentivized testnet was a full peer to peer version of Shelley with stake pools and delegation, drawing about 12 billion ADA into staking, roughly 40 percent of the total supply, while also measuring network quality and block production.

Cardano Tech & Research ITNtest netpeer-to-peer +1

The incentivized testnet was an overwhelming success: the decentralization target was 1,000 stake pools instead of the original three entities, and over 1,000 registered with around 300 regularly making blocks.

Cardano Tech & Research ITNtest net

The phased transition to Shelley began with the Byron reboot, launched on March 31st, 2020, carrying the bridge code needed to upgrade onto Ouroboros BFT.

The transition runs through three phases: Byron running Ouroboros BFT, the Shelley upgrade phase, and the Shelley hybrid phase.

Three Shelley testnets: friends and family, node and CLI, balance check 4

Byron OBFT is what shipped in Daedalus Flight client 3, and alongside it comes a friends and family Shelley Haskell testnet, an internal alpha for a small group of top stake pool operators to verify the node and command line first.

Cardano Tech & Research test netstakepoolstake pool operator +3

The alpha operators are meant to train the rest of the stake pool community through channels like Telegram before the public Shelley node and CLI testnet opens, giving incentivized testnet operators their first real chance to rebuild infrastructure.

Cardano Tech & Research test netstakepoolITN

The balance check testnet bundles the node, wallet and Daedalus with the consolidated Byron and Shelley history, validating that incentivized testnet rewards, worth tens of billions of ADA, reconcile correctly.

Cardano Tech & Research ITNtest net

Balance check marks the end of life for the incentivized testnet and is where exchanges get a full listing experience so their integrations are forward compatible with Shelley mainnet.

Ecosystem & Partnerships ITNtest netmain net
Upgrade phase, hard fork, and the hybrid phase's d parameter 9

During the Shelley upgrade phase, wallets like Daedalus, Yoroi and Ledger will show the full staking interface, but it stays inactive because the network is still running under Byron's federated Ouroboros BFT consensus.

Once the upgrade window closes, a hard fork shuts off the Byron relays entirely, so any exchange still on Byron gets locked out until it upgrades.

Roadmap & Product hardfork

The Shelley hybrid phase introduces a decentralization parameter, d, that starts at 1 and lets the old federated nodes keep making blocks for free while stake pools begin registering.

Cardano Tech & Research

As d decrements epoch by epoch, an increasing share of each epoch's slots gets made by registered stake pools instead of the core federated nodes.

Cardano Tech & Research d parameter

There is no cap on how many stake pools can register even though the k parameter targets around 1,000, and d can be moved back up as a safety valve if a bug or a catastrophic event occurs.

Cardano Tech & Research

Epochs will run four to five days, and depending on how fast d decrements, for example 0.1 or 0.2 per epoch, the hybrid phase could last around two months or as little as 20 days.

Cardano Tech & Research

These are real stake pools earning real rewards during the hybrid phase, not another test net.

Cardano Tech & Research testnet

The incentivized testnet's roughly 40 percent participation lands between Tezos, which is over 60 percent, and Tron, around 20 to 30 percent.

Crypto Industry & Commentary test netITN

The phased rollout gives people weeks rather than months to upgrade, and once d hits zero the network is fully decentralized with the federated nodes retired for good.

Roadmap & Product d parameterdecentralised
The Hard Fork Combinator and why the switch is safe 8

The Hard Fork Combinator is a new construct that lets Cardano gracefully switch between consensus systems with no loss of availability or performance.

Cardano Tech & Research hardforkHFC

Upgrading tens of thousands of nodes, exchanges, wallets and explorer infrastructure all at once is genuinely complex, but simulations and formal methods give confidence the switchover will be graceful rather than forcing a jarring, hard upgrade deadline.

Cardano Tech & Research

Cardano.org and the wider set of GUI assets are being completely redesigned for the Shelley launch, with McCann Dublin working alongside the Cardano Foundation and Emurgo.

Community & Media Project RenovareCF

Shelley introduces a new bech32 address format, roughly half the size of current addresses, that wallets will rotate to once the hard fork begins.

Cardano Tech & Research hardfork

Depending on who you are, the path differs: everyday Daedalus users just wait for staking to switch on, stake pool operators get hands on in the Shelley node and CLI testnet, and exchanges integrate through balance check.

Once the Shelley hybrid phase begins, no Byron wallet or infrastructure will work anymore, so anyone still on an old Byron wallet must migrate, with guides to be released on how.

Roadmap & Product

Running Ouroboros BFT during the hybrid phase is an uncompensated safety mechanism, and given how the incentivized testnet trended, a high degree of decentralization is expected within a month of Shelley's launch.

Cardano Tech & Research OBFTtest netITN +2

Because the Hard Fork Combinator has already solved the hard federated to decentralized jump, future upgrades like Goguen, Basho and Voltaire will be far less complicated than Shelley.

Roadmap & Product decentralisedhardforkGogan +2
Full decentralization, what's next, and how to prepare 15

The mechanics recap: the Byron reboot aligns everything onto Ouroboros BFT, the upgrade phase runs a full Shelley node without turning its features on, and the hybrid phase triggers the hard fork, decrementing d from 100 percent down to zero.

A fully decentralized Shelley is projected to run on about a thousand operators, be a hundred times more decentralized than Bitcoin, and handle several hundred to over a thousand transactions per second on the base Ouroboros protocol alone.

Cardano Tech & Research BTCdecentralisedTPS

The next upgrade, Goguen, moves the ledger rules from UTXO to extended UTXO and adds dedicated multi asset support alongside the Plutus smart contract tooling.

Cardano Tech & Research eUTXOnative tokensGogan +1

Goguen, Basho and Voltaire are already being worked on in parallel by their own teams, including early Hydra scaling stubs being prepared for when they are needed.

Roadmap & Product GoganGogen

This upgrade has been more than 24 months in the making, and because Byron is a real cryptocurrency rather than a testnet, Cardano invested heavily in backward compatibility so every node can still validate the full transaction history back to September of 2017.

Cardano Tech & Research test net

Aparna Jue will run a product workshop at the end of April with more concrete dates, and the friends and family phase is already starting, with Duncan Coutts running a Shelley node himself.

Roadmap & Product

Rather than a two to three month upgrade window, the plan is for a short upgrade phase of about four weeks, with balance check giving enterprise integrators extra lead time, though a single huge exchange might get more time by exception.

Roadmap & Product

A wave of videos, blog posts, tutorials and guides is coming, alongside a refreshed Cardano.org as a single source of truth and a full rewrite of Cardano Docs.

Community & Media

Getting here took roughly a million lines of code and about two years of development effort, and the same federated to decentralized playbook could work for other chains, for example if Ripple's XRP wanted to decentralize, though Ethereum's move from proof of work differs.

Crypto Industry & Commentary ETHdecentralisedPoW

The incentivized testnet beat expectations by a wide margin: the team expected 10 to 20 percent participation and got roughly 40 percent instead.

Cardano Tech & Research ITNtest net

How smoothly the team navigated the Byron reboot codebase, plus the confidence from simulations and formal methods, suggests Shelley will feel production ready rather than needing months of alpha debugging.

Cardano Tech & Research

More concrete dates for the node and CLI testnet and for balance check are coming out of the product workshop, on a weekly or biweekly release cycle.

Roadmap & Product test net

Users should check now that their incentivized testnet rewards are properly consolidated, since that is the last chance to flag an issue before the upgrade phase, after which most people just install the new wallet and wait for staking to switch on.

Community & Media ITNtest net

Warns viewers not to miss a date: this rollout will move fast rather than run for months like a typical testnet, so send questions through the video comments or Reddit.

Community & Media test net

The Emurgo and IOHK Twitter and YouTube accounts are the best places to catch weekly, sometimes daily, Shelley updates as the rollout moves fast.

Community & Media Input OutputIOGIO