# SafeStake: A trust-minimized middle layer for secure, decentralized ETH staking

[![Publish Image & UnitTest](https://github.com/ParaState/SafeStakeOperator/actions/workflows/ci_dev.yml/badge.svg?branch=dev)](https://github.com/ParaState/SafeStakeOperator/actions/workflows/ci_dev.yml)

## What is SafeStake? <img src="https://1462560475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUActVW5l90TJZMuUrTbe%2Fuploads%2F7ctMH8m7QfoIhbZulljK%2Fimage.png?alt=media&#x26;token=025dc643-ba2c-4681-8362-dedacdef5780" alt="" data-size="line">

`SafeStake` is a decentralized staking framework and protocol that maximizes staker rewards by keeping validators secure and online to perform Ethereum Proof-of-Stake consensus (ETH2) duties. It splits a validator key into shares and distributes them over several nodes run by independent operators to achieve high levels of security and fault tolerance. Written in Rust, SafeStake runs on top of the ETH2/consensus client [Lighthouse](https://github.com/sigp/lighthouse) and uses [Hotstuff](https://github.com/asonnino/hotstuff) (a BFT consensus library) for consensus. The referenced [thesis](https://eprint.iacr.org/2019/985).

<figure><img src="https://1462560475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUActVW5l90TJZMuUrTbe%2Fuploads%2FI3vEnXqszJ1AqaXl2gi3%2Fimage.png?alt=media&#x26;token=3027fd71-0c20-4dcd-ba33-1e559d703036" alt=""><figcaption><p>SafeStake Network Architecture</p></figcaption></figure>

### SafeStake makes earning staking rewards safe and easy for all ETH holders.

* `Stage 1 - Deposit 32 ETH` and choose a group of four operators to manage your validator.
* `Stage 2` - Partnering with LST protocols to run 'Pooled Validator', empowring LST/LRT protocols to deploy validators on SafeStake platform to enhance security and improve performance resilience.

**SafeStake is the first ETH staking pool to implement distributed validator technology (DVT) written in Rust for increased decentralization, security, and reliability.**

### Test Drive SafeStake

You can join the SafeStake testnet by running a **Validator** or an **Operator Node**.

<figure><img src="https://1462560475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUActVW5l90TJZMuUrTbe%2Fuploads%2FMKLFp0wm7cJ89iFG5JCW%2Fimage.png?alt=media&#x26;token=5620a5a2-8db5-489d-9e4b-a4ef45f6ba92" alt="Test SafeStake"><figcaption><p>Join the SafeStake Network</p></figcaption></figure>

### Run a SafeStake Validator

In the SafeStake ecosystem, there is no need for stakers to deploy validators as they delegate those duties to operators. A deposit of as little as .01 ETH up to 32 ETH is all a user needs to join the network as a validator. Just connect your wallet and follow the instructions to get started.

### Run a SafeStake Operator Node

Please refer to the step-by-step instructions [here](https://docs.safestake.xyz/safestake-overview/docs/safestake-running-an-operator-node).

## SafeStake White Paper

Read the SafeStake [white paper](https://docsend.com/view/22tth6krr9mnfhre?lt_utm_source=lt_share_link).

## Additional Information

Check out [our website](https://www.safestake.xyz/) for more about SafeStake.

[Help test](https://testnet.safestake.xyz/) the SafeStake network!

Twitter: <https://twitter.com/safestakeDVT>

Join our [Discord](http://discord.gg/zFS3Mnfpwj) chat channel!

## Beta Advisory

Currently, the SafeStake project is in public testnet stage. In addition, the smart contracts have been reviewed by the Nethermind Team and fulfilled audit by PeckShield. Please check the detailed [audit report](https://github.com/peckshield/publications/tree/master/audit_reports/PeckShield-Audit-Report-SafeStake-v1.0.pdf) and the Operator Networking Security Assessment Report by SigmaPrime. [Sigma\_Prime\_SafeStake\_Operator\_Security\_Assessment\_Report\_v2\_1.pdf](https://github.com/user-attachments/files/17098313/Sigma_Prime_SafeStake_Operator_Security_Assessment_Report_v2_1.pdf). Stay tuned for the Stage1 mainnet launch!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.safestake.xyz/safestake-overview/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
