Skip to content

Commit

Permalink
Update validator-bootcamp.md
Browse files Browse the repository at this point in the history
  • Loading branch information
walnut-the-cat authored Feb 4, 2025
1 parent 830cab2 commit f4195a2
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions docs/validator/validator-bootcamp.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,20 +280,10 @@ wget -O ~/.near/config.json https://s3-us-west-1.amazonaws.com/build.nearprotoco

The node is ready to be started. However, you must first sync up with the network. This means your node needs to download all the headers and blocks that other nodes in the network already have.

First, please install AWS CLI:
```
sudo apt-get install awscli -y
```

Then, download the snapshot using the AWS CLI:
```
aws s3 --no-sign-request cp s3://near-protocol-public/backups/<testnet|mainnet>/rpc/latest .
LATEST=$(cat latest)
aws s3 --no-sign-request cp --no-sign-request --recursive s3://near-protocol-public/backups/<testnet|mainnet>/rpc/$LATEST ~/.near/data
```

The latest daily snapshots are made available to the public by FastNear, and can be used to set up a validator node.
For detailed instructions, please refer to [this guide](https://docs.fastnear.com/docs/snapshots).

NOTE: The .tar file is around 147GB (and will grow) so make sure you have enough disk space to unpack inside the data folder.
NOTE: Make sure you have enough disk space to unpack inside the data folder.

### Run the node
To start your node simply run the following command:
Expand Down

0 comments on commit f4195a2

Please sign in to comment.