Drop :8899 port from http://devnet.solana.com references
This commit is contained in:
parent
ce88602ced
commit
9e0a26628b
|
@ -154,7 +154,7 @@ FLAGS:
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-d, --data_dir <PATH> Directory to store install data [default: .../Library/Application Support/solana]
|
-d, --data_dir <PATH> Directory to store install data [default: .../Library/Application Support/solana]
|
||||||
-u, --url <URL> JSON RPC URL for the solana cluster [default: http://devnet.solana.com:8899]
|
-u, --url <URL> JSON RPC URL for the solana cluster [default: http://devnet.solana.com]
|
||||||
-p, --pubkey <PUBKEY> Public key of the update manifest [default: 9XX329sPuskWhH4DQh6k16c87dHKhXLBZTL3Gxmve8Gp]
|
-p, --pubkey <PUBKEY> Public key of the update manifest [default: 9XX329sPuskWhH4DQh6k16c87dHKhXLBZTL3Gxmve8Gp]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,7 @@ Use the `solana config set` command to target a different cluster.
|
||||||
For example, for Devnet, use:
|
For example, for Devnet, use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana config set --url http://devnet.solana.com:8899
|
solana config set --url http://devnet.solana.com
|
||||||
```
|
```
|
||||||
|
|
||||||
## Ensure Versions Match
|
## Ensure Versions Match
|
||||||
|
|
|
@ -203,7 +203,7 @@ networked machine.
|
||||||
Next, configure the `solana` CLI tool to connect to a particular cluster:
|
Next, configure the `solana` CLI tool to connect to a particular cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana config set --url <CLUSTER URL> # (i.e. http://devnet.solana.com:8899)
|
solana config set --url <CLUSTER URL> # (i.e. http://devnet.solana.com)
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, to check the balance, run the following command:
|
Finally, to check the balance, run the following command:
|
||||||
|
|
|
@ -127,7 +127,7 @@ usb://ledger/nano-s/BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK?key=0/0
|
||||||
Configure the `solana` CLI tool to connect to a particular cluster:
|
Configure the `solana` CLI tool to connect to a particular cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana config set --url <CLUSTER_URL> # (i.e. http://devnet.solana.com:8899)
|
solana config set --url <CLUSTER_URL> # (i.e. http://devnet.solana.com)
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to set a Ledger key as the default signer for CLI commands, use the
|
If you want to set a Ledger key as the default signer for CLI commands, use the
|
||||||
|
|
|
@ -35,13 +35,13 @@ cluster, as well as the health of the cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Similar to solana-gossip, you should see your validator in the list of cluster nodes
|
# Similar to solana-gossip, you should see your validator in the list of cluster nodes
|
||||||
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getClusterNodes"}' http://devnet.solana.com:8899
|
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getClusterNodes"}' http://devnet.solana.com
|
||||||
# If your validator is properly voting, it should appear in the list of `current` vote accounts. If staked, `stake` should be > 0
|
# If your validator is properly voting, it should appear in the list of `current` vote accounts. If staked, `stake` should be > 0
|
||||||
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVoteAccounts"}' http://devnet.solana.com:8899
|
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVoteAccounts"}' http://devnet.solana.com
|
||||||
# Returns the current leader schedule
|
# Returns the current leader schedule
|
||||||
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getLeaderSchedule"}' http://devnet.solana.com:8899
|
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getLeaderSchedule"}' http://devnet.solana.com
|
||||||
# Returns info about the current epoch. slotIndex should progress on subsequent calls.
|
# Returns info about the current epoch. slotIndex should progress on subsequent calls.
|
||||||
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getEpochInfo"}' http://devnet.solana.com:8899
|
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getEpochInfo"}' http://devnet.solana.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@ The solana cli includes `get` and `set` configuration commands to automatically
|
||||||
set the `--url` argument for cli commands. For example:
|
set the `--url` argument for cli commands. For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
solana config set --url http://devnet.solana.com:8899
|
solana config set --url http://devnet.solana.com
|
||||||
```
|
```
|
||||||
|
|
||||||
\(You can always override the set configuration by explicitly passing the
|
\(You can always override the set configuration by explicitly passing the
|
||||||
`--url` argument with a command, eg: `solana --url http://beta.devnet.solana.com:8899 balance`\)
|
`--url` argument with a command, eg: `solana --url http://tds.solana.com balance`\)
|
||||||
|
|
||||||
## Confirm The Testnet Is Reachable
|
## Confirm The Testnet Is Reachable
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ You should see the following output:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
Wallet Config Updated: /home/solana/.config/solana/wallet/config.yml
|
Wallet Config Updated: /home/solana/.config/solana/wallet/config.yml
|
||||||
* url: http://devnet.solana.com:8899
|
* url: http://devnet.solana.com
|
||||||
* keypair: /home/solana/validator-keypair.json
|
* keypair: /home/solana/validator-keypair.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
pub const JSON_RPC_URL: &str = "http://devnet.solana.com:8899";
|
pub const JSON_RPC_URL: &str = "http://devnet.solana.com";
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
pub static ref CONFIG_FILE: Option<String> = {
|
pub static ref CONFIG_FILE: Option<String> = {
|
||||||
|
|
|
@ -21,7 +21,7 @@ TAG=$2
|
||||||
OS=${3:-linux}
|
OS=${3:-linux}
|
||||||
|
|
||||||
if [[ -z $URL || -z $TAG ]]; then
|
if [[ -z $URL || -z $TAG ]]; then
|
||||||
echo "Usage: $0 [edge|beta|stable|localhost|RPC URL] [edge|beta|release tag] [linux|osx|windows]"
|
echo "Usage: $0 [stable|localhost|RPC URL] [edge|beta|release tag] [linux|osx|windows]"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -45,11 +45,8 @@ windows)
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $URL in
|
case $URL in
|
||||||
edge|beta)
|
|
||||||
URL=http://$URL.devnet.solana.com:8899
|
|
||||||
;;
|
|
||||||
stable)
|
stable)
|
||||||
URL=http://devnet.solana.com:8899
|
URL=http://devnet.solana.com
|
||||||
;;
|
;;
|
||||||
localhost)
|
localhost)
|
||||||
URL=http://localhost:8899
|
URL=http://localhost:8899
|
||||||
|
|
Loading…
Reference in New Issue