Comment on page

1. XDC IDE Environment Configuration

This section provides a detailed explanation of the environment configuration for XDC IDE, which is essential for developing and deploying applications on the XDC blockchain.

1. Create a new XDC Project

Visit ChainIDE and click the "Try Now" button on the front page as shown in the figure below.
Next, you will select your preferred login method. The login prompt offers two options: "Sign in with GitHub" and "Continue as Guest". For the purposes of this tutorial, we will select "Sign in with GitHub" because the Sandbox feature is not available in Guest mode.
After successfully logging in, you will be able to view all files and have the option to create new XDC chain projects.
To create a new XDC project, click the 'New Project' button and choose 'XDC' on the left side of the screen. Next, on the right side, select a project template that aligns with your requirements to create your XDC project.

2. Configure Wallet

The XDC IDE provides support for two wallets: Metamask and XDCPay 2.0. However, please note that Metamask and XDCPay 2.0 are not compatible. If both wallets are present, only Metamask will be activated.
If you do not have either Metamask or XDCPay 2.0 installed, the download links for each are provided below. Please install one of the wallets before continuing.

I. Metamask

The official download website for Metamask is:\

II. XDCPay 2.0

The official Chrome Web Store address for XDCPay 2.0 is:
After installing a wallet, please refresh the page.
Click on the "Connect Wallet" button in the top right corner of the screen and select "Injected Web3 Provider" to choose the wallet you would like to connect.
After connecting the wallet, Metamask users can follow the prompt in the bottom right corner of the screen to switch their wallet to the XDC Mainnet or Testnet networks.
XDCPay users must switch networks within their wallet to connect to their desired network.
Users can visit and enter their wallet address to claim test tokens. If you are using Metamask, you must replace the "0x" at the start of your address with "xdc". For example, if your address was 0x82825C3fa24116F6ED719dd1e820DBD952c4D237, you would enter xdc82825C3fa24116F6ED719dd1e820DBD952c4D237 in the "Enter your XDC address" field.