diff --git a/README.md b/README.md index 3d6e7172dd..0fcf63a713 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Start your own testnet locally, instructions are in the book [Solana: Blockchain Remote Testnets --- -* `testnet` - public stable testnet accessible via testnet.solana.com. Runs 24/7 +* `testnet` - public stable testnet accessible via devnet.solana.com. Runs 24/7 ## Deploy process diff --git a/RELEASE.md b/RELEASE.md index 67d42ba95d..00b9f0f797 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -140,9 +140,9 @@ TODO: Documentation update procedure is WIP as we move to gitbook Document the new recommended version by updating `book/src/running-archiver.md` and `book/src/validator-testnet.md` on the release (beta) branch to point at the `solana-install` for the upcoming release version. -### Update software on testnet.solana.com +### Update software on devnet.solana.com -The testnet running on testnet.solana.com is set to use a fixed release tag +The testnet running on devnet.solana.com is set to use a fixed release tag which is set in the Buildkite testnet-management pipeline. This tag needs to be updated and the testnet restarted after a new release tag is created. @@ -182,4 +182,4 @@ TESTNET_OP=create-and-start ### Alert the community Notify Discord users on #validator-support that a new release for -testnet.solana.com is available +devnet.solana.com is available diff --git a/book/src/building-from-source.md b/book/src/building-from-source.md index 00dc33c5a9..b38f0649e9 100644 --- a/book/src/building-from-source.md +++ b/book/src/building-from-source.md @@ -154,7 +154,7 @@ The stream will output a series of JSON objects: In this example the client connects to our public testnet. To run validators on the testnet you would need to open udp ports `8000-10000`. ```bash -$ NDEBUG=1 ./multinode-demo/bench-tps.sh --entrypoint testnet.solana.com:8001 --faucet testnet.solana.com:9900 --duration 60 --tx_count 50 +$ NDEBUG=1 ./multinode-demo/bench-tps.sh --entrypoint devnet.solana.com:8001 --faucet devnet.solana.com:9900 --duration 60 --tx_count 50 ``` You can observe the effects of your client's transactions on our [dashboard](https://metrics.solana.com:3000/d/testnet/testnet-hud?orgId=2&from=now-30m&to=now&refresh=5s&var-testnet=testnet) diff --git a/book/src/implemented-proposals/installer.md b/book/src/implemented-proposals/installer.md index acf2d23d45..5dbcbd4403 100644 --- a/book/src/implemented-proposals/installer.md +++ b/book/src/implemented-proposals/installer.md @@ -154,7 +154,7 @@ FLAGS: OPTIONS: -d, --data_dir Directory to store install data [default: .../Library/Application Support/solana] - -u, --url JSON RPC URL for the solana cluster [default: http://testnet.solana.com:8899] + -u, --url JSON RPC URL for the solana cluster [default: http://devnet.solana.com:8899] -p, --pubkey Public key of the update manifest [default: 9XX329sPuskWhH4DQh6k16c87dHKhXLBZTL3Gxmve8Gp] ``` diff --git a/book/src/paper-wallet/usage.md b/book/src/paper-wallet/usage.md index 8af2c50a4e..c7d2467860 100644 --- a/book/src/paper-wallet/usage.md +++ b/book/src/paper-wallet/usage.md @@ -106,7 +106,7 @@ networked machine. Next, configure the `solana` CLI tool to connect to a particular cluster: ```bash -solana config set --url # (i.e. http://testnet.solana.com:8899) +solana config set --url # (i.e. http://devnet.solana.com:8899) ``` Finally, to check the balance, run the following command: diff --git a/book/src/running-archiver.md b/book/src/running-archiver.md index ffd0b978ff..aeec36b3c3 100644 --- a/book/src/running-archiver.md +++ b/book/src/running-archiver.md @@ -8,9 +8,9 @@ Please note some of the information and instructions described here may change i Archivers are specialized light clients. They download a part of the ledger \(a.k.a Segment\) and store it. They earn rewards for storing segments. -The testnet features a validator running at testnet.solana.com, which serves as the entrypoint to the cluster for your archiver node. +The testnet features a validator running at devnet.solana.com, which serves as the entrypoint to the cluster for your archiver node. -Additionally there is a blockexplorer available at [http://testnet.solana.com/](http://testnet.solana.com/). +Additionally there is a blockexplorer available at [http://devnet.solana.com/](http://devnet.solana.com/). The testnet is configured to reset the ledger daily, or sooner should the hourly automated cluster sanity test fail. @@ -29,10 +29,10 @@ Before starting an archiver node, sanity check that the cluster is accessible to Fetch the current transaction count over JSON RPC: ```bash -curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' http://testnet.solana.com:8899 +curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' http://devnet.solana.com:8899 ``` -Inspect the blockexplorer at [http://testnet.solana.com/](http://testnet.solana.com/) for activity. +Inspect the blockexplorer at [http://devnet.solana.com/](http://devnet.solana.com/) for activity. View the [metrics dashboard](https://metrics.solana.com:3000/d/testnet-beta/testnet-monitor-beta?var-testnet=testnet) for more detail on cluster activity. @@ -95,7 +95,7 @@ Download the binaries by navigating to [https://github.com/solana-labs/solana/re Try running following command to join the gossip network and view all the other nodes in the cluster: ```bash -solana-gossip spy --entrypoint testnet.solana.com:8001 +solana-gossip spy --entrypoint devnet.solana.com:8001 # Press ^C to exit ``` @@ -138,7 +138,7 @@ Note: Every time the testnet restarts, run the steps to setup the archiver accou To start the archiver: ```bash -solana-archiver --entrypoint testnet.solana.com:8001 --identity-keypair archiver-keypair.json --storage-keypair storage-keypair.json --ledger archiver-ledger +solana-archiver --entrypoint devnet.solana.com:8001 --identity-keypair archiver-keypair.json --storage-keypair storage-keypair.json --ledger archiver-ledger ``` ## Verify Archiver Setup @@ -146,7 +146,7 @@ solana-archiver --entrypoint testnet.solana.com:8001 --identity-keypair archiver From another console, confirm the IP address and **identity pubkey** of your archiver is visible in the gossip network by running: ```bash -solana-gossip spy --entrypoint testnet.solana.com:8001 +solana-gossip spy --entrypoint devnet.solana.com:8001 ``` Provide the **storage account pubkey** to the `solana storage-account` command to view the recent mining activity from your archiver: diff --git a/book/src/running-validator/README.md b/book/src/running-validator/README.md index d3b882d250..55d5b9eeef 100644 --- a/book/src/running-validator/README.md +++ b/book/src/running-validator/README.md @@ -13,9 +13,7 @@ serve as the entrypoint to the cluster for your validator. Current testnet entrypoints: -* Stable, testnet.solana.com -* Beta, beta.testnet.solana.com -* Edge, edge.testnet.solana.com +* Developer testnet, devnet.solana.com Solana may launch special testnets for validator participation; we will provide you with a specific entrypoint URL to use. diff --git a/book/src/running-validator/validator-monitor.md b/book/src/running-validator/validator-monitor.md index 2a06a1997b..0da9667ad0 100644 --- a/book/src/running-validator/validator-monitor.md +++ b/book/src/running-validator/validator-monitor.md @@ -6,7 +6,7 @@ Confirm the IP address and **identity pubkey** of your validator is visible in the gossip network by running: ```bash -solana-gossip spy --entrypoint testnet.solana.com:8001 +solana-gossip spy --entrypoint devnet.solana.com:8001 ``` ## Check Your Balance @@ -35,13 +35,13 @@ cluster, as well as the health of the cluster: ```bash # 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://testnet.solana.com:8899 +curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getClusterNodes"}' http://devnet.solana.com:8899 # 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://testnet.solana.com:8899 +curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVoteAccounts"}' http://devnet.solana.com:8899 # Returns the current leader schedule -curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getLeaderSchedule"}' http://testnet.solana.com:8899 +curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getLeaderSchedule"}' http://devnet.solana.com:8899 # 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://testnet.solana.com:8899 +curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getEpochInfo"}' http://devnet.solana.com:8899 ``` diff --git a/book/src/running-validator/validator-start.md b/book/src/running-validator/validator-start.md index 7c6b411120..09076c24a6 100644 --- a/book/src/running-validator/validator-start.md +++ b/book/src/running-validator/validator-start.md @@ -6,11 +6,11 @@ The solana cli includes `get` and `set` configuration commands to automatically set the `--url` argument for cli commands. For example: ```bash -solana config set --url http://testnet.solana.com:8899 +solana config set --url http://devnet.solana.com:8899 ``` \(You can always override the set configuration by explicitly passing the -`--url` argument with a command, eg: `solana --url http://beta.testnet.solana.com:8899 balance`\) +`--url` argument with a command, eg: `solana --url http://beta.devnet.solana.com:8899 balance`\) ## Confirm The Testnet Is Reachable @@ -33,7 +33,7 @@ Try running following command to join the gossip network and view all the other nodes in the cluster: ```bash -solana-gossip spy --entrypoint testnet.solana.com:8001 +solana-gossip spy --entrypoint devnet.solana.com:8001 # Press ^C to exit ``` @@ -107,7 +107,7 @@ You should see the following output: ```text Wallet Config Updated: /home/solana/.config/solana/wallet/config.yml -* url: http://testnet.solana.com:8899 +* url: http://devnet.solana.com:8899 * keypair: /home/solana/validator-keypair.json ``` @@ -155,7 +155,7 @@ Connect to a testnet cluster by running: ```bash solana-validator --identity-keypair ~/validator-keypair.json --voting-keypair ~/validator-vote-keypair.json \ - --ledger ~/validator-ledger --rpc-port 8899 --entrypoint testnet.solana.com:8001 \ + --ledger ~/validator-ledger --rpc-port 8899 --entrypoint devnet.solana.com:8001 \ --limit-ledger-size ``` @@ -166,7 +166,7 @@ Confirm your validator connected to the network by opening a new terminal and running: ```bash -solana-gossip spy --entrypoint testnet.solana.com:8001 +solana-gossip spy --entrypoint devnet.solana.com:8001 ``` If your validator is connected, its public key and IP address will appear in the list. diff --git a/book/src/running-validator/validator-testnet.md b/book/src/running-validator/validator-testnet.md index e25e91a462..f645d947ad 100644 --- a/book/src/running-validator/validator-testnet.md +++ b/book/src/running-validator/validator-testnet.md @@ -5,8 +5,7 @@ that serves as an entrypoint to the cluster. Current testnet entrypoints: -* Stable: testnet.solana.com -* Beta: beta.testnet.solana.com +* Stable: devnet.solana.com Application developers should target the Stable testnet. Key differences between the Stable testnet and what will be mainnet: @@ -28,13 +27,13 @@ You can submit a JSON-RPC request to see the specific software version of the cluster. Use this to specify [the software version to install](validator-software.md). ```bash -curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' testnet.solana.com:8899 +curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' devnet.solana.com:8899 ``` Example result: `{"jsonrpc":"2.0","result":{"solana-core":"0.21.0"},"id":1}` ## Using a Different Testnet -This guide is written in the context of testnet.solana.com, our most stable +This guide is written in the context of devnet.solana.com, our most stable cluster. To participate in another testnet, modify the commands in the following -pages, replacing `testnet.solana.com` with your desired testnet. +pages, replacing `devnet.solana.com` with your desired testnet. diff --git a/ci/testnet-manager.sh b/ci/testnet-manager.sh index 35ea6fc51e..0e9d19d416 100755 --- a/ci/testnet-manager.sh +++ b/ci/testnet-manager.sh @@ -261,7 +261,7 @@ deploy() { set -x ci/testnet-deploy.sh -p edge-testnet-solana-com -C gce -z us-west1-b \ -t "$CHANNEL_OR_TAG" -n 3 -c 0 -u -P \ - -a edge-testnet-solana-com --letsencrypt edge.testnet.solana.com \ + -a edge-testnet-solana-com --letsencrypt edge.devnet.solana.com \ --limit-ledger-size \ ${skipCreate:+-e} \ ${skipStart:+-s} \ @@ -274,7 +274,7 @@ deploy() { set -x ci/testnet-deploy.sh -p beta-testnet-solana-com -C gce -z us-west1-b \ -t "$CHANNEL_OR_TAG" -n 3 -c 0 -u -P \ - -a beta-testnet-solana-com --letsencrypt beta.testnet.solana.com \ + -a beta-testnet-solana-com --letsencrypt beta.devnet.solana.com \ --limit-ledger-size \ ${skipCreate:+-e} \ ${skipStart:+-s} \ @@ -287,7 +287,7 @@ deploy() { set -x ci/testnet-deploy.sh -p testnet-solana-com -C gce -z us-west1-b \ -t "$CHANNEL_OR_TAG" -n 0 -c 0 -u -P \ - -a testnet-solana-com --letsencrypt testnet.solana.com \ + -a testnet-solana-com --letsencrypt devnet.solana.com \ --limit-ledger-size \ ${skipCreate:+-e} \ ${skipStart:+-s} \ diff --git a/install/src/defaults.rs b/install/src/defaults.rs index 60bee0724f..48fd4c0bef 100644 --- a/install/src/defaults.rs +++ b/install/src/defaults.rs @@ -1,4 +1,4 @@ -pub const JSON_RPC_URL: &str = "http://testnet.solana.com:8899"; +pub const JSON_RPC_URL: &str = "http://devnet.solana.com:8899"; lazy_static! { pub static ref CONFIG_FILE: Option = { diff --git a/scripts/solana-install-deploy.sh b/scripts/solana-install-deploy.sh index 6de717c504..146fa7594e 100755 --- a/scripts/solana-install-deploy.sh +++ b/scripts/solana-install-deploy.sh @@ -46,10 +46,10 @@ esac case $URL in edge|beta) - URL=http://$URL.testnet.solana.com:8899 + URL=http://$URL.devnet.solana.com:8899 ;; stable) - URL=http://testnet.solana.com:8899 + URL=http://devnet.solana.com:8899 ;; localhost) URL=http://localhost:8899