From 46e09f19f2e544361ddd14bdaab7db33147f7a58 Mon Sep 17 00:00:00 2001 From: Sam Bukowski Date: Wed, 18 Oct 2023 17:36:06 -0600 Subject: [PATCH] added observe sections to azure and aws --- .../cloud-rollup-deployment/3-azure.md | 61 ++++++++++++++++++- docs/dusknet/cloud-rollup-deployment/4-aws.md | 61 ++++++++++++++++++- 2 files changed, 120 insertions(+), 2 deletions(-) diff --git a/docs/dusknet/cloud-rollup-deployment/3-azure.md b/docs/dusknet/cloud-rollup-deployment/3-azure.md index b02588a8..83bf5e39 100644 --- a/docs/dusknet/cloud-rollup-deployment/3-azure.md +++ b/docs/dusknet/cloud-rollup-deployment/3-azure.md @@ -309,4 +309,63 @@ astria-cli rollup deployment create \ --sequencer-private-key $SEQUENCER_PRIV_KEY ``` - +## Observe your Deployment + +Your rollups utility endpoints are as follows: + +| Utility | URL | +|-----|-----| +| Block Explorer | http://blockscout../ | +| Faucet | http://faucet../ | +| RPC | http://executor../ | + +Open the URLs in your browser to view your running rollup. + +## Debug Ingress + +If you would like to view the ingress logs you can use the following: + +```bash +kubectl get po -n ingress-nginx +# get the name of one of the pods +export INGRESS_POD_1=ingress-nginx-controller-6d6559598-ll8gv +# view the logs +kubectl logs $INGRESS_POD_1 -n ingress-nginx +``` + +## Use `cast` to Interact with your Rollup + +```bash +export ETH_RPC_URL=http://executor../ +``` + +```bash +cast block 0 +``` + +Use an address of your choice. + +```bash +export REC_ADDR= +``` + +```bash +cast balance $REC_ADDR +``` + +```bash +cast send $REC_ADDR --value 10000000000000000000 --private-key $ROLLUP_FAUCET_PRIV_KEY +``` + +```bash +cast balance $REC_ADDR +``` + +## Fund you Sequencer Account + +Using your sequencer pub key you created in the [Create a New Sequencer +Account](#create-a-new-sequencer-account), copy and past the +`` into the input on the faucet page, and mint funds +to your account: + +![Sequencer Faucet](../assets/sequencer-faucet.png) diff --git a/docs/dusknet/cloud-rollup-deployment/4-aws.md b/docs/dusknet/cloud-rollup-deployment/4-aws.md index 252383eb..01c03b67 100644 --- a/docs/dusknet/cloud-rollup-deployment/4-aws.md +++ b/docs/dusknet/cloud-rollup-deployment/4-aws.md @@ -233,4 +233,63 @@ kubectl apply -f kubernetes/namespace.yml --sequencer-private-key $COMPOSER_PRIV_KEY --chart-path charts/rollup ``` - +## Observe your Deployment + +Your rollups utility endpoints are as follows: + +| Utility | URL | +|-----|-----| +| Block Explorer | http://blockscout../ | +| Faucet | http://faucet../ | +| RPC | http://executor../ | + +Open the URLs in your browser to view your running rollup. + +## Debug Ingress + +If you would like to view the ingress logs you can use the following: + +```bash +kubectl get po -n ingress-nginx +# get the name of one of the pods +export INGRESS_POD_1=ingress-nginx-controller-6d6559598-ll8gv +# view the logs +kubectl logs $INGRESS_POD_1 -n ingress-nginx +``` + +## Use `cast` to Interact with your Rollup + +```bash +export ETH_RPC_URL=http://executor../ +``` + +```bash +cast block 0 +``` + +Use an address of your choice. + +```bash +export REC_ADDR= +``` + +```bash +cast balance $REC_ADDR +``` + +```bash +cast send $REC_ADDR --value 10000000000000000000 --private-key $ROLLUP_FAUCET_PRIV_KEY +``` + +```bash +cast balance $REC_ADDR +``` + +## Fund you Sequencer Account + +Using your sequencer pub key you created in the [Create a New Sequencer +Account](#create-a-new-sequencer-account), copy and past the +`` into the input on the faucet page, and mint funds +to your account: + +![Sequencer Faucet](../assets/sequencer-faucet.png)