You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/starknet/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ We will use AWS Cloud9 to execute the subsequent commands. Follow the instructio
87
87
> cdk bootstrap aws://ACCOUNT-NUMBER/REGION
88
88
> ```
89
89
90
-
5. [OPTIONAL] If you are not planning to set your own `STARKNET_L1_ENDPOINT` URL, deploy Amazon Managed Blockchain (AMB) Access Ethereum node and wait about 35-70 minutes for the node to sync
90
+
5. [OPTIONAL] You can use Amazon Managed Blockchain (AMB) Access Ethereum node as L1 node. To do that, leave `STARKNET_L1_ENDPOINT` URL empty and, deploy Amazon Managed Blockchain (AMB) Access Ethereum node. Wait about 35-70 minutes for the node to sync.
91
91
92
92
```bash
93
93
pwd
@@ -103,7 +103,7 @@ We will use AWS Cloud9 to execute the subsequent commands. Follow the instructio
103
103
# Make sure you are in aws-blockchain-node-runners/lib/starknet
After starting the node you will need to wait for the initial synchronization process to finish. To see the progress, you may use SSM to connect into EC2 first and watch the log like this:
106
+
After starting the node you will need to wait for the initial synchronization process to finish. When using snapshot, the node should become available within a couple of hours, but migh take about 3-4 days to sync it from block 0. To check the progress, you may use SSM to connect into EC2 first and watch the log like this:
@@ -135,7 +136,7 @@ We will use AWS Cloud9 to execute the subsequent commands. Follow the instructio
135
136
A script on the Starknet node publishes current block and blocks behind metrics to CloudWatch metrics every 5 minutes. When the node is fully synced the blocks behind metric should get to 0.To see the metrics:
136
137
137
138
- Navigate to CloudWatch service (make sure you are in the region you have specified for AWS_REGION)
138
-
- Open Dashboards and select `starknet-single-node` from the list of dashboards.
139
+
- Open Dashboards and select `starknet-single-node-<network_id>` from the list of dashboards.
139
140
140
141
## Clear up and undeploy everything
141
142
@@ -172,10 +173,10 @@ A script on the Starknet node publishes current block and blocks behind metrics
172
173
# Make sure you are in aws-blockchain-node-runners/lib/starknet
Copy file name to clipboardExpand all lines: lib/starknet/sample-configs/.env-sample-full
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,11 @@ AWS_REGION="us-east-1" # Regions supported by Amazon Ma
9
9
## Common configuration parameters #
10
10
AMB_ETHEREUM_NODE_NETWORK_ID="mainnet" # All options: "mainnet", "goerli"
11
11
AMB_ETHEREUM_NODE_INSTANCE_TYPE="bc.m5.xlarge" # For available options see: https://aws.amazon.com/managed-blockchain/instance-types/
12
-
STARKNET_L1_ENDPOINT="wss://ethereum-rpc.publicnode.com" # Websocket endpoint. Leave empty if using AMB_ETHEREUM_NODE.
12
+
STARKNET_L1_ENDPOINT="none" # Websocket L1 endpoint, for example "wss://ethereum-rpc.publicnode.com" . Set to "none" or leave empty if using AMB_ETHEREUM_NODE.
13
13
STARKNET_NETWORK_ID="mainnet" # All options: "mainnet", "sepolia", "sepolia-integration"
14
14
STARKNET_NODE_VERSION="v0.11.7" # Current Juno node version
15
15
16
16
STARKNET_SNAPSHOT_URL="none" # Download snapshot to speed up statup time. Copy the larest URL from the docuemntation: https://juno.nethermind.io/next/snapshots/#mainnet
0 commit comments