## Staking Chain design session @ Mallorca - more details: [Staking Parachain high-level architecture](https://hackmd.io/okXqe3csRd2Qmo6eXCNQ3Q) **Topics to cover**: - [ ] Intro & Motivation - Why a staking chain at all? - Tradeoffs and affected parties - General note about the talk: Delivering with the tools we have now (XCMv3, HRMP) vs. what we _imagine_ to have in the future (XCMvX, pub-sub, XCMP, XCQ, etc.). - [ ] native staking (short-term) and remote staking (long term) - native staking for simplicity - remote staking as a way to do minimal staking across the ecosystem via asset-hub only (custodians integration) - [ ] dedicated XCM `Stake` / `Unstake` instructions as general interface - minimal interface to be used in any staking context - helps with dapp migration to staking chain - `Stake {asset, staker, target}` - `Unstake {asset, staker, target}` - more? (Polkadot forum post and RFC incoming) - [ ] relay-chain <> staking chain - relay-chain *reactive* to new set of active validators - register session keys through staking chain (Validator -> SC -> RC) - offences announced though XCM (future: ISMP/XMQ) - validator enablement/disablement though XCM - `era` local to staking - [ ] asset-hub <> staking chain - native staking: - teleport assets - rewards and slashes local to staking - locks for other chains (for govt etc) from a different account than AH - remote staking: - lock assets in asset hub (`LockAsset` and `NoteUnlockable` flow) - update rewards through XCM periodically (batch) - locks for other chains directly from AH - [ ] inflation minting and distribution - asset hub calculates the era payout *reactively* - at the end of an era, staking chain sends a XCM message with `total_staked` and `era_duration_millis` - remaining params are in asset hub - asset hub distributes inflation DOT to sovereign pots/through teleport - [ ] migration - % of the active validators breakdown between staking chain and relay-chain - economic incentives for validators to adjust automatically - slowly increase % of validators in staking chain - validators and nominators need to create new accounts, session keys, etc - possible to move validators/nominators automatically to staking chain? (possible not) ### Notes