# Introduction

Allstake is the first meshed (re)staking protocol that brings shared security to all chains. By decoupling consensus and execution, Allstake enables trustless scaling, offering enhanced scalability, security, and decentralization.

Allstake allows users to natively stake and restake a wide range of assets (LSTs, LRTs, LP tokens, stablecoins, etc.) on multiple chains including NEAR, Bitcoin, Ethereum, Solana, Ton, and more. Allstake comprises a modular toolkit that includes a programmable multi-asset economic module, a (re)staking hub for managing (re)staking logics, a chain signature module for synchronizing states and slashing on other chains, and light clients for trustless verification.

<br>


# Stage 0: Genesis

**How to participate:**

**A: Be a depositor**

1. Access app.allstake.org
2. Deposit $LiNEAR/$stNEAR/$Aurora/$JitoSOL/$mSOL/$bSOL/$INF
3. Get restaked points

Once you click "Unstake" the unstaking period begins. All funds unstaked from Allstake go through a 2-day escrow period before being able to be withdrawn. Note that you stop earning points once you unstake.

**B: Join our community**

X: [https://x.com/allstake\_fi](https://x.com/allstake_fi?mx=2)\
Discord: <https://discord.com/invite/te2eJuJ3kp>\
Telegram: <https://t.me/allstake_fi>\
Medium: <https://medium.com/@allstake>

This stage is dedicated to early contributors who played a pivotal role in the growth of the Allstake community. Be sure to join our community and stay tuned for more details.


# Point System

**Restaking Points**

Depositors are elgibile to receive one point per value in 1$ staked per hour.

**Community Points (GEMs)**

Allstake has a special point system for our community program. GEM is the incentive points you can earn by participating in various community campaigns across the Allstake ecosystem.

We encourage you to join the Allstake community and stay tuned for more details to come.

Twitter: <https://twitter.com/allstake_fi> \
Discord: <https://discord.com/invite/te2eJuJ3kp> \
Telegram: <https://t.me/allstake_fi>


# Highlights

Allstake pioneers Omnichain+Native multi-asset (re)staking within the same Actively Validated Services (AVS) or Application Chain. This breakthrough offers unparalleled flexibility and composability, redefining the landscape of blockchain security.

**Meshed (Re)staking:** Users can utilize different on-chain assets for staking and restaking without needing a bridge, allowing AVS to select any combination of assets as their security source.

**Native (Re)stake:** Allstake enhances security and reduces costs by not requiring the introduction of a new L1/L2 as an Omnichain (re)stake hub.

**Chain Signature:** Leveraging NEAR's Chain signature scheme simplifies Cross-Chain Interoperability and boosts multi-chain support efficiency, particularly for blockchains that do not support smart contracts, such as BTC and XRP.


# Empowering AVS and App chain with Cross-Chain Security and Flexibility

Allstake pioneers meshed (re)staking; it enables users to stake and restake within the same Actively Validated Services (AVS) natively across dozens of supported chains. This breakthrough offers unparalleled flexibility and composability, redefining the landscape of blockchain security.

In traditional approaches, AVS relied on a single asset for (re)staking, leaving them vulnerable to risks such as price fluctuations and chain failures. Allstake disrupts this paradigm by introducing multi-asset (re)staking, empowering AVS to diversify and customize their risk exposure across multiple assets simultaneously. A variety of assets such as ETH, BTC, NEAR, SOL, USDe, and even LP tokens can now be (re)staked to fortify security.

Allstake's (re)staking hub is built on the NEAR blockchain, which can provide robust security guarantee since Day 1. By utilizing Chain Signature with innovative voting weight design, Allstake enables users to stake and restake with assets on their native chain. Each AVS has the autonomy to select any combination of chains and assets as its primary security source simultaneously. This approach not only enhances security but also broadens the range of assets available for earning AVS rewards.

While several innovative (re)staking solutions have emerged, such as Omnichain LRT solution based on Eigenlayer and multi-asset (re)staking using bridging, Allstake sets apart through meshed (re)staking. This unparalleled flexibility and expansibility can empower the future of blockchain security.


# Sustainable shared security tokenomics

In conventional (re)staking scheme designs, there's often an underlying assumption that Actively Validated Services (AVS) and Application chain can consistently generate enough profit to incentivize (re)stakers, or that they can maintain the stability of their native token by continuously rewarding (re)stakers with it. However, this assumption frequently proves unreliable, prompting AVSs to seek alternative methods to capture value, mitigate inflation, and support their token's value without relying solely on token rewards from PoS participation.

Allstake introduces a versatile and straightforward solution for AVSs/App chains to capture the intrinsic value of their tokens. For instance, (re)stakers can stake AVS/App chains tokens to augment their earnings within the AVS/App chain ecosystem, akin to Curve's veBoost mechanism. Additionally, Allstake facilitates AVSs/App chain in providing incentives to (re)stakers across different chains, offering the flexibility to set standardized issuance conditions.


# Validator Diversification

Ensuring validator diversification is a paramount focus of Allstake for Actively Validated Services (AVS) or App chain. Each blockchain imposes unique requirements on validators, resulting in diverse profiles concerning hardware and geographic distribution. Previously, (re)staking is usually confined to a single blockchain. AVS/App chain node operators are typically limited to existing validators of that specific chain or native (re)stakers. However, this setup may not align with the objectives of applications that prioritize physical decentralization and resistance against real-world censorship. To tackle this challenge, Allstake introduces a chain-agnostic solution, empowering AVSs/App chains to foster decentralized networks by attracting validators from multiple chains. This approach bolsters the decentralization and resilience of networks, accommodating the varied requirements of different blockchain ecosystems.


# Technical Architecture

Empowered by [Chain Abstraction on NEAR Protocol](https://docs.near.org/build/chain-abstraction/what-is), Allstake not only brings native (re)staking to all chains, but also makes it possible to build AVSs with multi-chain signature capability from day one.

Allstake Protocol comprises three core components:

1. **Allstake Hub**, built on NEAR Protocol, which manages all the AVSs and operators, and tracks all deposit, delegation and withdrawal states of (re)stakers.
2. **Client Contracts** on all client chains including EVM chains like Ethereum and non-EVM chains like Solana, allow native stake, delegate and withdraw by (re)stakers on these client chains. As there're no smart contracts on Bitcoin, the (re)staking logic is implemented with Chain Signature, which we'll share in more details later.
3. **Cross-Chain Interoperability** between Allstake Hub and Client Chain Contracts that can (1) sync staking and delegation states from client chains to Allstake Hub, and (2) perform undelegate, slash and reward distribution on client chains with Chain Signature transaction initiated by Allstake Hub.

<figure><img src="https://1129226215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pRtmNB3pmsvf347n9A6%2Fuploads%2F2v2WVMPxEym4gU5DL4Yb%2FB.png?alt=media&amp;token=d237ab60-b15b-4de5-a500-8b8b89f1ede5" alt=""><figcaption></figcaption></figure>


# Modules

Here we introduce the system modules of Allstake, by illustrating how Allstake works between NEAR and Solana.

**Allstake Hub**, living on NEAR Protocol, is built with the modules below:&#x20;

1. **Strategy Manager**: track the deposit and stake states of LST strategies across multiple chains like NEAR and Solana
2. **Delegation Manager**: register operator to AVS/App chain; allow delegation from restakers to operators
3. **AVS/App chain Directory**: register AVS/App chain by AVS/App chain developers
4. **Slasher**: slash operators for under-performance according to network's performance evaluation criteria
5. **Payment Coordinator**: distribute rewards to operators and restakers based on operator performance and delegation amount

**Client Contracts on Solana**, enable native restaking with LSTs on Solana:

1. **Strategy Manager**: accept deposit and stake native LSTs (e.g. mSOL) on Solana.
2. **Delegation Manager**: allow restaked LSTs to be delegated to operators registered on Allstake Hub;
3. **Operator Manager**: manage slashing and reward distribution to delegators on Solana;

**Cross-Chain Interoperability,** powered by Chain Signature and Light Clients:&#x20;

1. The states of Strategy Manager and Delegation Manager on Solana are relayed to **Light Clients** on NEAR, and are accessible with **Connector** contracts on NEAR.
2. Powered by [**Chain Signature**](https://docs.near.org/build/chain-abstraction/chain-signatures), Allstake Hub can synchronize AVSs/App chains and operators registration states to Solana, and slash and reward restakers on Solana in real time.&#x20;

**AVS/App chain**, built with middleware and SDKs provided by Allstake, can register on Allstake Hub. The **Stake Registry** can read delegation shares from both NEAR and Solana Delegation Managers, and secure AVSs with restaked assets from both NEAR and Solana.

<figure><img src="https://1129226215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pRtmNB3pmsvf347n9A6%2Fuploads%2Funh6UhBRCXeR8QZif0xV%2FSlide%2016_9%20-%2012.png?alt=media&amp;token=1ab05336-cf2e-4adb-9ef0-47cd4035d873" alt=""><figcaption></figcaption></figure>


# Cross-Chain Interoperability

Allstake combines Light Clients and Chain Signature to achieve cross-chain interoperability. Allstake synchronizes native (re)staking states from client chains to Allstake Hub on NEAR with reliable cross-chain communication technologies such as Light Clients and Wormhole's message passing solution. Allstake performs operations on client chains with Chain Signature.

Allstake utilizes both classical light clients and ZK light clients that are built between NEAR and client chains. This includes Rainbow Bridge between NEAR and Ethereum, NEAR-IBC, LayerZero and ZK light clients built by Wormhole Foundation and Electron Labs, etc..


# Chain-Abstracted AVS

Different from other (re)staking protocols, AVS developers on Allstake can build their infrastructures with multi-chain features from day one.&#x20;

As illustrated by [EastBlue](https://eastblue.io/), which is built with Chain Abstraction on NEAR, developers can build AVSs that are available for multi-chains, including Bitcoin, with minimal efforts on client chains. For example, you can build a cross-chain oracles for Ethereum, Solana, NEAR and Cosmos by synchronizing price feed data from your oracle AVS contracts on NEAR to client oracle contracts on Ethereum, Solana and Cosmos chains.&#x20;


# Operators

Operators runs as the nodes of the AVSs in Allstake protocol. After registering on Allstake, they can receive delegation of staked assets, and opt-in AVSs by providing services and improving security.

Operators can join Allstake permissionlessly. They can receive delegation from any (re)stakers, including self-delegation. Operators can receive delegations of multiple tokens, which depends on the preference of the AVSs.&#x20;


# Security


# Audits

Allstake has passed a comprehensive security audit performed by [BlockSec](https://blocksec.com/), one of the leading security auditing firms in the blockchain space.\
\
You can find the full audit report, including the process and detailed findings, at the following link:

* [BlockSec Audit: NEAR Contract, July 2024](https://github.com/allstake/audits/blob/main/Allstake%20-%20NEAR%20-%20BlockSec%20-%20Jul%202024.pdf)
* [BlockSec Audit: Solana Program, July 2024](https://github.com/allstake/audits/blob/main/Allstake%20-%20Solana%20-%20BlockSec%20-%20Jul%202024.pdf)
* [BlockSec Audit: Solidity Client Contracts, July 2024](https://github.com/allstake/audits/blob/main/Allstake%20-%20Solidity%20-%20BlockSec%20-%20Jul%202024.pdf)


# Example Use Cases

**Cross-chain bridge secured by every chain it connects**

Allstake enhances the security model of cross-chain bridges by providing robust and diversified security. This is especially beneficial for native asset cross-chain bridges, which require multi-asset liquidity. Allstake's meshed restaking can meet both the liquidity and security requirements of these bridges.

**Omnichain exchange that settles on more than one chains**

Off-chain orderbooks that receive deposits from multiple chains can decentralize their infrastructure by using Allstake to channel security from the chains they serve. Allstake's cross-chain interoperability and Chain Signature solutions will significantly enhance the security, performance, and user experience of Omnichain exchanges.

**VM-agnostic shared sequencer**

Sequencing and block building is a major subject across the crypto space. Shared sequencers that serve different chains and environments can get unparalleled security from Allstake.&#x20;

**Decentralized intent solver network**

Allstake enables restaked intent solvers that can revolutionize how people interact with blockchains. Allstake's Chain Signature solution, combined with a decentralized intent solver network, will create highly secure and user-friendly chain abstraction infrastructure. This solution drives mass adoption for web3, making it easy and safe for anyone to interact with decentralized apps.


# Roadmap

Mainnet 1: (Re)staking and Unstaking on NEAR/Solana/EVM

Mainnet 2: Native BTC Staking and Unstaking&#x20;

Mainnet 3: Delegation + AVS Middleware & SDK + Decentralized MPC Network

Mainnet 4: Cryptoeconomic Strategy module (Slashing, Vaults)&#x20;

Mainnet 5: More AVS/App chain<br>


