# View Change (VC) Configuration & Operations

To initiate and manage a View Change (VC) process on the network, follow these structured setup steps.&#x20;

Each step configures key parameters and actions required for VC operations.

### Setup Instructions

1\. Set Cost for VC Transaction

```bash
./zwallet mn-update-config --keys 'cost.vc_add' --values 361
```

2\. Enable View Change in Global Configs

```bash
./zwallet global-update-config --keys 'server_chain.view_change' --values true
```

3\. Configure VC Round Parameters

```bash
./zwallet mn-update-config --keys 'vc_rounds.start,vc_rounds.contribute,vc_rounds.share,vc_rounds.publish,vc_rounds.wait' --values 500,1000,500,1000,1000
```

4\. Set Minimum Miners and Sharders After VC

```bash
./zwallet mn-update-config --keys 'min_n,min_s' --values 87,26
```

5\. Delete Miner or Sharder

```bash
bashCopyEdit./zwallet mn-delete --id <miner_id>
./zwallet sh-delete --id <sharder_id>
```

### Add Miner or Sharder via VC

1. **Deploy Node**
   * Use latest code and latest snapshot.
   * Create a new wallet.
   * Fund wallet with initial balance.
   * Follow the official [miner/sharder registration guide](https://docs.zus.network/as-onboarding) to deploy the node.
2. **Run VC-Add Command**

   ```bash
   ./zwallet vc-add --id <node_id> --provider-type <miner|sharder>
   ```
3. **Wait for Node Addition to Chain**
   * Monitor chain and state.
   * Ensure successful inclusion.

### View Change Process: 5 Phases

<figure><img src="/files/PIeQ72VEe5rKDeUkERD0" alt="" width="375"><figcaption><p>View Change Process</p></figcaption></figure>

{% hint style="success" %}
**Notes**:

* View change only proceeds to the next phase when the current one completes successfully.
* Ensure the **chain is progressing** during the entire VC process.
* If the chain stalls, **do not disable VC**. Investigate and address the issue.
  {% endhint %}

### Key Smart Contract State URLs

| Key                      | URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AllMinersKey**         | <p><a href="https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9fbc5a5a4c8b694246b8bb16abf3d35d8e7a11189cc0d640a016847de96eb968a"><https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9fbc5a5a4c8b694246b8bb16abf3d35d8e7a11189cc0d6>.</a></p><p><a href="https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9fbc5a5a4c8b694246b8bb16abf3d35d8e7a11189cc0d640a016847de96eb968a">40a016847de96eb968a</a></p> |
| **AllShardersKey**       | [https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9b5e8a1650666fdd3a9de7855b6da63ab629b1701f23738477e2325f7ca2150ac](<	https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9b5e8a1650666fdd3a9de7855b6da63ab629b1701f23738477e2325f7ca2150ac>)                                                                                                                                                                                                                                  |
| **DKGMinersKey**         | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9bf25741b28a0c518614ee739b37932aa60f08e40673578ba2b51c83295313cc5>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **MinersMPKKey**         | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d91fabb2d33b18be1ada37d88b37c474e550063df79dfba436dd77ee60fad41736>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **MagicBlockKey**        | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9d2208fe938b7465b9c5dc571053986cf8dbf3585fb36399f98ea569c42f50b76>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **GlobalNodeKey**        | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d940d85a1f56c74d73247499f628de4475a6995bef32684e91c9df91329f3e9d52>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **GroupShareOrSignsKey** | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9e63babd408abff2f9622e20dc956f6f38f524866122321a3181d45b5508240ae>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **ShardersKeepKey**      | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d994de2ec37e29211c69557292cc78a7194bcd26c34304d9b4690e45d659cb3862>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **PhaseKey**             | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d982346bd0e627148993afac1457428c436840320acba5e996f8fae6ca9b3b54bd>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **DeleteMinersKey**      | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d97eedce10df401053add4456541c5aadcc7644c150078435810fa5990a20fae2e>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **DeleteShardersKey**    | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d9ec6aa81faf0ce0bbcdfbd76014433c9d12ae10552c64ae3b70dc3bcda8a204e7>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **RegisterMinersKey**    | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d95e6c409eac3d9b2ec0fc0294926c00d91323e9348d30f9a6a0c340272f2c03a4>                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **RegisterShardersKey**  | <https://sharder1.0chain.net/sharder01/v1/scstate/get?key=6dba10422e368813802877a85039d3985d96760ed844092319743fb3a76712d967e5fb97a908fdd92ffe340cb3e39c25194d4c633e7401908f175bea5b76314a>                                                                                                                                                                                                                                                                                                                                                                                                                                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zus.network/zus-docs/releases/view-change-vc-configuration-and-operations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
