Skip to content

Commit 644ef0e

Browse files
authored
Merge pull request #50 from lubao/fix-solana-doc-typo
Update Solana README.md to fix errors.
2 parents ccf857e + 2644ecf commit 644ef0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/solana/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Create your own copy of `.env` file and edit it to update with your AWS Account
129129
```bash
130130
pwd
131131
# Make sure you are in aws-blockchain-node-runners/lib/solana
132+
npm i --save-dev @types/node
132133
npx cdk deploy solana-common
133134
```
134135

@@ -149,7 +150,7 @@ Create your own copy of `.env` file and edit it to update with your AWS Account
149150

150151
```bash
151152
INSTANCE_ID=$(cat single-node-deploy.json | jq -r '..|.nodeinstanceid? | select(. != null)')
152-
NODE_INTERNAL_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)
153+
NODE_INTERNAL_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query 'Reservations[*].Instances[*].PrivateIpAddress' --output text)
153154
# We query token balance this account: https://solanabeach.io/address/9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM
154155
curl http://$NODE_INTERNAL_IP:8899 -X POST -H "Content-Type: application/json" \
155156
--data '{ "jsonrpc": "2.0", "id": 1, "method": "getBalance", "params": ["9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"]}'

0 commit comments

Comments
 (0)