Skip to content

Commit

Permalink
Update run-rpc-node-without-nearup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
walnut-the-cat authored Feb 4, 2025
1 parent c179d17 commit 5677573
Showing 1 changed file with 3 additions and 37 deletions.
40 changes: 3 additions & 37 deletions docs/rpc/run-rpc-node-without-nearup.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,44 +195,10 @@ This command will create the required directory structure by generating a `confi

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.

Prerequisite:

Recommended download client [`rclone`](https://rclone.org).
This tool is present in many Linux distributions. There is also a version for Windows.
And its main merit is multithread.
You can [read about it on](https://rclone.org)
** rclone version needs to be v1.66.0 or higher

First, install rclone:
```
$ sudo -v ; curl https://rclone.org/install.sh | sudo bash
```
Next, prepare config, so you don't need to specify all the parameters interactively:
```
mkdir -p ~/.config/rclone
touch ~/.config/rclone/rclone.conf
```
, and paste exactly the following config into `rclone.conf`:
```
[near_cf]
type = s3
provider = AWS
download_url = https://dcf58hz8pnro2.cloudfront.net/
acl = public-read
server_side_encryption = AES256
region = ca-central-1
```
```bash
$ rclone copy --no-check-certificate near_cf://near-protocol-public/backups/mainnet/rpc/latest ./
$ LATEST=$(cat latest)
$ rclone copy --no-check-certificate --progress --transfers=6 --checkers=6 \
near_cf://near-protocol-public/backups/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 or RPC.
For detailed instructions, please refer to [HERE](https://docs.fastnear.com/docs/snapshots).

### 6. Run the node {#5-run-the-node}
### 5. Run the node {#5-run-the-node}
To start your node simply run the following command:

```bash
Expand Down

0 comments on commit 5677573

Please sign in to comment.