Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 committed Dec 30, 2024
1 parent c5b7bff commit 6bddd5f
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 126 deletions.
13 changes: 7 additions & 6 deletions developer-guides/sdk-guide/hosted-subgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ Then upload your graph to this project with:
npx @sentio/cli graph deploy --owner $PROJECT_OWNER --name $PROJECT_NAME
```

If you want to hot swap a running processor version without re-indexing old data, run:

```
npx @sentio/cli graph deploy --owner $PROJECT_OWNER --name $PROJECT_NAME --continue-from=<old version>
```

Once it get uploaded, use [data-source](data-source "mention") page to view progress. And use data studio to access either GraphQL or SQL.

<figure><img src="https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image (1).png" alt="" width="563"><figcaption></figcaption></figure>
Expand All @@ -34,6 +28,13 @@ Recommended subgraph version is:
@graphprotocol/graph-ts: 0.32.0
```

## Hot Swap
If you want to hot swap a running processor version without re-indexing old data, run:

```
npx @sentio/cli graph deploy --owner $PROJECT_OWNER --name $PROJECT_NAME --continue-from=<old version>
```

## Network Supported
All the EVM network listed in [here](supported-networks "mention") are supported.
For `network` field, we recommend to use chain id instead of network slug which could be ambiguous, e.g.
Expand Down
Loading

0 comments on commit 6bddd5f

Please sign in to comment.