Skip to content

Commit

Permalink
Update readme with new methods and snapshots (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored Aug 22, 2023
1 parent 06c165c commit 02c0b26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,19 @@ Use the provided snapshots to quickly sync your Juno node with the current state

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.4.0** | **36.5 GB** | **136902** | [**juno_mainnet_136902.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.5.0_136902.tar) |
| **>=v0.6.0** | **49.2 GB** | **166353.tar** | [**juno_mainnet_166353.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.6.0_166353.tar) |

#### Goerli

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.4.0** | **32.3 GB** | **839969** | [**juno_goerli_839969.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli/juno_goerli_v0.5.0_839969.tar) |
| **>=v0.6.0** | **36 GB** | **850192** | [**juno_goerli_850192.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli/juno_goerli_v0.6.0_850192.tar) |

#### Goerli2

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| **>=v0.4.0** | **4.5 GB** | **135973** | [**juno_goerli2_135973.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli2/juno_goerli2_v0.5.0_135973.tar) |
| **>=v0.6.0** | **4.6 GB** | **139043** | [**juno_goerli2_135973.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli2/juno_goerli2_v0.6.0_139043.tar) |

### Run Juno Using Snapshot

Expand All @@ -110,7 +110,7 @@ Use the provided snapshots to quickly sync your Juno node with the current state
Fetch the snapshot from the provided URL:

```bash
curl -o juno_mainnet_v0.5.0_136902.tar https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.5.0_136902.tar
curl -o juno_mainnet_166353.tar https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.6.0_166353.tar
```

2. **Prepare Directory**
Expand All @@ -126,7 +126,7 @@ Use the provided snapshots to quickly sync your Juno node with the current state
Extract the contents of the `.tar` file:

```bash
tar -xvf juno_mainnet_v0.5.0_136902.tar -C $HOME/snapshots
tar -xvf juno_mainnet_166353.tar -C $HOME/snapshots
```

4. **Run Juno**
Expand Down Expand Up @@ -175,6 +175,10 @@ After following these steps, Juno should be up and running on your machine, util
- `starknet_addDeployAccountTransaction`
- `starkent_estimateMessageFee`
- `starknet_pendingTransactions`
- `starknet_traceTransaction`
- `starknet_traceBlockTransactions`
- `starknet_simulateTransactions`

- Juno's JSON-RPC:
- `juno_version`
- `juno_getTransactionStatus`
Expand Down
13 changes: 5 additions & 8 deletions docs/docs/snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,19 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| >=v0.4.0 | 29.4 GB | 100713 | [juno_mainnet_100713.tar](https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.4.0_100713.tar) |
| **>=v0.4.0** | **36.5 GB** | **136902** | [**juno_mainnet_136902.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.5.0_136902.tar) |
| **>=v0.6.0** | **49.2 GB** | **166353.tar** | [**juno_mainnet_166353.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.6.0_166353.tar) |

## Goerli

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| >=v0.4.0 | 31.6 GB | 830385 | [juno_goerli_830385.tar](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli/juno_goerli_v0.4.0_830385.tar) |
| **>=v0.4.0** | **32.3 GB** | **839969** | [**juno_goerli_839969.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli/juno_goerli_v0.5.0_839969.tar) |
| **>=v0.6.0** | **36 GB** | **850192** | [**juno_goerli_850192.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli/juno_goerli_v0.6.0_850192.tar) |

## Goerli2

| Version | Size | Block | Download Link |
| ------- | ---- | ----- | ------------- |
| >=v0.4.0 | 1.8 GB | 125026 | [juno_goerli2_125026.tar](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli2/juno_goerli2_v0.4.0_125026.tar) |
| **>=v0.4.0** | **4.5 GB** | **135973** | [**juno_goerli2_135973.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli2/juno_goerli2_v0.5.0_135973.tar) |
| **>=v0.6.0** | **4.6 GB** | **139043** | [**juno_goerli2_135973.tar**](https://juno-snapshot.s3.us-east-2.amazonaws.com/goerli2/juno_goerli2_v0.6.0_139043.tar) |

## Run Juno Using Snapshot

Expand All @@ -35,7 +32,7 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b
Fetch a snapshot from one of the provided URLs:

```bash
curl -o juno_mainnet_v0.5.0_136902.tar https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.5.0_136902.tar
curl -o juno_mainnet_166353.tar https://juno-snapshot.s3.us-east-2.amazonaws.com/mainnet/juno_mainnet_v0.6.0_166353.tar
```

2. **Prepare Directory**
Expand All @@ -51,7 +48,7 @@ After downloading a snapshot and starting a Juno node, only recent blocks must b
Extract the contents of the `.tar` file:

```bash
tar -xvf juno_mainnet_v0.5.0_136902.tar -C $HOME/snapshots
tar -xvf juno_mainnet_166353 -C $HOME/snapshots
```

4. **Run Juno**
Expand Down

0 comments on commit 02c0b26

Please sign in to comment.