Skip to content

Commit 1be53b2

Browse files
authored
docs: small revision to the documentation (#512)
1 parent 0f647eb commit 1be53b2

File tree

12 files changed

+52
-200
lines changed

12 files changed

+52
-200
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ having trouble. As always, jump on [discord](https://discord.gg/cyAszAh)
9191
if you get stuck.
9292

9393
Additionally,
94-
the ["Contributing to Anchor" section](https://anchor-book.sigmaprime.io/contributing.html#contributing-to-anchor)
94+
the ["Contributing" section](https://anchor.sigmaprime.io/contributing)
9595
of the Anchor Book provides more details on the setup.
9696

9797
## FAQs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Anchor maintains two permanent branches:
3939
Anchor welcomes contributors.
4040

4141
If you are looking to contribute, please head to the
42-
[Contributing](https://anchor-book.sigmaprime.io/contributing.html) section
42+
[Contributing](https://anchor.sigmaprime.io/contributing) section
4343
of the Anchor book.
4444

4545
## Contact

docs/docs/pages/cli-keygen.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ Anchor.
3535
anchor keygen --encrypt --output-path /path/to/keys
3636
```
3737

38-
Anchor will look for the key file inside the directory specific by `--datadir`, unless you
39-
specify it via `--key-file`.
38+
Anchor will look for the key file in the default directory `~/.anchor/{network}`, or the directory specified by `--datadir`.

docs/docs/pages/cli-node.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ anchor node [OPTIONS]
3434
| --- | --- | ---|
3535
| `--metrics` | Enable metrics server | Disabled |
3636
| `--metrics-address <ADDRESS>` | Listen address for metrics server | `127.0.0.1` if `--metrics` is set |
37-
| `--metrics-port <PORT>` | Listen port for metrics server | `15000` if `--metrics` is set |
37+
| `--metrics-port <PORT>` | Listen port for metrics server | `5164` if `--metrics` is set |
3838

3939
#### Network Options
4040

docs/docs/pages/development_environment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ As with most other Rust projects, Anchor uses `cargo test` for unit and
2828
integration tests. For example, to test the `qbft` crate run:
2929

3030
```bash
31-
cd src/qbft
31+
cd anchor/common/qbft
3232
cargo test
3333
```
3434

docs/docs/pages/installation.mdx

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11

22
# Anchor Installation Guide
33

4-
This guide provides step-by-step instructions for installing **Anchor**.
4+
This guide provides step-by-step instructions for installing Anchor.
55

6-
---
6+
## Recommended System Requirements
7+
8+
Anchor itself is a light-weight client when run alone.
9+
However, as Anchor needs to connect to a beacon node and an execution client, this implies that a complete setup will require
10+
the hardware specifications equivalent to running an Ethereum node.
11+
12+
| Hardware | Hoodi testnet |
13+
|--------|---------|
14+
| CPU | AMD Ryzen, Intel Broadwell, ARMv8 or newer |
15+
| Memory | 16 GB RAM |
16+
| Storage | 200 GB |
717

818
## 1. Download the Latest Release from GitHub
919

@@ -14,11 +24,14 @@ This guide provides step-by-step instructions for installing **Anchor**.
1424
### Example
1525

1626
```bash
17-
wget https://github.com/sigp/anchor/releases/download/<version>/anchor-<platform>.tar.gz
18-
27+
# General download link format
1928
# Replace <version> and <platform> with the appropriate values.
29+
wget https://github.com/sigp/anchor/releases/download/<version>/anchor-<version>-<platform>.tar.gz
30+
tar -xvf anchor-<version>-<platform>.tar.gz
2031

21-
tar -xvf anchor-<platform>.tar.gz
32+
# Specific version example
33+
https://github.com/sigp/anchor/releases/download/v0.3.1/anchor-v0.3.1-x86_64-unknown-linux-gnu.tar.gz
34+
tar -xvf anchor-v0.3.1-x86_64-unknown-linux-gnu.tar.gz
2235
sudo mv anchor /usr/local/bin/
2336
```
2437

@@ -38,10 +51,10 @@ anchor node --version
3851
docker pull sigp/anchor:latest
3952
```
4053

41-
2. Run the Anchor container:
54+
2. Verify the installation:
4255

4356
```bash
44-
docker run --rm -it sigp/anchor:latest --help
57+
docker run --rm -it sigp/anchor:latest node --version
4558
```
4659

4760
## 3. Clone and Build Locally

docs/docs/pages/introduction.mdx

Lines changed: 11 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ production setting.
1010

1111
## What is SSV?
1212

13-
Secret Shared Validators (SSV) is a protocol that splits a validator key into multiple shares, distributed across different operators. This approach provides:
13+
Secret Shared Validators (SSV) is a protocol that splits a validator key into multiple shares, distributed across different operators.
14+
Instead of running a validator on a single machine, SSV splits the validator's duties across multiple operators, creating a more resilient and decentralized staking infrastructure. This approach provides:
1415

1516
- **Fault Tolerance**: Your validator remains online even if some operators go offline
1617
- **No Single Point of Failure**: No single operator can compromise your validator
@@ -19,95 +20,33 @@ Secret Shared Validators (SSV) is a protocol that splits a validator key into mu
1920

2021
## Why Choose Anchor?
2122

22-
Anchor stands out as an SSV client with several key advantages:
23-
24-
### 🔒 **Security First**
25-
- Written in Rust for memory safety and security
26-
- Comprehensive fuzzing and security testing
27-
- Built by Sigma Prime, trusted Ethereum infrastructure experts
28-
29-
### **High Performance**
30-
- Optimized for efficiency and low resource usage
31-
- Fast consensus and networking implementation
32-
- Minimal latency for time-sensitive validator duties
33-
34-
### 🛠️ **Developer Friendly**
35-
- Clean, well-documented codebase
36-
- Extensive CLI tools for key management and operations
37-
- Active open-source development
23+
Written in Rust, Anchor focuses on memory safety and security. As an independent implementation of the SSV protocol,
24+
Anchor promotes client diversity in the SSV space, reducing the risk of network-wide failures. Anchor is optimized for
25+
efficiency, fast consensus and networking implementation.
3826

3927
## Who Should Use Anchor?
4028

41-
### Staking Pool Operators
42-
Run distributed validators with enhanced security and fault tolerance for your staking infrastructure.
43-
44-
### Solo Stakers
45-
Increase the reliability of your validator setup by distributing risk across multiple operators.
46-
47-
### SSV Network Operators
48-
Operate as part of the SSV network, providing validator services to other users.
49-
50-
## Quick Start Paths
51-
52-
Choose your path based on your role:
53-
54-
:::code-group
55-
56-
```bash [🎯 New to SSV]
57-
# Start here to understand the basics
58-
→ Read: What is SSV?
59-
→ Next: Installation Guide
60-
```
61-
62-
```bash [⚙️ Run an Operator]
63-
# Become an SSV network operator
64-
→ Next: Installation → Running an Operator
65-
→ Then: Operator Configuration
66-
```
67-
68-
```bash [🔑 Manage Keys]
69-
# Generate and split validator keys
70-
→ Next: Installation → CLI Reference
71-
→ Focus: Keygen and KeySplit tools
72-
```
73-
74-
```bash [🧑‍💻 Developer]
75-
# Contribute or integrate
76-
→ Next: Development Environment
77-
→ Then: Architecture Overview
78-
```
79-
80-
:::
81-
82-
## Prerequisites
83-
84-
Before getting started, ensure you have:
85-
86-
- **System Requirements**: Linux, macOS, or Windows
87-
- **Rust** (if building from source): Version 1.88.0 or later
88-
- **Ethereum Knowledge**: Basic understanding of validators and staking
89-
- **Command Line**: Comfort with terminal/command prompt usage
29+
Anyone with a running staking infrastructure can opt to additionally run Anchor and become part of the SSV network.
30+
This includes staking pool operators, node operators and solo stakers.
9031

9132
## What's Next?
9233

9334
1. **[Installation](/installation)** - Get Anchor running on your system
9435
2. **[Running an Operator](/running_an_operator)** - Start operating in the SSV network
9536
3. **[CLI Reference](/cli)** - Master the command-line tools
9637
4. **[Architecture](/architecture)** - Understand Anchor's technical design
38+
5. **[SSV documentation](https://docs.ssv.network/learn/introduction)** - read more about the SSV network
39+
9740

9841
## About This Documentation
9942

100-
This documentation is open source and community-driven. We welcome contributions to help improve the experience for all users.
101-
102-
- **Contribute**: [github.com/sigp/anchor/docs](https://github.com/sigp/anchor/tree/unstable/docs)
103-
- **Community Support**: [GitHub Discussions](https://github.com/sigp/anchor/discussions)
104-
- **Professional Support**: [Sigma Prime](https://sigmaprime.io)
43+
This documentation is open source and community-driven. We welcome [contributions](https://github.com/sigp/anchor/tree/unstable/docs) to help improve the experience for all users.
10544

10645
---
10746

10847
:::tip
10948
Need Help?
11049
- Check our [FAQ](/faq) for common questions
111-
- Join the community on [GitHub](https://github.com/sigp/anchor)
50+
- Join the community on [Discord](https://discord.com/invite/cyAszAh)
11251
- Report issues or request features in our [issue tracker](https://github.com/sigp/anchor/issues)
11352
:::

docs/docs/pages/metrics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Metrics
22

33
Anchor comes pre-built with a suite of metrics for developers or users to monitor the health
4-
and performance of their node.
4+
and performance of the node.
55

66
They must be enabled at runtime using the `--metrics` CLI flag.
77

docs/docs/pages/running_an_operator.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Save your public key as you'll need it for on-chain registration. **Back up your
2727

2828
**Step 2: Register as an Operator on the SSV Network**
2929

30-
To register an operator, follow the instructions for the official
30+
To register an operator, follow the instructions in the official
3131
[ssv docs](https://docs.ssv.network/operators/operator-management/registration).
3232

3333
**Step 3: Configure and run your Anchor node**

docs/docs/pages/what_is_ssv.mdx

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)