Skip to content

Commit

Permalink
update sdk docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweichi committed Nov 28, 2024
1 parent a9a7fea commit c3d353f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/en/sdk/guides/aws-deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ Ensure you have the following tools installed on your local machine:

Make sure to follow the installation instructions for each tool on their respective websites. For `kubectl`, you can refer to the detailed installation steps provided in the [Amazon EKS documentation](https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html).

To install the scroll-sdk-cli, run:
To install the latest version of scroll-sdk-cli, run:

```bash
npm install -g @scroll-tech/scroll-sdk-cli@0.1.1
npm install -g @scroll-tech/scroll-sdk-cli
```

{/* TODO: Replace with new command */}
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/en/sdk/guides/devnet-deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ As we migrate to the Blockscout upgrade with native Scroll SDK support, we haven
- `brew install nvm`
- `nvm install node`
- scroll-sdk-cli *(Experimental, APIs may change)*
- `npm install -g @scroll-tech/scroll-sdk-cli@0.1.1`
- `npm install -g @scroll-tech/scroll-sdk-cli`
3. You should now be able to open a terminal and run the following:
- `docker -v`
- `kubectl version`
Expand Down Expand Up @@ -125,7 +125,7 @@ As we migrate to the Blockscout upgrade with native Scroll SDK support, we haven
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
# Re-login or source your shell configuration
nvm install 20
npm install -g @scroll-tech/scroll-sdk-cli@0.1.1
npm install -g @scroll-tech/scroll-sdk-cli
```
{/* TODO: Update the cli command to use the new `scrollsdk` install command */}

Expand Down
26 changes: 13 additions & 13 deletions src/content/docs/en/sdk/guides/digital-ocean-alt-gas-token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Please be aware that Blockscout will take a few extra steps to setup without aut
- k9s *(optional)*


To install the scroll-sdk-cli, run `npm install -g @scroll-tech/scroll-sdk-cli@0.1.1`
To install the latest version of scroll-sdk-cli, run `npm install -g @scroll-tech/scroll-sdk-cli`

Then, run `scrollsdk test dependencies` to test that the tool works and to check the required dependencies listed above.

Expand Down Expand Up @@ -689,22 +689,22 @@ Now, let's add the prover services to the bottom of your `Makefile`.

```
install-provers:
helm upgrade -i prover-chunk oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-proving-sdk -n $(NAMESPACE) \
--version=0.0.5 \
--values values/prover-chunk-production.yaml
helm upgrade -i prover-chunk oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-proving-sdk -n $(NAMESPACE) \
--version=0.0.5 \
--values values/prover-chunk-production.yaml

helm upgrade -i prover-batch oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-proving-sdk -n $(NAMESPACE) \
--version=0.0.5 \
--values values/prover-batch-production.yaml
helm upgrade -i prover-batch oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-proving-sdk -n $(NAMESPACE) \
--version=0.0.5 \
--values values/prover-batch-production.yaml

helm upgrade -i prover-bundle oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-proving-sdk -n $(NAMESPACE) \
--version=0.0.5 \
--values values/prover-bundle-production.yaml
helm upgrade -i prover-bundle oci://ghcr.io/scroll-tech/scroll-sdk/helm/scroll-proving-sdk -n $(NAMESPACE) \
--version=0.0.5 \
--values values/prover-bundle-production.yaml

delete-provers:
helm delete -n $(NAMESPACE) prover-chunk
helm delete -n $(NAMESPACE) prover-batch
helm delete -n $(NAMESPACE) prover-bundle
helm delete -n $(NAMESPACE) prover-chunk
helm delete -n $(NAMESPACE) prover-batch
helm delete -n $(NAMESPACE) prover-bundle
```
Now, simply run `make install-provers` to deploy the provers.
Expand Down

0 comments on commit c3d353f

Please sign in to comment.