diff --git a/web3.js/README.md b/web3.js/README.md index 8674f338e7..b1307247d7 100644 --- a/web3.js/README.md +++ b/web3.js/README.md @@ -77,26 +77,26 @@ console.log(solanaWeb3); ``` ## Local Network -The `solana-localnet` program is provided to easily start a test Solana network +The `solana-localnet` program is provided to easily start a test Solana cluster locally on your machine. Docker must be installed. The JSON RPC endpoint of -the local network is `http://localhost:8899`. +the local cluster is `http://localhost:8899`. To start, first fetch the latest Docker image by running: ```bash $ npx solana-localnet update ``` -Then run the following command to start the network +Then run the following command to start the cluster ```bash $ npx solana-localnet up ``` -While the network is running logs are available with: +While the cluster is running logs are available with: ```bash $ npx solana-localnet logs -f ``` -Stop the network with: +Stop the cluster with: ```bash $ npx solana-localnet down ``` diff --git a/web3.js/bin/localnet.sh b/web3.js/bin/localnet.sh index f7baf87c2d..1bf237e2cb 100755 --- a/web3.js/bin/localnet.sh +++ b/web3.js/bin/localnet.sh @@ -26,9 +26,9 @@ usage: $0 [update|up|down|logs|deploy] [command-specific options] Operate a local testnet update - Update the image from dockerhub.com - up - Start the network - down - Stop the network - logs - Display network logging + up - Start the cluster + down - Stop the cluster + logs - Display cluster logging deploy - Deploy a native program. @@ -52,7 +52,7 @@ Operate a local testnet deploy-specific options: program - The program to deploy. - Note that deployments are discarded on network stop + Note that deployments are discarded on cluster stop EOF exit $exitcode diff --git a/web3.js/examples/README.md b/web3.js/examples/README.md index 76ef6127ee..466afb2c31 100644 --- a/web3.js/examples/README.md +++ b/web3.js/examples/README.md @@ -2,8 +2,8 @@ Before trying any of the examples in this directory please populate the `lib/` directory by running `npm install`. -Additionally most of the examples attempt to connect to a local network. Start -your local network first by running: +Additionally most of the examples attempt to connect to a local cluster. Start +your local cluster first by running: ```bash $ npx solana-localnet update $ npx solana-localnet up diff --git a/web3.js/test/url.js b/web3.js/test/url.js index 59bef47d5d..ed13d4cadd 100644 --- a/web3.js/test/url.js +++ b/web3.js/test/url.js @@ -1,7 +1,7 @@ // @flow /** - * The connection url to use when running unit tests against a live network + * The connection url to use when running unit tests against a live cluster */ export const url = 'http://localhost:8899/';