truflation / marketplace

MIT License
2 stars 3 forks source link

XDC Network integration #27

Open vrushalipanchal opened 2 months ago

vrushalipanchal commented 2 months ago

Hello Team,

We have cloned the "Marketplace" repository (https://github.com/truflation/marketplace) and made changes related to the XDC Apothem network. We are using Node 18.16.0.

When running the "yarn build" command, we encountered dependency errors:

WhatsApp Image 2024-06-26 at 4 20 47 PM

WhatsApp Image 2024-06-26 at 4 22 05 PM

We added these dependencies using the following commands:

After this, when we executed the "yarn test" command, we received the error "Command failed with exit code 1."

WhatsApp Image 2024-06-26 at 4 23 08 PM

Please look into this and let us know the next steps.

Additionally, could you please share any other network reference PR to add the XDC Network?

Thank you.

joequant commented 2 months ago

Try now. I put in changes that will have it compile cleanly on Ubuntu 22.04 with Node 20

Also for PR, I think that its a matter of just modifying the hardhat config file to include a new network chain id. Once that's hadded the hardhat can deploy the contracts to the new network.

joequant commented 1 month ago

added a document - https://github.com/truflation/marketplace/blob/941b937bb6142324b9bb6e79d1b638638f42c539/docs/new-blockchain-howto.md

Waiting to see if everything is working.

joequant commented 1 month ago

@vrushalipanchal I've created some changes that will let you pull data from truflation and set the blockchain. Look at the new-blockchain-howto.md document

Dev-Doggo commented 1 week ago

@joequant I'm not really the right person to handle this, I haven't deployed the marketplace stuff at all 🤷‍♂️