Skip to content

Commit

Permalink
Merge pull request #50 from lubao/fix-solana-doc-typo
Browse files Browse the repository at this point in the history
Update Solana README.md to fix errors.
  • Loading branch information
frbrkoala authored Feb 29, 2024
2 parents ccf857e + 2644ecf commit 644ef0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/solana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Create your own copy of `.env` file and edit it to update with your AWS Account
```bash
pwd
# Make sure you are in aws-blockchain-node-runners/lib/solana
npm i --save-dev @types/node
npx cdk deploy solana-common
```

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

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

0 comments on commit 644ef0e

Please sign in to comment.