Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions docs/xdcchain/developers/xdposchain_privatenet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: Deploy Private Blockchain With XDC2.0 Consensus
---


# Deploy Private Blockchain With XDC2.0 Consensus

## Deploy With Wizard UI

1. Pull `start.sh` script from the generator Github repo and run. This will start a local webserver.
```
curl -O https://raw.githubusercontent.com/XinFinOrg/Subnet-Deployment/v2.1.0/container-manager/start_xdpos.sh
chmod +x start_xdpos.sh
./start_xdpos.sh
```

2. Go to [http://localhost:5210/](http://localhost:5210) in your browser.
<details>
<summary>If you are running this on a remote server.</summary>
<p>
- if this is running on your server, first use ssh tunnel: <code>ssh -N -L localhost:5210:localhost:5210 USERNAME@IP_ADDRESS -i SERVER_KEY_FILE</code>
<br>
- if you are using VSCode Remote Explorer, ssh tunnel will be available by default
</p>
</details>

3. Input your desired configuration.
![Config](../img/privatenet_configs.png)

4. Submit and continue in your terminal with the below command.
```
cd generated;
./docker-up.sh machine1;
```
![Success](../img/privatenet_generate_success.png)
5. Confirm the private blockchain is working correcly by running check scripts.
Copy link

Copilot AI Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a spelling error: 'correcly' should be 'correctly'.

Suggested change
5. Confirm the private blockchain is working correcly by running check scripts.
5. Confirm the private blockchain is working correctly by running check scripts.

Copilot uses AI. Check for mistakes.
```
./scripts/check-peer.sh
```
![Check Peer](../img/privatenet_check_peer.png)
```
./scripts/check-mining.sh
```
![Check Mining](../img/privatenet_check_mining.png)
Binary file added docs/xdcchain/img/privatenet_check_mining.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/xdcchain/img/privatenet_check_peer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/xdcchain/img/privatenet_configs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/xdcchain/img/privatenet_generate_success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ nav:
- Migrating from EVM to XDC: ./xdcchain/evmtoxdc.md
- Wallet Configuration: ./xdcchain/developers/wallet-configuration.md
- Get XDC Listed: ./xdcchain/developers/getxdclisted.md
- XDC2.0 Private Network: ./xdcchain/developers/xdposchain_privatenet.md

- Node Operators:
- Node Architecture: ./xdcchain/developers/node_operators/node_architecture.md
Expand Down