Developers Forum for XinFin XDC Network

ram gawas
ram gawas

Posted on

flatten in xdc Remix it is not creating the flatten file

When right clicking on the contract, and selecting flatten in xdc Remix it is not creating the flatten file or showing the flatten pop-up. A bug in Remix or did they change something about how to flatten contracts with imports?

Discussion (4)

Collapse
jay_kulkarni_842b41d81b23 profile image
Jay_Blocksscan • Edited on

Hello @ram_gawas_721be0b970fbc4f

Thank you for reaching out to us on the XDC.dev platform. To address this concern, we recommend trying to useEthereum Remix.

For a detailed guide, Refer "Learn How to Flatten a Smart Contract and Verify on BlocksScan": medium.com/@tivan7404/learn-how-to...

Also, you can watch a video tutorial:youtube.com/watch?v=ify85kvG7CI

We hope this solution will be helpful to you, and please feel free to reach out if you need further assistance. Your feedback is valuable to us, and we strive to provide the best experience for our users.

Thank you for your understanding and support.

Collapse
ram_gawas_721be0b970fbc4f profile image
ram gawas Author

please check on remix-xdc. There is issue for flatten.

Collapse
jay_kulkarni_842b41d81b23 profile image
Jay_Blocksscan

Team is rectifying the issue, till that time use Ethereum remix to flatten your contract.

Thread Thread
ram_gawas_721be0b970fbc4f profile image
ram gawas Author

Its Working. Thanks