Developers Forum for XinFin XDC Network

Devnet
Devnet

Posted on • Updated on

[Solved] Subnet set up issues.

Hi, I sort of have this working using the available posts here, but I am stuck on the deploy contract part. When I run this script from commands.txt i get errors.

docker run --env-file common.env \
-v $(pwd)/../generated/:/app/config \
--network host \
--entrypoint './docker/deploy_proxy.sh' xinfinorg/csc:v0.1.1

Error: deploy to parentnet node failure , pls check the parentnet node status
at main (/app/scripts/proxy/ProxyGatewayDeploy.js:14:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

The UI displays in the browser but it is unable to communicate with the blockchain. The browser console log shows 500 error :3000/information/blocks. I assume this is due to the contract not being deployed.

Do I need to set up a mainnet master node to deploy a subnet?

I am also confused about where the subnet is deployed. Is it only on devnet or is it on testnet and mainnet too?

And where do I find the Grandmaster private address for wallet connection. It doesn't appear to be the address I used in docker.env.

Thank you.

Discussion (4)

Collapse
jay_kulkarni_842b41d81b23 profile image
Jay_Blocksscan

Hello @devnet,

It seems like you're encountering issues while setting up your subnet. To address your concerns:

For a detailed walkthrough on XDC subnet setup, i would suggest you to follow this article: XDC Subnet Setup: A Detailed Walkthrough. It should provide insights and solutions to your deployment issues.

Collapse
devnet profile image
Devnet Author

Hey Jay, I think maybe the issue is related to not having funds. When i go to the faucet here faucet.blocksscan.io/ and select devnet it produces undefined error. I think I am missing or not understanding something and I am really not sure where to go from here.

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hey @devnet
The faucet is working now pls try again .
Additionally, you can check out this helpful video guide for a smoother process: youtube.com/watch?v=VwfI4VTMUnY

Collapse
devnet profile image
Devnet Author

Hey Jay thanks for responding. That is the post I have been following. I am not sure what I am missing here. I will give it another clean start just in case gremlins have got in somewhere along the line.