Skip to content

Commit 85c6812

Browse files
authoredMar 17, 2025··
Merge pull request #8 from sacherjj/updates_for_infra_and_values
Infra swap updates and correcting errors in examples
2 parents faa2e2d + 3914756 commit 85c6812

40 files changed

+239
-321
lines changed
 

‎README/STANDARDS.md

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ The Casper Writing and Editing Style Guide aims to establish a set of standards
3131

3232
* Use Casper not casper.
3333

34-
* Use Casper Labs instead of CasperLabs, casper labs, casperLabs, casperlabs, or any other variation.
35-
3634
* Use Casper Network (the initial letter of both words capitalized) while referring to the Casper blockchain network.
3735

3836
* Use ERC-20 while referring to the ‘Ethereum request for comment’ standard.

‎config/theme.footer.config.js

-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ module.exports = {
1212

1313
copyright: `Copyright © ${new Date().getFullYear()} Casper Association. Built with Docusaurus.`,
1414
links: [
15-
{
16-
href: "https://support.casperlabs.io/",
17-
label: "Support",
18-
position: "right",
19-
},
2015
{
2116
href: "https://discord.com/invite/casperblockchain",
2217
label: "Discord",

‎docs/concepts/glossary/A.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ An Account is a structure that represents a user on a Casper network. Informatio
1212

1313
## Account Hash {#account-hash}
1414

15-
The account hash is a 32-byte hash of the public key representing the user account. Information on generating an account hash can be found [here](https://support.casperlabs.io/hc/en-gb/articles/13781616975131-How-do-I-generate-an-account-hash-).
15+
The account hash is a 32-byte hash of the public key representing the user account. This can be generated with the casper-client-rs tool.
1616

1717
## Addressable Entity {#addressable-entity}
1818

‎docs/developers/cli/transfers/direct-token-transfer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Save the returned _deploy_hash_ from the output to query information about the t
6161
casper-client transfer -v \
6262
--id 3 \
6363
--transfer-id 11102023 \
64-
--node-address https://rpc.testnet.casperlabs.io/ \
64+
--node-address https://node.testnet.casper.network \
6565
--amount 5000000000 \
6666
--secret-key ~/KEYS/secret_key.pem \
6767
--chain-name casper-test \
@@ -188,7 +188,7 @@ Transfer addresses use a `transfer-` string prefix.
188188

189189
```bash
190190
casper-client get-deploy \
191-
--node-address https://rpc.testnet.casperlabs.io
191+
--node-address https://node.testnet.casper.network
192192
1f17a0bdeaaf71abd03492c854cdf97f746432751721ce555e95b9cefe641e3c
193193
```
194194

‎docs/developers/cli/transfers/multisig-deploy-transfer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,12 @@ Towards the end of the following output, you can observe that there is an **appr
247247

248248
### Sending the deploy {#sending-the-transaction}
249249

250-
The next step is to send the deploy for processing on the network. As described in the [Prerequisites](#prerequisites) section, you need to get an active node address from the corresponding network to complete this task. The following example uses the node `https://rpc.testnet.casperlabs.io/` from the Testnet.
250+
The next step is to send the deploy for processing on the network. As described in the [Prerequisites](#prerequisites) section, you need to get an active node address from the corresponding network to complete this task. The following example uses the node `https://node.testnet.casper.network` from the Testnet.
251251

252252
```bash
253253
casper-client send-deploy \
254254
--input transfer2.deploy \
255-
--node-address https://rpc.testnet.casperlabs.io/
255+
--node-address https://node.testnet.casper.network
256256
```
257257

258258
| Parameter | Description |

‎docs/developers/cli/transfers/verify-transfer.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ casper-client get-state-root-hash --node-address [NODE_SERVER_ADDRESS]
1919
**Example Query:**
2020

2121
```bash
22-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io
22+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
2323
```
2424

2525
<details>
@@ -85,7 +85,7 @@ The `-v` option generates verbose output, printing the RPC request and response
8585
```bash
8686
casper-client query-global-state -v \
8787
--id 3 \
88-
--node-address https://rpc.testnet.casperlabs.io/ \
88+
--node-address https://node.testnet.casper.network \
8989
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
9090
--key transfer-ab3e11fd612ccf9ddf5ddb3e5c0b3d3b5e5c0921fd1b45e8c657a63f01d6adcb
9191
```
@@ -168,7 +168,7 @@ casper-client query-global-state \
168168
```bash
169169
casper-client query-global-state -v \
170170
--id 4 \
171-
--node-address https://rpc.testnet.casperlabs.io/ \
171+
--node-address https://node.testnet.casper.network \
172172
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
173173
--key 0154d828baafa6858b92919c4d78f26747430dcbecb9aa03e8b44077dc6266cabf
174174
```
@@ -233,7 +233,7 @@ Repeat the same step to query information about the _Target_ account:
233233
```bash
234234
casper-client query-global-state -v \
235235
--id 5 \
236-
--node-address https://rpc.testnet.casperlabs.io/ \
236+
--node-address https://node.testnet.casper.network \
237237
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
238238
--key 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
239239
```
@@ -315,7 +315,7 @@ casper-client query-balance \
315315

316316
```bash
317317
casper-client query-balance -v --id 6 \
318-
--node-address https://rpc.testnet.casperlabs.io/ \
318+
--node-address https://node.testnet.casper.network \
319319
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
320320
--purse-identifier account-hash-e70dbca48c2d31bc2d754e51860ceaa8a1a49dc627b20320b0ecee1b6d9ce655
321321
```
@@ -370,7 +370,7 @@ casper-client get-balance \
370370

371371
```bash
372372
casper-client query-balance -v --id 7 \
373-
--node-address https://rpc.testnet.casperlabs.io/ \
373+
--node-address https://node.testnet.casper.network \
374374
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
375375
--purse-identifier account-hash-1ed5a1c39bea93c105f2d22c965a84b205b36734a377d05dbb103b6bfaa595a7
376376
```

‎docs/operators/becoming-a-validator/bonding.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ It is recommended that a bonding request be sent once the node has completed the
88

99
In the Testnet, era durations are approximately two hours. The entire process takes approximately 3 eras. Therefore, **the time for bid submission to inclusion in the validator set is a minimum of six hours**. Bonding requests (bids) are transactions like any other. Because they are generic transactions, they are more resistant to censorship.
1010

11+
## Minimum Bid Amount
12+
13+
There is a minimum defined bid amount in the `chainspec.toml`. This value is currently 100,000 CSPR as seen as the extract from `chainspec.toml` below.
14+
15+
```toml
16+
# Minimum bid amount allowed in motes. Withdrawing one's bid to an amount strictly less than
17+
# the value specified will be treated as a full unbond of a validator and their associated delegators
18+
minimum_bid_amount = 100_000_000_000_000
19+
```
20+
1121
## Method 1: Bonding with the System Auction Contract {#bonding-system-auction}
1222

1323
This method submits a bid using the system auction contract. Call the existing `add_bid` entry point from the system auction contract. Using this method, you do not need to build any contracts, reducing costs and complexity.
@@ -67,7 +77,7 @@ sudo -u casper casper-client put-deploy \
6777
--session-hash hash-93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2 \
6878
--session-entry-point add_bid \
6979
--session-arg "public_key:public_key='01c297d2931fec7e22b2fb1ae3ca5afdfacc2c82ba501e8ed158eecef82b4dcdee'" \
70-
--session-arg "amount:U512='$[10000 * 1000000000]'" \
80+
--session-arg "amount:U512='$[100000000 * 1000000000]'" \
7181
--session-arg "delegation_rate:u8='10'"
7282
```
7383

@@ -88,8 +98,8 @@ sudo -u casper casper-client put-deploy \
8898
--session-path $HOME/casper-node/target/wasm32-unknown-unknown/release/add_bid.wasm \
8999
--session-arg "public_key:public_key='<PUBLIC_KEY_HEX>'" \
90100
--session-arg "amount:u512='<BID-AMOUNT>'" \
91-
--session-arg "delegation_rate:u8='<PERCENT_TO_KEEP_FROM_DELEGATORS>'"
92-
--session-arg "minimum_delegation_amount:u64='<MINIMUM_DELEGATION_AMOUNT>'"
101+
--session-arg "delegation_rate:u8='<PERCENT_TO_KEEP_FROM_DELEGATORS>'" \
102+
--session-arg "minimum_delegation_amount:u64='<MINIMUM_DELEGATION_AMOUNT>'" \
93103
--session-arg "maximum_delegation_amount:u64='<MAXIMUM_DELEGATION_AMOUNT>'"
94104
```
95105

‎docs/operators/becoming-a-validator/recovering.md

+21-7
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sudo -u casper casper-client put-deploy \
8686
1. `node-address` - An IP address of a peer on the network. The default port of nodes' JSON-RPC servers on Mainnet and Testnet is 7777
8787
2. `secret-key` - The file name containing the secret key of the account paying for the Deploy
8888
3. `chain-name` - The chain-name to the network where you wish to send the Deploy. For Mainnet, use *casper*. For Testnet, use *casper-test*
89-
4. `payment-amount` - The payment for the Deploy in motes. You must check the network's chainspec. For example, this entry point call needs 10,000 motes for node version [1.5.1](https://github.com/casper-network/casper-node/blob/release-1.5.1/resources/production/chainspec.toml)
89+
4. `payment-amount` - The payment for the Deploy in motes. You must check the network's chainspec. For example, this entry point call needs 2,500,000,000 motes for node version [1.5.1](https://github.com/casper-network/casper-node/blob/release-1.5.1/resources/production/chainspec.toml)
9090
5. `session-hash` - Hex-encoded hash of the stored auction contract, which depends on the network you are using. For Casper's Mainnet and Testnet, the hashes are:
9191

9292
- **Testnet**: `hash-93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2`
@@ -106,26 +106,40 @@ Calling the `activate_bid` entry point on the auction contract has a fixed cost
106106

107107
:::
108108

109-
**Example:**
109+
**Examples:**
110110

111111
This example uses the Casper Testnet to reactivate a bid:
112112

113113
```bash
114114
sudo -u casper casper-client put-deploy \
115-
--node-address http://65.21.75.254:7777 \
115+
--node-address https://node.testnet.casper.network \
116116
--secret-key /etc/casper/validator_keys/secret_key.pem \
117117
--chain-name casper-test \
118-
--payment-amount 10000 \
118+
--payment-amount 2500000000 \
119119
--session-hash hash-93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2 \
120120
--session-entry-point activate_bid \
121121
--session-arg "validator_public_key:public_key='$(cat /etc/casper/validator_keys/public_key_hex)'"
122122
```
123123

124+
This example uses the Casper Mainnet to reactivate a bid:
125+
126+
```bash
127+
sudo -u casper casper-client put-deploy \
128+
--node-address https://node.mainnet.casper.network \
129+
--secret-key /etc/casper/validator_keys/secret_key.pem \
130+
--chain-name casper \
131+
--payment-amount 2500000000 \
132+
--session-hash hash-ccb576d6ce6dec84a551e48f0d0b7af89ddba44c7390b690036257a04a3ae9ea \
133+
--session-entry-point activate_bid \
134+
--session-arg "validator_public_key:public_key='$(cat /etc/casper/validator_keys/public_key_hex)'"
135+
```
136+
137+
124138
Next, [check the bid activation](#checking-the-bid-activation) status.
125139

126-
### Method 2: Activating the Bid with Compiled Wasm {#activating-compiled-wasm}
140+
### Method 2: Activating the Bid with Compiled Wasm {#activating-compiled-wasm} (Not recommended)
127141

128-
The second method to rejoin the network is to reactivate your bid using the `activate_bid.wasm`.
142+
The second method to rejoin the network is to reactivate your bid using the `activate_bid.wasm`.
129143

130144

131145
```bash
@@ -162,7 +176,7 @@ Here is an example that reactivates a bid using the `activate_bid.wasm`. You mus
162176

163177
```bash
164178
sudo -u casper casper-client put-deploy \
165-
--node-address http://65.21.75.254:7777 \
179+
--node-address https://node.mainnet.casper.network \
166180
--secret-key /etc/casper/validator_keys/secret_key.pem \
167181
--chain-name casper-test \
168182
--payment-amount 5000000000 \

‎docs/operators/maintenance/archiving-and-restoring.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This documentation describes processes for the compression and decompression of
1010

1111
:::note
1212

13-
The values presented in this document assume that the `trie-compact` tool was run on a Mainnet database for compression. Contact the [support team](https://support.casperlabs.io/hc/en-gb) if you have questions.
13+
The values presented in this document assume that the `trie-compact` tool was run on a Mainnet database for compression.
1414

1515
:::
1616

‎docs/operators/setup-network/create-private.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Use the below guides to set up and manage validator nodes.
4242
- [Set up Mainnet and Testnet validator nodes](https://docs.cspr.community/): A set of guides for Mainnet and Testnet node-operators on setting up and configuring their Casper network validator nodes.
4343

4444
Use these FAQ collections for tips and details for validators.
45-
- [FAQs for a basic validator node ](https://support.casperlabs.io/hc/en-gb/sections/6960448246683-Node-Operation-FAQ)
4645
- [External FAQs on Mainnet and Testnet validator node setup](https://docs.cspr.community/docs/faq-validator.html)
4746

4847
## Step 2. Setting up the Directory

‎docs/operators/setup-network/staging-files-for-new-network.md

+1-11
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,7 @@ We can look at this manually on Mainnet using *curl*. As of writing this, `1.4.
4747

4848
```bash
4949

50-
$ curl -s genesis.casperlabs.io/casper/protocol_versions
51-
1_0_0
52-
1_1_0
53-
1_1_2
54-
1_2_0
55-
1_2_1
56-
1_3_2
57-
1_3_4
58-
1_4_1
59-
1_4_3
60-
1_4_4
50+
$ curl -s genesis.casper.network/casper/protocol_versions
6151
1_4_5
6252
1_4_6
6353

‎docs/operators/setup/basic-node-configuration.md

+8-14
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A node is usually run by executing the `casper-node-launcher`, which executes th
1212

1313
The `casper-node-launcher` can be installed via a Debian package, which also creates the `casper` user and directory structures and sets up a `systemd` unit and logging.
1414

15-
The `casper-node-launcher` Debian package can be obtained from https://repo.casperlabs.io. You only need to run the steps detailed there once.
15+
The `casper-node-launcher` Debian package can be obtained from https://repo.casper.network. You only need to run the steps detailed there once.
1616

1717
Then, proceed to install the `casper-node-launcher` by running these commands:
1818

@@ -50,9 +50,6 @@ The default location for executables from the Debian package install is `/usr/bi
5050

5151
This is the default location for configuration files. It can be overwritten with the `CASPER_CONFIG_DIR` environment variable. The paths in this document assume the default configuration file location of `/etc/casper`. The data is organized as follows:
5252

53-
- `delete_local_db.sh` - Removes `*.lmdb*` files from `/var/lib/casper/casper-node`
54-
- `pull_casper_node_version.sh` - Pulls `bin.tar.gz` and `config.tar.gz` from [genesis.casperlabs.io](https://genesis.casperlabs.io/) for a specified protocol version and extracts them into `/var/lib/bin/<protocol_version>` and `/etc/casper/<protocol_version>`
55-
- `config_from_example.sh` - Gets external IP to replace and create the `config.toml` from `config-example.toml`
5653
- `node_util.py` - A script that will be replacing other scripts and is the preferred method of performing the actions of `pull_casper_node_version.sh`, `config_from_example.sh`, and `delete_local_db.sh`. Other scripts will be deprecated in future releases of `casper-node-launcher`.
5754
- `casper-node-launcher-state.toml` - The local state for the `casper-node-launcher` which is created during the first run
5855
- `validator_keys/` - The default folder for node keys, containing:
@@ -98,15 +95,16 @@ sudo -u casper /etc/casper/node_util.py stage_protocols <NETWORK_CONFIG>
9895

9996
For `<NETWORK_CONFIG>`, we use `casper.conf` for Mainnet and `casper-test.conf` for Testnet. This will install all currently released protocols in one step.
10097

101-
This command will do the following:
102-
- Create `/var/lib/casper/bin/1_0_2/` and expand the `bin.tar.gz` containing at a minimum `casper-node`
103-
- Create `/etc/casper/1_0_2/` and expand the `config.tar.gz` containing `chainspec.toml`, `config-example.toml`, and possibly `accounts.csv` and other files
104-
- Remove the archive files and run `/etc/casper/config_from_example.sh 1_0_2` to create a `config.toml` from the `config-example.toml`
98+
This command will do the following for each protocol not installed with `1_5_8` as example here:
99+
- Create `/var/lib/casper/bin/1_5_8/` and expand the `bin.tar.gz` containing at a minimum `casper-node`
100+
- Create `/etc/casper/1_5_8/` and expand the `config.tar.gz` containing `chainspec.toml`, `config-example.toml`, and possibly `accounts.csv` and other files
101+
- Remove the archive files
102+
- Run the equivalent of `/etc/casper/node_util.py config_from_example 1_5_8` to create a `config.toml` from the `config-example.toml`
105103

106104
Release versions are invoked using the underscore format, such as:
107105

108106
```bash
109-
sudo -u casper /etc/casper/pull_casper_node_version.sh 1_0_2
107+
sudo -u casper /etc/casper/pull_casper_node_version.sh 1_5_8
110108
```
111109

112110
## The Node Configuration File {#config-file}
@@ -126,11 +124,7 @@ When joining the network, the system will start from the hash of a recent block
126124
- Obtain the hash of a block from the status endpoint
127125
- Update the `config.toml` for the node to include the trusted hash. There is a field dedicated to this near the top of the file
128126

129-
Here is an example command for obtaining a trusted hash. Replace the node address with an updated address from a node on the network.
130-
131-
```bash
132-
sudo sed -i "/trusted_hash =/c\trusted_hash = '$(casper-client get-block --node-address http://3.14.161.135:7777 -b 20 | jq -r .result.block.hash | tr -d '\n')'" /etc/casper/1_0_0/config.toml
133-
```
127+
This page has an example of using [sed to automatically update the trusted hash](https://docs.casper.network/operators/setup/install-node#getting-a-trusted-hash)
134128

135129
### Known Addresses {#known-addresses}
136130

‎docs/operators/setup/casper-sidecar.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ systemctl status casper-sidecar
7777
casper-sidecar.service - Casper Event Sidecar
7878
Loaded: loaded (/lib/systemd/system/casper-sidecar.service; enabled; vendor preset: enabled)
7979
Active: active (running) since Wed 2022-12-07 20:33:29 UTC; 1min 3s ago
80-
Docs: https://docs.casperlabs.io
80+
Docs: https://docs.casper.network
8181
Main PID: 16707 (casper-si)
8282
Tasks: 5 (limit: 9401)
8383
Memory: 7.1M

‎docs/operators/setup/install-node.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Of these `35000` is the only port required to be open for your node to function,
2020
## Operating System Requirements
2121
The recommended OS version is Ubuntu 20.04.
2222

23-
### Using Ubuntu 22.04
23+
### Using Ubuntu 22.04 or 24.04
2424

25-
Installing using Ubuntu 22.04 follows the same instructions as 20.04 with one exception:
25+
Installing using Ubuntu 22.04 or 24.04 follows the same instructions as 20.04 with one exception:
2626

2727
If you try to install packages, you will receive:
2828

@@ -33,8 +33,8 @@ casper-client : Depends: libssl1.1 (>= 1.1.0) but it is not installable
3333
This message is due to the default `openssl` moving to 3.* with Ubuntu 22.04. You need to install OpenSSL 1.* for prior versions of Ubuntu to use the Casper binaries with the following command:
3434

3535
```
36-
curl -f -JLO http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
37-
sudo apt install ./libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
36+
curl -f -JLO http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
37+
sudo apt install ./libssl1.1_1.1.1f-1ubuntu2_amd64.deb
3838
```
3939

4040
## Required Number of Open Files
@@ -46,25 +46,27 @@ Before beginning, [update the maximum open files limit](./open-files.md) for you
4646
If you were running a previous node on this box, this will clean up state. If packages are not installed, the `apt remove` may give errors, but this is not a problem.
4747

4848
```bash
49-
sudo systemctl stop casper-node-launcher.service
49+
sudo /etc/casper/node_util.py stop
5050
sudo apt remove -y casper-client
5151
sudo apt remove -y casper-node
5252
sudo apt remove -y casper-node-launcher
5353
sudo rm /etc/casper/casper-node-launcher-state.toml
5454
sudo rm -rf /etc/casper/1_*
55+
sudo rm -rf /etc/casper/2_*
5556
sudo rm -rf /var/lib/casper/*
5657
```
5758

5859
## Required Packages
5960

60-
The following commands will set up the Casper Labs repository for packages:
61+
The following commands will set up the Casper repository for packages:
6162

6263
```bash
63-
echo "deb [arch=amd64] https://repo.casperlabs.io/releases focal main" | sudo tee -a /etc/apt/sources.list.d/casper.list
64-
curl -O https://repo.casperlabs.io/casper-repo-pubkey.asc
65-
sudo apt-key add casper-repo-pubkey.asc
64+
sudo mkdir -m 0755 -p /etc/apt/keyrings/
65+
sudo curl https://repo.casper.network/casper-repo-pubkey.gpg --output /etc/apt/keyrings/casper-repo-pubkey.gpg
66+
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/casper-repo-pubkey.gpg] https://repo.casper.network/releases focal main" | sudo tee -a /etc/apt/sources.list.d/casper.list
6667
sudo apt update
6768
```
69+
We are creating /etc/apt/keyrings if needed, so we don't have the issue with this key being trusted by all APT requests if stored in /etc/apt/trusted.gpg.d.
6870

6971
## Required Tools
7072

@@ -127,25 +129,25 @@ NODE_ADDR can be set to an IP of a trusted node, or to Casper Labs' public nodes
127129

128130
You can find active peers at https://cspr.live/tools/peers or use the following Casper Labs public nodes:
129131

130-
* Testnet - NODE_ADDR=https://rpc.testnet.casperlabs.io
132+
* Testnet - NODE_ADDR=https://node.testnet.casper.network
131133

132-
* Mainnet - NODE_ADDR=https://rpc.mainnet.casperlabs.io
134+
* Mainnet - NODE_ADDR=https://node.mainnet.casper.network
133135

134136
### Protocol Version
135137

136-
Protocol version should be set to the largest available protocol version you see in `ls /etc/casper`. As of writing this, it was 1_5_2:
138+
Protocol version should be set to the largest available protocol version you see in `ls /etc/casper`. As of writing this, it was 1_5_8:
137139

138140
```bash
139-
PROTOCOL=1_5_2
141+
PROTOCOL=1_5_8
140142
```
141143

142144
### Load `trusted_hash` in Config.toml of the Protocol Version
143145

144146
The following command uses the previously established NODE_ADDR and PROTOCOL to load the `trusted_hash`:
145147

146148
```bash
147-
NODE_ADDR=https://rpc.mainnet.casperlabs.io
148-
PROTOCOL=1_5_2
149+
NODE_ADDR=https://node.mainnet.casper.network
150+
PROTOCOL=1_5_8
149151
sudo sed -i "/trusted_hash =/c\trusted_hash = '$(casper-client get-block --node-address $NODE_ADDR | jq -r .result.block.hash | tr -d '\n')'" /etc/casper/$PROTOCOL/config.toml
150152
```
151153

‎docs/operators/setup/node-endpoints.md

+3-18
Original file line numberDiff line numberDiff line change
@@ -189,31 +189,16 @@ If this port is closed, the requests coming to this port will not be served, but
189189

190190
## Setting up Firewall Rules
191191

192-
To limit inbound traffic to the node’s endpoints, you can set firewall rules similar to the `ufw` commands below:
192+
To limit inbound traffic to the node’s endpoints, you can set firewall rules.
193193

194-
```bash
195-
sudo apt install ufw -y
196-
sudo ufw disable
197-
sudo ufw reset
198-
sudo ufw default allow outgoing
199-
sudo ufw default deny incoming
200-
sudo ufw limit ssh
201-
sudo ufw limit 7777/tcp
202-
sudo ufw limit 8888/tcp
203-
sudo ufw limit 35000/tcp
204-
sudo ufw enable
205-
```
206-
207-
These commands will limit requests to the available ports of your node. Port 35000 should be left open, although you can limit traffic, as it is crucial for node-to-node communication.
208-
209-
If you have any concerns, questions, or issues, please [submit a request](https://support.casperlabs.io/hc/en-gb/requests/new) to the Casper support team.
194+
Two example files are available: [firewall.sh](https://genesis.casper.network/firewall.sh) and more restrictive [firewall_only_node_to_node.sh](https://genesis.casper.network/firewall_only_node_to_node.sh).
210195

196+
Both of these include `8888` access from casper-network-monitor IP for tracking status of the network. More information is included in the comments of the files.
211197

212198
## Restricting Access for Private Networks
213199

214200
Any node can join Mainnet and Testnet and communicate with the nodes in the network. Private networks may wish to restrict access for new nodes joining the network as described [here](../setup-network/create-private.md#network-access-control).
215201

216-
217202
## Summary of Related Links
218203

219204
Here is a summary of the links mentioned on this page:

‎docs/resources/advanced/multi-sig/multi-sig-workflow.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ casper-client account-address --public-key <INSERT_PUBLIC_KEY_HEX>
7878
Update the weight of the primary key to 3 by calling the `update_associated_keys.wasm`.
7979

8080
```bash
81-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
81+
casper-client put-deploy --node-address https://node.testnet.casper.network \
8282
--chain-name "casper-test" \
8383
--payment-amount 500000000 \
8484
--secret-key $PATH/secret_key.pem \
@@ -90,16 +90,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
9090
Verify that the deploy ran successfully.
9191

9292
```bash
93-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
93+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
9494
```
9595

9696
Retrieve the latest state root hash and check the primary account details.
9797

9898
```bash
99-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
99+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
100100

101101
casper-client query-global-state \
102-
--node-address https://rpc.testnet.casperlabs.io/ \
102+
--node-address https://node.testnet.casper.network \
103103
--state-root-hash <STATE_ROOT_HASH> \
104104
--key account-hash-<PRIMARY_ACCOUNT_HASH>
105105
```
@@ -143,7 +143,7 @@ Set up a multi-signature scheme for the account by updating the `deployment` and
143143

144144
```bash
145145
casper-client put-deploy \
146-
--node-address https://rpc.testnet.casperlabs.io \
146+
--node-address https://node.testnet.casper.network \
147147
--chain-name casper-test \
148148
--payment-amount 500000000 \
149149
--secret-key $PATH/secret_key.pem \
@@ -155,16 +155,16 @@ casper-client put-deploy \
155155
Verify that the deploy ran successfully.
156156

157157
```bash
158-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
158+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
159159
```
160160

161161
Retrieve the latest state root hash and check the primary account details.
162162

163163
```bash
164-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
164+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
165165

166166
casper-client query-global-state \
167-
--node-address https://rpc.testnet.casperlabs.io/ \
167+
--node-address https://node.testnet.casper.network \
168168
--state-root-hash <STATE_ROOT_HASH> \
169169
--key account-hash-<PRIMARY_ACCOUNT_HASH>
170170
```
@@ -217,7 +217,7 @@ The table below summarizes the updates.
217217
To add an associated key to the primary account, use the `add_account.wasm` provided. This example adds two keys to the primary account (`account-hash-d89c*`): `user_1` with `account-hash-e2d0*`, and `user_2` with `account-hash-04a9*`.
218218

219219
```bash
220-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
220+
casper-client put-deploy --node-address https://node.testnet.casper.network \
221221
--chain-name "casper-test" \
222222
--payment-amount 500000000 \
223223
--secret-key $PATH/secret_key.pem \
@@ -229,11 +229,11 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
229229
Verify that the deploy ran successfully.
230230

231231
```bash
232-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
232+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
233233
```
234234

235235
```bash
236-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
236+
casper-client put-deploy --node-address https://node.testnet.casper.network \
237237
--chain-name "casper-test" \
238238
--payment-amount 500000000 \
239239
--secret-key $PATH/secret_key.pem \
@@ -245,16 +245,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
245245
Verify that the deploy ran successfully.
246246

247247
```bash
248-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
248+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
249249
```
250250

251251
Retrieve the latest state root hash and check the primary account details.
252252

253253
```bash
254-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
254+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
255255

256256
casper-client query-global-state \
257-
--node-address https://rpc.testnet.casperlabs.io/ \
257+
--node-address https://node.testnet.casper.network \
258258
--state-root-hash <STATE_ROOT_HASH> \
259259
--key account-hash-<PRIMARY_ACCOUNT_HASH>
260260
```
@@ -325,16 +325,16 @@ casper-client put-deploy --chain-name casper-test \
325325
Verify that the deploy ran successfully.
326326

327327
```bash
328-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
328+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
329329
```
330330

331331
Retrieve the latest state root hash and check the primary account details.
332332

333333
```bash
334-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
334+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
335335

336336
casper-client query-global-state \
337-
--node-address https://rpc.testnet.casperlabs.io/ \
337+
--node-address https://node.testnet.casper.network \
338338
--state-root-hash <STATE_ROOT_HASH> \
339339
--key account-hash-<PRIMARY_ACCOUNT_HASH>
340340
```
@@ -384,22 +384,22 @@ casper-client sign-deploy -i hello_world_one_signature -k $PATH/user_2_secret_ke
384384
The deploy can be sent to the network using the `send-deploy` command:
385385

386386
```bash
387-
casper-client send-deploy --node-address https://rpc.testnet.casperlabs.io -i hello_world_two_signatures
387+
casper-client send-deploy --node-address https://node.testnet.casper.network -i hello_world_two_signatures
388388
```
389389

390390
Verify that the deploy ran successfully.
391391

392392
```bash
393-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
393+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
394394
```
395395

396396
Retrieve the latest state root hash and check the primary account details.
397397

398398
```bash
399-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
399+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
400400

401401
casper-client query-global-state \
402-
--node-address https://rpc.testnet.casperlabs.io/ \
402+
--node-address https://node.testnet.casper.network \
403403
--state-root-hash <STATE_ROOT_HASH> \
404404
--key account-hash-<PRIMARY_ACCOUNT_HASH>
405405
```
@@ -421,7 +421,7 @@ Before removing a key, ensure the remaining associated keys can combine their we
421421
Given the current setup, the primary account will add an associated key, and then remove it. In other use cases, associated keys may need to combine their signatures to send a multi-sig deploy that removes a key.
422422

423423
```bash
424-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
424+
casper-client put-deploy --node-address https://node.testnet.casper.network \
425425
--chain-name "casper-test" \
426426
--payment-amount 500000000 \
427427
--secret-key $PATH/secret_key.pem \
@@ -433,16 +433,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
433433
Verify that the deploy ran successfully.
434434

435435
```bash
436-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
436+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
437437
```
438438

439439
Retrieve the latest state root hash and check the primary account details.
440440

441441
```bash
442-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
442+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
443443

444444
casper-client query-global-state \
445-
--node-address https://rpc.testnet.casperlabs.io/ \
445+
--node-address https://node.testnet.casper.network \
446446
--state-root-hash <STATE_ROOT_HASH> \
447447
--key account-hash-<PRIMARY_ACCOUNT_HASH>
448448
```
@@ -496,7 +496,7 @@ The table below summarizes the updates after calling the `add_account.wasm`.
496496
The `remove_account.wasm` will remove the newly added account to demonstrate the possibility of removing associated keys that may have been compromised.
497497

498498
```bash
499-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
499+
casper-client put-deploy --node-address https://node.testnet.casper.network \
500500
--chain-name "casper-test" \
501501
--payment-amount 500000000 \
502502
--secret-key $PATH/secret_key.pem \
@@ -507,16 +507,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
507507
Verify that the deploy ran successfully.
508508

509509
```bash
510-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
510+
casper-client get-deploy --node-address https://node.testnet.casper.network/ <DEPLOY_HASH>
511511
```
512512

513513
Retrieve the latest state root hash and check the primary account details.
514514

515515
```bash
516-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
516+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network/
517517

518518
casper-client query-global-state \
519-
--node-address https://rpc.testnet.casperlabs.io/ \
519+
--node-address https://node.testnet.casper.network/ \
520520
--state-root-hash <STATE_ROOT_HASH> \
521521
--key account-hash-<PRIMARY_ACCOUNT_HASH>
522522
```

‎docs/resources/advanced/storage-workflow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Both the [`put_key`](https://docs.rs/casper-contract/latest/casper_contract/cont
1818

1919
### `storage::write` / `storage::read`
2020

21-
[`storage::write`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.write.html) writes a given value to a previously established URef (created using [`storage::new_uref`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.new_uref.html)). Unlike `put_key`, this value is not one of the `Key` types listed above, but rather any of the potential [`CLType`](https://docs.casperlabs.io/developers/json-rpc/types_cl/#cltype)s as outlined. [`storage::read`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.read.html) provides a method to retrieve these values from the associated URef.
21+
[`storage::write`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.write.html) writes a given value to a previously established URef (created using [`storage::new_uref`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.new_uref.html)). Unlike `put_key`, this value is not one of the `Key` types listed above, but rather any of the potential [`CLType`](https://docs.casper.network/developers/json-rpc/types_cl)s as outlined. [`storage::read`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.read.html) provides a method to retrieve these values from the associated URef.
2222

2323
### `storage:dictionary_put` / `storage::dictionary_get`
2424

‎docs/resources/beginner/querying-network.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ casper-client query-global-state \
9292
```bash
9393
casper-client query-global-state -v \
9494
--id 4 \
95-
--node-address https://rpc.testnet.casperlabs.io/ \
95+
--node-address https://node.testnet.casper.network \
9696
--state-root-hash a306a9cf869e52fe9eacdc28aade94215112cc04b6737b3669c35568a47a7dc2 \
9797
--key 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
9898
```
@@ -219,7 +219,7 @@ The `-v` option generates verbose output, printing the RPC request and response
219219
```bash
220220
casper-client query-balance -v \
221221
--id 6 \
222-
--node-address https://rpc.testnet.casperlabs.io/ \
222+
--node-address https://node.testnet.casper.network \
223223
--state-root-hash a306a9cf869e52fe9eacdc28aade94215112cc04b6737b3669c35568a47a7dc2 \
224224
--purse-identifier 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
225225
```

‎versioned_docs/version-1.5.X/developers/cli/transfers/direct-token-transfer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Save the returned _deploy_hash_ from the output to query information about the t
6161
casper-client transfer -v \
6262
--id 3 \
6363
--transfer-id 11102023 \
64-
--node-address https://rpc.testnet.casperlabs.io/ \
64+
--node-address https://node.testnet.casper.network \
6565
--amount 5000000000 \
6666
--secret-key ~/KEYS/secret_key.pem \
6767
--chain-name casper-test \
@@ -188,7 +188,7 @@ Transfer addresses use a `transfer-` string prefix.
188188

189189
```bash
190190
casper-client get-deploy
191-
--node-address https://rpc.testnet.casperlabs.io
191+
--node-address https://node.testnet.casper.network
192192
1f17a0bdeaaf71abd03492c854cdf97f746432751721ce555e95b9cefe641e3c
193193
```
194194

‎versioned_docs/version-1.5.X/developers/cli/transfers/multisig-deploy-transfer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,12 @@ Towards the end of the following output, you can observe that there is an **appr
246246

247247
### Sending the deploy {#sending-the-deploy}
248248

249-
The next step is to send the deploy for processing on the network. As described in the [Prerequisites](#prerequisites) section, you need to get an active node address from the corresponding network to complete this task. The following example uses the node `https://rpc.testnet.casperlabs.io/` from the Testnet.
249+
The next step is to send the deploy for processing on the network. As described in the [Prerequisites](#prerequisites) section, you need to get an active node address from the corresponding network to complete this task. The following example uses the node `https://node.testnet.casper.network` from the Testnet.
250250

251251
```bash
252252
casper-client send-deploy \
253253
--input transfer2.deploy \
254-
--node-address https://rpc.testnet.casperlabs.io/
254+
--node-address https://node.testnet.casper.network
255255
```
256256

257257
| Parameter | Description |

‎versioned_docs/version-1.5.X/developers/cli/transfers/verify-transfer.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ casper-client get-state-root-hash --node-address [NODE_SERVER_ADDRESS]
2323
**Example Query:**
2424

2525
```bash
26-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io
26+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
2727
```
2828

2929
<details>
@@ -89,7 +89,7 @@ The `-v` option generates verbose output, printing the RPC request and response
8989
```bash
9090
casper-client query-global-state -v \
9191
--id 3 \
92-
--node-address https://rpc.testnet.casperlabs.io/ \
92+
--node-address https://node.testnet.casper.network \
9393
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
9494
--key transfer-ab3e11fd612ccf9ddf5ddb3e5c0b3d3b5e5c0921fd1b45e8c657a63f01d6adcb
9595
```
@@ -172,7 +172,7 @@ casper-client query-global-state \
172172
```bash
173173
casper-client query-global-state -v \
174174
--id 4 \
175-
--node-address https://rpc.testnet.casperlabs.io/ \
175+
--node-address https://node.testnet.casper.network \
176176
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
177177
--key 0154d828baafa6858b92919c4d78f26747430dcbecb9aa03e8b44077dc6266cabf
178178
```
@@ -237,7 +237,7 @@ Repeat the same step to query information about the _Target_ account:
237237
```bash
238238
casper-client query-global-state -v \
239239
--id 5 \
240-
--node-address https://rpc.testnet.casperlabs.io/ \
240+
--node-address https://node.testnet.casper.network \
241241
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
242242
--key 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
243243
```
@@ -319,7 +319,7 @@ casper-client query-balance \
319319

320320
```bash
321321
casper-client query-balance -v --id 6 \
322-
--node-address https://rpc.testnet.casperlabs.io/ \
322+
--node-address https://node.testnet.casper.network \
323323
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
324324
--purse-identifier account-hash-e70dbca48c2d31bc2d754e51860ceaa8a1a49dc627b20320b0ecee1b6d9ce655
325325
```
@@ -374,7 +374,7 @@ casper-client get-balance \
374374

375375
```bash
376376
casper-client query-balance -v --id 7 \
377-
--node-address https://rpc.testnet.casperlabs.io/ \
377+
--node-address https://node.testnet.casper.network \
378378
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
379379
--purse-identifier account-hash-1ed5a1c39bea93c105f2d22c965a84b205b36734a377d05dbb103b6bfaa595a7
380380
```

‎versioned_docs/version-1.5.X/developers/prerequisites.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ The node address is the IP address or URL of a peer node.
265265
Casper Labs provides public Casper node JSON-RPC endpoints for each network:
266266

267267
* Mainnet: https://rpc.mainnet.casperlabs.io/rpc
268-
* Testnet: https://rpc.testnet.casperlabs.io/rpc
268+
* Testnet: https://node.testnet.casper.networkrpc
269269
* Integration network: https://rpc.integration.casperlabs.io/rpc
270270

271271
Additionally, both the official Testnet and Mainnet provide block explorers that list the IP addresses of nodes on their respective networks.

‎versioned_docs/version-1.5.X/operators/setup-network/staging-files-for-new-network.md

+7-16
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,23 @@ This is a description of Mainnet protocol version hosting (with network name: `c
4343

4444
At the root of the hosting server directory for a given network, a `protocol_versions` file exists. This holds the valid protocol versions for a network.
4545

46-
We can look at this manually on Mainnet using *curl*. As of writing this, `1.4.6` is the latest version and the contents of this file will change.
46+
We can look at this manually on Mainnet using *curl*. As of writing this, `1_5_8` is the latest version and the contents of this file will change.
4747

4848
```bash
4949

50-
$ curl -s genesis.casperlabs.io/casper/protocol_versions
51-
1_0_0
52-
1_1_0
53-
1_1_2
54-
1_2_0
55-
1_2_1
56-
1_3_2
57-
1_3_4
58-
1_4_1
59-
1_4_3
60-
1_4_4
61-
1_4_5
62-
1_4_6
50+
$ curl -s genesis.casper.network/casper/protocol_versions
51+
1_5_8
6352

6453
```
6554

6655
We should find `bin.tar.gz` and `config.tar.gz` in those directories under `casper`.
6756

57+
Since 1.5 `casper-node` version, the network syncs with `fast-sync` protocol where historical nodes are not needed. The only time multiple protocols are needed is during and upgrade staging period. However, it is typical that `protocol_versions` is updated only when a new version is staged, so usually the current and previous version are help in `protocol_versions`.
58+
6859
## Protocol Version
6960

70-
The protocol version of a network is not related to the `casper-node` version. In Mainnet, these have often been the same. However, with a new network, you would use the latest `casper-node` version for your
71-
`1.0.0` protocol.
61+
The protocol version of a network is not related to the `casper-node` version. In Mainnet, these have often been the same.
62+
However, with a new network, you would use the latest `casper-node` version for your `1.0.0` protocol.
7263

7364
## Network Configuration File
7465

‎versioned_docs/version-1.5.X/operators/setup/basic-node-configuration.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A node is usually run by executing the `casper-node-launcher`, which executes th
1212

1313
The `casper-node-launcher` can be installed via a Debian package, which also creates the `casper` user and directory structures and sets up a `systemd` unit and logging.
1414

15-
The `casper-node-launcher` Debian package can be obtained from [https://repo.casperlabs.io](https://repo.casperlabs.io). You only need to run the steps detailed there once.
15+
The `casper-node-launcher` Debian package can be obtained from [https://repo.casper.network](https://repo.casper.network). You only need to run the steps detailed there once.
1616

1717
Then, proceed to install the `casper-node-launcher` by running these commands:
1818

@@ -50,9 +50,6 @@ The default location for executables from the Debian package install is `/usr/bi
5050

5151
This is the default location for configuration files. It can be overwritten with the `CASPER_CONFIG_DIR` environment variable. The paths in this document assume the default configuration file location of `/etc/casper`. The data is organized as follows:
5252

53-
- `delete_local_db.sh` - Removes `*.lmdb*` files from `/var/lib/casper/casper-node`
54-
- `pull_casper_node_version.sh` - Pulls `bin.tar.gz` and `config.tar.gz` from [genesis.casperlabs.io](https://genesis.casperlabs.io/) for a specified protocol version and extracts them into `/var/lib/bin/<protocol_version>` and `/etc/casper/<protocol_version>`
55-
- `config_from_example.sh` - Gets external IP to replace and create the `config.toml` from `config-example.toml`
5653
- `node_util.py` - A script that will be replacing other scripts and is the preferred method of performing the actions of `pull_casper_node_version.sh`, `config_from_example.sh`, and `delete_local_db.sh`. Other scripts will be deprecated in future releases of `casper-node-launcher`.
5754
- `casper-node-launcher-state.toml` - The local state for the `casper-node-launcher` which is created during the first run
5855
- `validator_keys/` - The default folder for node keys, containing:
@@ -129,7 +126,7 @@ When joining the network, the system will start from the hash of a recent block
129126
Here is an example command for obtaining a trusted hash. Replace the node address with an updated address from a node on the network.
130127

131128
```bash
132-
sudo sed -i "/trusted_hash =/c\trusted_hash = '$(casper-client get-block --node-address http://3.14.161.135:7777 -b 20 | jq -r .result.block.hash | tr -d '\n')'" /etc/casper/1_0_0/config.toml
129+
sudo sed -i "/trusted_hash =/c\trusted_hash = '$(casper-client get-block --node-address http://3.14.161.135:7777 | jq -r .result.block.hash | tr -d '\n')'" /etc/casper/1_0_0/config.toml
133130
```
134131

135132
### Known Addresses {#known-addresses}

‎versioned_docs/version-1.5.X/operators/setup/install-node.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ sudo rm -rf /var/lib/casper/*
6060
The following commands will set up the Casper Labs repository for packages:
6161

6262
```bash
63-
echo "deb [arch=amd64] https://repo.casperlabs.io/releases focal main" | sudo tee -a /etc/apt/sources.list.d/casper.list
64-
curl -O https://repo.casperlabs.io/casper-repo-pubkey.asc
65-
sudo apt-key add casper-repo-pubkey.asc
63+
sudo mkdir -m 0755 -p /etc/apt/keyrings/
64+
sudo curl https://repo.casper.network/casper-repo-pubkey.gpg --output /etc/apt/keyrings/casper-repo-pubkey.gpg
65+
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/casper-repo-pubkey.gpg] https://repo.casper.network/releases focal main" | sudo tee -a /etc/apt/sources.list.d/casper.list
6666
sudo apt update
6767
```
6868

@@ -127,7 +127,7 @@ NODE_ADDR can be set to an IP of a trusted node, or to Casper Labs' public nodes
127127

128128
You can find active peers at https://cspr.live/tools/peers or use the following Casper Labs public nodes:
129129

130-
* Testnet - NODE_ADDR=https://rpc.testnet.casperlabs.io
130+
* Testnet - NODE_ADDR=https://node.testnet.casper.network
131131

132132
* Mainnet - NODE_ADDR=https://rpc.mainnet.casperlabs.io
133133

‎versioned_docs/version-1.5.X/resources/advanced/multi-sig/multi-sig-workflow.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ casper-client account-address --public-key <INSERT_PUBLIC_KEY_HEX>
7878
Update the weight of the primary key to 3 by calling the `update_associated_keys.wasm`.
7979

8080
```bash
81-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
81+
casper-client put-deploy --node-address https://node.testnet.casper.network \
8282
--chain-name "casper-test" \
8383
--payment-amount 500000000 \
8484
--secret-key $PATH/secret_key.pem \
@@ -90,16 +90,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
9090
Verify that the deploy ran successfully.
9191

9292
```bash
93-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
93+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
9494
```
9595

9696
Retrieve the latest state root hash and check the primary account details.
9797

9898
```bash
99-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
99+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
100100

101101
casper-client query-global-state \
102-
--node-address https://rpc.testnet.casperlabs.io/ \
102+
--node-address https://node.testnet.casper.network \
103103
--state-root-hash <STATE_ROOT_HASH> \
104104
--key account-hash-<PRIMARY_ACCOUNT_HASH>
105105
```
@@ -143,7 +143,7 @@ Set up a multi-signature scheme for the account by updating the `deployment` and
143143

144144
```bash
145145
casper-client put-deploy \
146-
--node-address https://rpc.testnet.casperlabs.io \
146+
--node-address https://node.testnet.casper.network \
147147
--chain-name casper-test \
148148
--payment-amount 500000000 \
149149
--secret-key $PATH/secret_key.pem \
@@ -155,16 +155,16 @@ casper-client put-deploy \
155155
Verify that the deploy ran successfully.
156156

157157
```bash
158-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
158+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
159159
```
160160

161161
Retrieve the latest state root hash and check the primary account details.
162162

163163
```bash
164-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
164+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
165165

166166
casper-client query-global-state \
167-
--node-address https://rpc.testnet.casperlabs.io/ \
167+
--node-address https://node.testnet.casper.network \
168168
--state-root-hash <STATE_ROOT_HASH> \
169169
--key account-hash-<PRIMARY_ACCOUNT_HASH>
170170
```
@@ -217,7 +217,7 @@ The table below summarizes the updates.
217217
To add an associated key to the primary account, use the `add_account.wasm` provided. This example adds two keys to the primary account (`account-hash-d89c*`): `user_1` with `account-hash-e2d0*`, and `user_2` with `account-hash-04a9*`.
218218

219219
```bash
220-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
220+
casper-client put-deploy --node-address https://node.testnet.casper.network \
221221
--chain-name "casper-test" \
222222
--payment-amount 500000000 \
223223
--secret-key $PATH/secret_key.pem \
@@ -229,11 +229,11 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
229229
Verify that the deploy ran successfully.
230230

231231
```bash
232-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
232+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
233233
```
234234

235235
```bash
236-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
236+
casper-client put-deploy --node-address https://node.testnet.casper.network \
237237
--chain-name "casper-test" \
238238
--payment-amount 500000000 \
239239
--secret-key $PATH/secret_key.pem \
@@ -245,16 +245,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
245245
Verify that the deploy ran successfully.
246246

247247
```bash
248-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
248+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
249249
```
250250

251251
Retrieve the latest state root hash and check the primary account details.
252252

253253
```bash
254-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
254+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
255255

256256
casper-client query-global-state \
257-
--node-address https://rpc.testnet.casperlabs.io/ \
257+
--node-address https://node.testnet.casper.network \
258258
--state-root-hash <STATE_ROOT_HASH> \
259259
--key account-hash-<PRIMARY_ACCOUNT_HASH>
260260
```
@@ -325,16 +325,16 @@ casper-client put-deploy --chain-name casper-test \
325325
Verify that the deploy ran successfully.
326326

327327
```bash
328-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
328+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
329329
```
330330

331331
Retrieve the latest state root hash and check the primary account details.
332332

333333
```bash
334-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
334+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
335335

336336
casper-client query-global-state \
337-
--node-address https://rpc.testnet.casperlabs.io/ \
337+
--node-address https://node.testnet.casper.network \
338338
--state-root-hash <STATE_ROOT_HASH> \
339339
--key account-hash-<PRIMARY_ACCOUNT_HASH>
340340
```
@@ -384,22 +384,22 @@ casper-client sign-deploy -i hello_world_one_signature -k $PATH/user_2_secret_ke
384384
The deploy can be sent to the network using the `send-deploy` command:
385385

386386
```bash
387-
casper-client send-deploy --node-address https://rpc.testnet.casperlabs.io -i hello_world_two_signatures
387+
casper-client send-deploy --node-address https://node.testnet.casper.network -i hello_world_two_signatures
388388
```
389389

390390
Verify that the deploy ran successfully.
391391

392392
```bash
393-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
393+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
394394
```
395395

396396
Retrieve the latest state root hash and check the primary account details.
397397

398398
```bash
399-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
399+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
400400

401401
casper-client query-global-state \
402-
--node-address https://rpc.testnet.casperlabs.io/ \
402+
--node-address https://node.testnet.casper.network \
403403
--state-root-hash <STATE_ROOT_HASH> \
404404
--key account-hash-<PRIMARY_ACCOUNT_HASH>
405405
```
@@ -421,7 +421,7 @@ Before removing a key, ensure the remaining associated keys can combine their we
421421
Given the current setup, the primary account will add an associated key, and then remove it. In other use cases, associated keys may need to combine their signatures to send a multi-sig deploy that removes a key.
422422

423423
```bash
424-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
424+
casper-client put-deploy --node-address https://node.testnet.casper.network \
425425
--chain-name "casper-test" \
426426
--payment-amount 500000000 \
427427
--secret-key $PATH/secret_key.pem \
@@ -433,16 +433,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
433433
Verify that the deploy ran successfully.
434434

435435
```bash
436-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
436+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
437437
```
438438

439439
Retrieve the latest state root hash and check the primary account details.
440440

441441
```bash
442-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
442+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network/
443443

444444
casper-client query-global-state \
445-
--node-address https://rpc.testnet.casperlabs.io/ \
445+
--node-address https://node.testnet.casper.network/ \
446446
--state-root-hash <STATE_ROOT_HASH> \
447447
--key account-hash-<PRIMARY_ACCOUNT_HASH>
448448
```
@@ -496,7 +496,7 @@ The table below summarizes the updates after calling the `add_account.wasm`.
496496
The `remove_account.wasm` will remove the newly added account to demonstrate the possibility of removing associated keys that may have been compromised.
497497

498498
```bash
499-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
499+
casper-client put-deploy --node-address https://node.testnet.casper.network/ \
500500
--chain-name "casper-test" \
501501
--payment-amount 500000000 \
502502
--secret-key $PATH/secret_key.pem \
@@ -507,16 +507,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
507507
Verify that the deploy ran successfully.
508508

509509
```bash
510-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
510+
casper-client get-deploy --node-address https://node.testnet.casper.network/ <DEPLOY_HASH>
511511
```
512512

513513
Retrieve the latest state root hash and check the primary account details.
514514

515515
```bash
516-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
516+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network/
517517

518518
casper-client query-global-state \
519-
--node-address https://rpc.testnet.casperlabs.io/ \
519+
--node-address https://node.testnet.casper.network/ \
520520
--state-root-hash <STATE_ROOT_HASH> \
521521
--key account-hash-<PRIMARY_ACCOUNT_HASH>
522522
```

‎versioned_docs/version-1.5.X/resources/beginner/querying-network.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ casper-client query-global-state \
9292
```bash
9393
casper-client query-global-state -v \
9494
--id 4 \
95-
--node-address https://rpc.testnet.casperlabs.io/ \
95+
--node-address https://node.testnet.casper.network \
9696
--state-root-hash a306a9cf869e52fe9eacdc28aade94215112cc04b6737b3669c35568a47a7dc2 \
9797
--key 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
9898
```
@@ -219,7 +219,7 @@ The `-v` option generates verbose output, printing the RPC request and response
219219
```bash
220220
casper-client query-balance -v \
221221
--id 6 \
222-
--node-address https://rpc.testnet.casperlabs.io/ \
222+
--node-address https://node.testnet.casper.network \
223223
--state-root-hash a306a9cf869e52fe9eacdc28aade94215112cc04b6737b3669c35568a47a7dc2 \
224224
--purse-identifier 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
225225
```

‎versioned_docs/version-1.5.X/resources/tokens/cep78/using-casper-client/interacting-with-NFTs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ To check an account's balance, get the latest state root hash and query the `bal
271271
<summary><b>Casper client commands without comments</b></summary>
272272
273273
```bash
274-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
274+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
275275
276276
casper-client get-dictionary-item -n http://localhost:11101/rpc/ \
277277
--state-root-hash f22e8ecfb3d2700d5f902c83da456c32f130b73d0d35037fe89b2d4b4933673f \

‎versioned_docs/version-2.0.0/concepts/glossary/A.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ An Account is a structure that represents a user on a Casper network. Informatio
1212

1313
## Account Hash {#account-hash}
1414

15-
The account hash is a 32-byte hash of the public key representing the user account. Information on generating an account hash can be found [here](https://support.casperlabs.io/hc/en-gb/articles/13781616975131-How-do-I-generate-an-account-hash-).
15+
The account hash is a 32-byte hash of the public key representing the user account. This can be generated with the casper-client-rs tool.
1616

1717
## Addressable Entity {#addressable-entity}
1818

‎versioned_docs/version-2.0.0/developers/cli/transfers/direct-token-transfer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Save the returned _deploy_hash_ from the output to query information about the t
6161
casper-client transfer -v \
6262
--id 3 \
6363
--transfer-id 11102023 \
64-
--node-address https://rpc.testnet.casperlabs.io/ \
64+
--node-address https://node.testnet.casper.network \
6565
--amount 5000000000 \
6666
--secret-key ~/KEYS/secret_key.pem \
6767
--chain-name casper-test \
@@ -188,7 +188,7 @@ Transfer addresses use a `transfer-` string prefix.
188188

189189
```bash
190190
casper-client get-deploy \
191-
--node-address https://rpc.testnet.casperlabs.io
191+
--node-address https://node.testnet.casper.network
192192
1f17a0bdeaaf71abd03492c854cdf97f746432751721ce555e95b9cefe641e3c
193193
```
194194

‎versioned_docs/version-2.0.0/developers/cli/transfers/multisig-deploy-transfer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,12 @@ Towards the end of the following output, you can observe that there is an **appr
247247

248248
### Sending the deploy {#sending-the-transaction}
249249

250-
The next step is to send the deploy for processing on the network. As described in the [Prerequisites](#prerequisites) section, you need to get an active node address from the corresponding network to complete this task. The following example uses the node `https://rpc.testnet.casperlabs.io/` from the Testnet.
250+
The next step is to send the deploy for processing on the network. As described in the [Prerequisites](#prerequisites) section, you need to get an active node address from the corresponding network to complete this task. The following example uses the node `https://node.testnet.casper.network` from the Testnet.
251251

252252
```bash
253253
casper-client send-deploy \
254254
--input transfer2.deploy \
255-
--node-address https://rpc.testnet.casperlabs.io/
255+
--node-address https://node.testnet.casper.network
256256
```
257257

258258
| Parameter | Description |

‎versioned_docs/version-2.0.0/developers/cli/transfers/verify-transfer.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ casper-client get-state-root-hash --node-address [NODE_SERVER_ADDRESS]
1919
**Example Query:**
2020

2121
```bash
22-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io
22+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
2323
```
2424

2525
<details>
@@ -85,7 +85,7 @@ The `-v` option generates verbose output, printing the RPC request and response
8585
```bash
8686
casper-client query-global-state -v \
8787
--id 3 \
88-
--node-address https://rpc.testnet.casperlabs.io/ \
88+
--node-address https://node.testnet.casper.network \
8989
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
9090
--key transfer-ab3e11fd612ccf9ddf5ddb3e5c0b3d3b5e5c0921fd1b45e8c657a63f01d6adcb
9191
```
@@ -168,7 +168,7 @@ casper-client query-global-state \
168168
```bash
169169
casper-client query-global-state -v \
170170
--id 4 \
171-
--node-address https://rpc.testnet.casperlabs.io/ \
171+
--node-address https://node.testnet.casper.network \
172172
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
173173
--key 0154d828baafa6858b92919c4d78f26747430dcbecb9aa03e8b44077dc6266cabf
174174
```
@@ -233,7 +233,7 @@ Repeat the same step to query information about the _Target_ account:
233233
```bash
234234
casper-client query-global-state -v \
235235
--id 5 \
236-
--node-address https://rpc.testnet.casperlabs.io/ \
236+
--node-address https://node.testnet.casper.network \
237237
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
238238
--key 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
239239
```
@@ -315,7 +315,7 @@ casper-client query-balance \
315315

316316
```bash
317317
casper-client query-balance -v --id 6 \
318-
--node-address https://rpc.testnet.casperlabs.io/ \
318+
--node-address https://node.testnet.casper.network \
319319
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
320320
--purse-identifier account-hash-e70dbca48c2d31bc2d754e51860ceaa8a1a49dc627b20320b0ecee1b6d9ce655
321321
```
@@ -370,7 +370,7 @@ casper-client get-balance \
370370

371371
```bash
372372
casper-client query-balance -v --id 7 \
373-
--node-address https://rpc.testnet.casperlabs.io/ \
373+
--node-address https://node.testnet.casper.network \
374374
--state-root-hash fdb1474d441ec0fcbf2e088f1630dbf98d3bcf7f7a7fe298303797f35b8cb4e1 \
375375
--purse-identifier account-hash-1ed5a1c39bea93c105f2d22c965a84b205b36734a377d05dbb103b6bfaa595a7
376376
```

‎versioned_docs/version-2.0.0/operators/maintenance/archiving-and-restoring.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This documentation describes processes for the compression and decompression of
1010

1111
:::note
1212

13-
The values presented in this document assume that the `trie-compact` tool was run on a Mainnet database for compression. Contact the [support team](https://support.casperlabs.io/hc/en-gb) if you have questions.
13+
The values presented in this document assume that the `trie-compact` tool was run on a Mainnet database for compression.
1414

1515
:::
1616

‎versioned_docs/version-2.0.0/operators/setup-network/create-private.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Use the below guides to set up and manage validator nodes.
4242
- [Set up Mainnet and Testnet validator nodes](https://docs.cspr.community/): A set of guides for Mainnet and Testnet node-operators on setting up and configuring their Casper network validator nodes.
4343

4444
Use these FAQ collections for tips and details for validators.
45-
- [FAQs for a basic validator node ](https://support.casperlabs.io/hc/en-gb/sections/6960448246683-Node-Operation-FAQ)
4645
- [External FAQs on Mainnet and Testnet validator node setup](https://docs.cspr.community/docs/faq-validator.html)
4746

4847
## Step 2. Setting up the Directory

‎versioned_docs/version-2.0.0/operators/setup-network/staging-files-for-new-network.md

+1-11
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,7 @@ We can look at this manually on Mainnet using *curl*. As of writing this, `1.4.
4747

4848
```bash
4949

50-
$ curl -s genesis.casperlabs.io/casper/protocol_versions
51-
1_0_0
52-
1_1_0
53-
1_1_2
54-
1_2_0
55-
1_2_1
56-
1_3_2
57-
1_3_4
58-
1_4_1
59-
1_4_3
60-
1_4_4
50+
$ curl -s genesis.casper.network/casper/protocol_versions
6151
1_4_5
6252
1_4_6
6353

‎versioned_docs/version-2.0.0/operators/setup/basic-node-configuration.md

+13-61
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A node is usually run by executing the `casper-node-launcher`, which executes th
1212

1313
The `casper-node-launcher` can be installed via a Debian package, which also creates the `casper` user and directory structures and sets up a `systemd` unit and logging.
1414

15-
The `casper-node-launcher` Debian package can be obtained from https://repo.casperlabs.io. You only need to run the steps detailed there once.
15+
The `casper-node-launcher` Debian package can be obtained from https://repo.casper.network. You only need to run the steps detailed there once.
1616

1717
Then, proceed to install the `casper-node-launcher` by running these commands:
1818

@@ -50,9 +50,6 @@ The default location for executables from the Debian package install is `/usr/bi
5050

5151
This is the default location for configuration files. It can be overwritten with the `CASPER_CONFIG_DIR` environment variable. The paths in this document assume the default configuration file location of `/etc/casper`. The data is organized as follows:
5252

53-
- `delete_local_db.sh` - Removes `*.lmdb*` files from `/var/lib/casper/casper-node`
54-
- `pull_casper_node_version.sh` - Pulls `bin.tar.gz` and `config.tar.gz` from [genesis.casperlabs.io](https://genesis.casperlabs.io/) for a specified protocol version and extracts them into `/var/lib/bin/<protocol_version>` and `/etc/casper/<protocol_version>`
55-
- `config_from_example.sh` - Gets external IP to replace and create the `config.toml` from `config-example.toml`
5653
- `node_util.py` - A script that will be replacing other scripts and is the preferred method of performing the actions of `pull_casper_node_version.sh`, `config_from_example.sh`, and `delete_local_db.sh`. Other scripts will be deprecated in future releases of `casper-node-launcher`.
5754
- `casper-node-launcher-state.toml` - The local state for the `casper-node-launcher` which is created during the first run
5855
- `validator_keys/` - The default folder for node keys, containing:
@@ -98,15 +95,16 @@ sudo -u casper /etc/casper/node_util.py stage_protocols <NETWORK_CONFIG>
9895

9996
For `<NETWORK_CONFIG>`, we use `casper.conf` for Mainnet and `casper-test.conf` for Testnet. This will install all currently released protocols in one step.
10097

101-
This command will do the following:
102-
- Create `/var/lib/casper/bin/1_0_2/` and expand the `bin.tar.gz` containing at a minimum `casper-node`
103-
- Create `/etc/casper/1_0_2/` and expand the `config.tar.gz` containing `chainspec.toml`, `config-example.toml`, and possibly `accounts.csv` and other files
104-
- Remove the archive files and run `/etc/casper/config_from_example.sh 1_0_2` to create a `config.toml` from the `config-example.toml`
98+
This command will do the following for each protocol not installed with `1_5_8` as example here:
99+
- Create `/var/lib/casper/bin/1_5_8/` and expand the `bin.tar.gz` containing at a minimum `casper-node`
100+
- Create `/etc/casper/1_5_8/` and expand the `config.tar.gz` containing `chainspec.toml`, `config-example.toml`, and possibly `accounts.csv` and other files
101+
- Remove the archive files
102+
- Run the equivalent of `/etc/casper/node_util.py config_from_example 1_5_8` to create a `config.toml` from the `config-example.toml`
105103

106104
Release versions are invoked using the underscore format, such as:
107105

108106
```bash
109-
sudo -u casper /etc/casper/pull_casper_node_version.sh 1_0_2
107+
sudo -u casper /etc/casper/pull_casper_node_version.sh 1_5_8
110108
```
111109

112110
## The Node Configuration File {#config-file}
@@ -126,11 +124,7 @@ When joining the network, the system will start from the hash of a recent block
126124
- Obtain the hash of a block from the status endpoint
127125
- Update the `config.toml` for the node to include the trusted hash. There is a field dedicated to this near the top of the file
128126

129-
Here is an example command for obtaining a trusted hash. Replace the node address with an updated address from a node on the network.
130-
131-
```bash
132-
sudo sed -i "/trusted_hash =/c\trusted_hash = '$(casper-client get-block --node-address http://3.14.161.135:7777 -b 20 | jq -r .result.block.hash | tr -d '\n')'" /etc/casper/1_0_0/config.toml
133-
```
127+
This page has an example of using [sed to automatically update the trusted hash](https://docs.casper.network/operators/setup/install-node#getting-a-trusted-hash)
134128

135129
### Known Addresses {#known-addresses}
136130

@@ -156,58 +150,16 @@ Provide the path to the secret keys for the node. This path is set to `etc/caspe
156150

157151
### Networking and Gossiping {#networking--gossiping}
158152

159-
The node requires a publicly accessible IP address. The `config_from_example.sh` and `node_util.py` both allow IP for network address translation (NAT) setup. Specify the public IP address of the node. If you use the `config_from_example.sh` external services are called to find your IP and this is inserted into the `config.toml` created.
153+
The node requires a publicly accessible IP address. `node_util.py` allows IP for network address translation (NAT) setup.
154+
Specify the public IP address of the node with the `/etc/casper/node_util.py stage_protocols [config file] --ip 'my.ip.goes.here'`.
155+
This will use the IP given rather than query for the external IP automatically.
156+
160157

161158
The following default values are specified in the file if you want to change them:
162159

163160
- The port that will be used for status and transactions
164161
- The port used for networking
165-
- Known_addresses - these are the bootstrap nodes (there is no need to change these)
166-
167-
### Enabling Speculative Execution
168-
169-
The `speculative_exec` endpoint provides a method to execute a transaction without committing its execution effects to global state. This can be used by developers to roughly estimate the gas costs of sending the transaction in question. By default, `speculative_exec` is disabled on a node.
170-
171-
`speculative_exec` can be enabled within *config.toml* by changing `enable_server` to `true` under the configuration options for the speculative execution JSON-RPC HTTP server.
172-
173-
Node operators may also change the incoming request port for speculative execution, which defaults to `7778`. Further, you can choose to alter the `qps_limit` and `max_body_bytes`, which limit the amount and size of requests to the speculative execution server.
174-
175-
#### Example Config.toml configuration with speculative execution enabled
176-
177-
```
178-
# ========================================================================
179-
# Configuration options for the speculative execution JSON-RPC HTTP server
180-
# ========================================================================
181-
[speculative_exec_server]
182-
183-
# Flag which enables the speculative execution JSON-RPC HTTP server.
184-
enable_server = true
185-
186-
# Listening address for speculative execution JSON-RPC HTTP server. If the port
187-
# is set to 0, a random port will be used.
188-
#
189-
# If the specified port cannot be bound to, a random port will be tried instead.
190-
# If binding fails, the speculative execution JSON-RPC HTTP server will not run,
191-
# but the node will be otherwise unaffected.
192-
#
193-
# The actual bound address will be reported via a log line if logging is enabled.
194-
address = '0.0.0.0:7778'
195-
196-
# The global max rate of requests (per second) before they are limited.
197-
# Request will be delayed to the next 1 second bucket once limited.
198-
qps_limit = 1
199-
200-
# Maximum number of bytes to accept in a single request body.
201-
max_body_bytes = 2_621_440
202-
203-
# Specifies which origin will be reported as allowed by speculative execution server.
204-
#
205-
# If left empty, CORS will be disabled.
206-
# If set to '*', any origin is allowed.
207-
# Otherwise, only a specified origin is allowed. The given string must conform to the [origin scheme](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin).
208-
cors_origin = ''
209-
210-
```
162+
- Known_addresses - these are the bootstrap nodes you will build peers from
211163

212164
## Rust Client Installation {#client-installation}
213165

‎versioned_docs/version-2.0.0/operators/setup/install-node.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Of these `35000` is the only port required to be open for your node to function,
2020
## Operating System Requirements
2121
The recommended OS version is Ubuntu 20.04.
2222

23-
### Using Ubuntu 22.04
23+
### Using Ubuntu 22.04 or 24.04
2424

25-
Installing using Ubuntu 22.04 follows the same instructions as 20.04 with one exception:
25+
Installing using Ubuntu 22.04 or 24.04 follows the same instructions as 20.04 with one exception:
2626

2727
If you try to install packages, you will receive:
2828

@@ -33,8 +33,8 @@ casper-client : Depends: libssl1.1 (>= 1.1.0) but it is not installable
3333
This message is due to the default `openssl` moving to 3.* with Ubuntu 22.04. You need to install OpenSSL 1.* for prior versions of Ubuntu to use the Casper binaries with the following command:
3434

3535
```
36-
curl -f -JLO http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
37-
sudo apt install ./libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
36+
curl -f -JLO http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_amd64.deb
37+
sudo apt install ./openssl_1.1.1f-1ubuntu2_amd64.deb
3838
```
3939

4040
## Required Number of Open Files
@@ -46,25 +46,27 @@ Before beginning, [update the maximum open files limit](./open-files.md) for you
4646
If you were running a previous node on this box, this will clean up state. If packages are not installed, the `apt remove` may give errors, but this is not a problem.
4747

4848
```bash
49-
sudo systemctl stop casper-node-launcher.service
49+
sudo /etc/casper/node_util.py stop
5050
sudo apt remove -y casper-client
5151
sudo apt remove -y casper-node
5252
sudo apt remove -y casper-node-launcher
5353
sudo rm /etc/casper/casper-node-launcher-state.toml
5454
sudo rm -rf /etc/casper/1_*
55+
sudo rm -rf /etc/casper/2_*
5556
sudo rm -rf /var/lib/casper/*
5657
```
5758

5859
## Required Packages
5960

60-
The following commands will set up the Casper Labs repository for packages:
61+
The following commands will set up the Casper repository for packages:
6162

6263
```bash
63-
echo "deb [arch=amd64] https://repo.casperlabs.io/releases focal main" | sudo tee -a /etc/apt/sources.list.d/casper.list
64-
curl -O https://repo.casperlabs.io/casper-repo-pubkey.asc
65-
sudo apt-key add casper-repo-pubkey.asc
64+
sudo mkdir -m 0755 -p /etc/apt/keyrings/
65+
sudo curl https://repo.casper.network/casper-repo-pubkey.gpg --output /etc/apt/keyrings/casper-repo-pubkey.gpg
66+
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/casper-repo-pubkey.gpg] https://repo.casper.network/releases focal main" | sudo tee -a /etc/apt/sources.list.d/casper.list
6667
sudo apt update
6768
```
69+
We are creating /etc/apt/keyrings if needed, so we don't have the issue with this key being trusted by all APT requests if stored in /etc/apt/trusted.gpg.d.
6870

6971
## Required Tools
7072

@@ -127,25 +129,25 @@ NODE_ADDR can be set to an IP of a trusted node, or to Casper Labs' public nodes
127129

128130
You can find active peers at https://cspr.live/tools/peers or use the following Casper Labs public nodes:
129131

130-
* Testnet - NODE_ADDR=https://rpc.testnet.casperlabs.io
132+
* Testnet - NODE_ADDR=https://node.testnet.casper.network
131133

132-
* Mainnet - NODE_ADDR=https://rpc.mainnet.casperlabs.io
134+
* Mainnet - NODE_ADDR=https://node.mainnet.casper.network
133135

134136
### Protocol Version
135137

136-
Protocol version should be set to the largest available protocol version you see in `ls /etc/casper`. As of writing this, it was 1_5_2:
138+
Protocol version should be set to the largest available protocol version you see in `ls /etc/casper`. As of writing this, it was 1_5_8:
137139

138140
```bash
139-
PROTOCOL=1_5_2
141+
PROTOCOL=1_5_8
140142
```
141143

142144
### Load `trusted_hash` in Config.toml of the Protocol Version
143145

144146
The following command uses the previously established NODE_ADDR and PROTOCOL to load the `trusted_hash`:
145147

146148
```bash
147-
NODE_ADDR=https://rpc.mainnet.casperlabs.io
148-
PROTOCOL=1_5_2
149+
NODE_ADDR=https://node.mainnet.casper.network
150+
PROTOCOL=1_5_8
149151
sudo sed -i "/trusted_hash =/c\trusted_hash = '$(casper-client get-block --node-address $NODE_ADDR | jq -r .result.block.hash | tr -d '\n')'" /etc/casper/$PROTOCOL/config.toml
150152
```
151153

‎versioned_docs/version-2.0.0/resources/advanced/multi-sig/multi-sig-workflow.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ casper-client account-address --public-key <INSERT_PUBLIC_KEY_HEX>
7878
Update the weight of the primary key to 3 by calling the `update_associated_keys.wasm`.
7979

8080
```bash
81-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
81+
casper-client put-deploy --node-address https://node.testnet.casper.network \
8282
--chain-name "casper-test" \
8383
--payment-amount 500000000 \
8484
--secret-key $PATH/secret_key.pem \
@@ -90,16 +90,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
9090
Verify that the deploy ran successfully.
9191

9292
```bash
93-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
93+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
9494
```
9595

9696
Retrieve the latest state root hash and check the primary account details.
9797

9898
```bash
99-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
99+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
100100

101101
casper-client query-global-state \
102-
--node-address https://rpc.testnet.casperlabs.io/ \
102+
--node-address https://node.testnet.casper.network \
103103
--state-root-hash <STATE_ROOT_HASH> \
104104
--key account-hash-<PRIMARY_ACCOUNT_HASH>
105105
```
@@ -143,7 +143,7 @@ Set up a multi-signature scheme for the account by updating the `deployment` and
143143

144144
```bash
145145
casper-client put-deploy \
146-
--node-address https://rpc.testnet.casperlabs.io \
146+
--node-address https://node.testnet.casper.network \
147147
--chain-name casper-test \
148148
--payment-amount 500000000 \
149149
--secret-key $PATH/secret_key.pem \
@@ -155,16 +155,16 @@ casper-client put-deploy \
155155
Verify that the deploy ran successfully.
156156

157157
```bash
158-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
158+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
159159
```
160160

161161
Retrieve the latest state root hash and check the primary account details.
162162

163163
```bash
164-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
164+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
165165

166166
casper-client query-global-state \
167-
--node-address https://rpc.testnet.casperlabs.io/ \
167+
--node-address https://node.testnet.casper.network \
168168
--state-root-hash <STATE_ROOT_HASH> \
169169
--key account-hash-<PRIMARY_ACCOUNT_HASH>
170170
```
@@ -217,7 +217,7 @@ The table below summarizes the updates.
217217
To add an associated key to the primary account, use the `add_account.wasm` provided. This example adds two keys to the primary account (`account-hash-d89c*`): `user_1` with `account-hash-e2d0*`, and `user_2` with `account-hash-04a9*`.
218218

219219
```bash
220-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
220+
casper-client put-deploy --node-address https://node.testnet.casper.network \
221221
--chain-name "casper-test" \
222222
--payment-amount 500000000 \
223223
--secret-key $PATH/secret_key.pem \
@@ -229,11 +229,11 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
229229
Verify that the deploy ran successfully.
230230

231231
```bash
232-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
232+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
233233
```
234234

235235
```bash
236-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
236+
casper-client put-deploy --node-address https://node.testnet.casper.network \
237237
--chain-name "casper-test" \
238238
--payment-amount 500000000 \
239239
--secret-key $PATH/secret_key.pem \
@@ -245,16 +245,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
245245
Verify that the deploy ran successfully.
246246

247247
```bash
248-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
248+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
249249
```
250250

251251
Retrieve the latest state root hash and check the primary account details.
252252

253253
```bash
254-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
254+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
255255

256256
casper-client query-global-state \
257-
--node-address https://rpc.testnet.casperlabs.io/ \
257+
--node-address https://node.testnet.casper.network \
258258
--state-root-hash <STATE_ROOT_HASH> \
259259
--key account-hash-<PRIMARY_ACCOUNT_HASH>
260260
```
@@ -325,16 +325,16 @@ casper-client put-deploy --chain-name casper-test \
325325
Verify that the deploy ran successfully.
326326

327327
```bash
328-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
328+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
329329
```
330330

331331
Retrieve the latest state root hash and check the primary account details.
332332

333333
```bash
334-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
334+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
335335

336336
casper-client query-global-state \
337-
--node-address https://rpc.testnet.casperlabs.io/ \
337+
--node-address https://node.testnet.casper.network \
338338
--state-root-hash <STATE_ROOT_HASH> \
339339
--key account-hash-<PRIMARY_ACCOUNT_HASH>
340340
```
@@ -384,22 +384,22 @@ casper-client sign-deploy -i hello_world_one_signature -k $PATH/user_2_secret_ke
384384
The deploy can be sent to the network using the `send-deploy` command:
385385

386386
```bash
387-
casper-client send-deploy --node-address https://rpc.testnet.casperlabs.io -i hello_world_two_signatures
387+
casper-client send-deploy --node-address https://node.testnet.casper.network -i hello_world_two_signatures
388388
```
389389

390390
Verify that the deploy ran successfully.
391391

392392
```bash
393-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
393+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
394394
```
395395

396396
Retrieve the latest state root hash and check the primary account details.
397397

398398
```bash
399-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
399+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
400400

401401
casper-client query-global-state \
402-
--node-address https://rpc.testnet.casperlabs.io/ \
402+
--node-address https://node.testnet.casper.network \
403403
--state-root-hash <STATE_ROOT_HASH> \
404404
--key account-hash-<PRIMARY_ACCOUNT_HASH>
405405
```
@@ -421,7 +421,7 @@ Before removing a key, ensure the remaining associated keys can combine their we
421421
Given the current setup, the primary account will add an associated key, and then remove it. In other use cases, associated keys may need to combine their signatures to send a multi-sig deploy that removes a key.
422422

423423
```bash
424-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
424+
casper-client put-deploy --node-address https://node.testnet.casper.network \
425425
--chain-name "casper-test" \
426426
--payment-amount 500000000 \
427427
--secret-key $PATH/secret_key.pem \
@@ -433,16 +433,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
433433
Verify that the deploy ran successfully.
434434

435435
```bash
436-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
436+
casper-client get-deploy --node-address https://node.testnet.casper.network <DEPLOY_HASH>
437437
```
438438

439439
Retrieve the latest state root hash and check the primary account details.
440440

441441
```bash
442-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
442+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network
443443

444444
casper-client query-global-state \
445-
--node-address https://rpc.testnet.casperlabs.io/ \
445+
--node-address https://node.testnet.casper.network \
446446
--state-root-hash <STATE_ROOT_HASH> \
447447
--key account-hash-<PRIMARY_ACCOUNT_HASH>
448448
```
@@ -496,7 +496,7 @@ The table below summarizes the updates after calling the `add_account.wasm`.
496496
The `remove_account.wasm` will remove the newly added account to demonstrate the possibility of removing associated keys that may have been compromised.
497497

498498
```bash
499-
casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
499+
casper-client put-deploy --node-address https://node.testnet.casper.network \
500500
--chain-name "casper-test" \
501501
--payment-amount 500000000 \
502502
--secret-key $PATH/secret_key.pem \
@@ -507,16 +507,16 @@ casper-client put-deploy --node-address https://rpc.testnet.casperlabs.io/ \
507507
Verify that the deploy ran successfully.
508508

509509
```bash
510-
casper-client get-deploy --node-address https://rpc.testnet.casperlabs.io/ <DEPLOY_HASH>
510+
casper-client get-deploy --node-address https://node.testnet.casper.network/ <DEPLOY_HASH>
511511
```
512512

513513
Retrieve the latest state root hash and check the primary account details.
514514

515515
```bash
516-
casper-client get-state-root-hash --node-address https://rpc.testnet.casperlabs.io/
516+
casper-client get-state-root-hash --node-address https://node.testnet.casper.network/
517517

518518
casper-client query-global-state \
519-
--node-address https://rpc.testnet.casperlabs.io/ \
519+
--node-address https://node.testnet.casper.network/ \
520520
--state-root-hash <STATE_ROOT_HASH> \
521521
--key account-hash-<PRIMARY_ACCOUNT_HASH>
522522
```

‎versioned_docs/version-2.0.0/resources/advanced/storage-workflow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Both the [`put_key`](https://docs.rs/casper-contract/latest/casper_contract/cont
1818

1919
### `storage::write` / `storage::read`
2020

21-
[`storage::write`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.write.html) writes a given value to a previously established URef (created using [`storage::new_uref`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.new_uref.html)). Unlike `put_key`, this value is not one of the `Key` types listed above, but rather any of the potential [`CLType`](https://docs.casperlabs.io/developers/json-rpc/types_cl/#cltype)s as outlined. [`storage::read`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.read.html) provides a method to retrieve these values from the associated URef.
21+
[`storage::write`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.write.html) writes a given value to a previously established URef (created using [`storage::new_uref`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.new_uref.html)). Unlike `put_key`, this value is not one of the `Key` types listed above, but rather any of the potential [`CLType`](https://docs.casper.network/developers/json-rpc/types_cl)s as outlined. [`storage::read`](https://docs.rs/casper-contract/latest/casper_contract/contract_api/storage/fn.read.html) provides a method to retrieve these values from the associated URef.
2222

2323
### `storage:dictionary_put` / `storage::dictionary_get`
2424

‎versioned_docs/version-2.0.0/resources/beginner/querying-network.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ casper-client query-global-state \
9292
```bash
9393
casper-client query-global-state -v \
9494
--id 4 \
95-
--node-address https://rpc.testnet.casperlabs.io/ \
95+
--node-address https://node.testnet.casper.network \
9696
--state-root-hash a306a9cf869e52fe9eacdc28aade94215112cc04b6737b3669c35568a47a7dc2 \
9797
--key 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
9898
```
@@ -219,7 +219,7 @@ The `-v` option generates verbose output, printing the RPC request and response
219219
```bash
220220
casper-client query-balance -v \
221221
--id 6 \
222-
--node-address https://rpc.testnet.casperlabs.io/ \
222+
--node-address https://node.testnet.casper.network \
223223
--state-root-hash a306a9cf869e52fe9eacdc28aade94215112cc04b6737b3669c35568a47a7dc2 \
224224
--purse-identifier 01360af61b50cdcb7b92cffe2c99315d413d34ef77fadee0c105cc4f1d4120f986
225225
```

0 commit comments

Comments
 (0)
Please sign in to comment.