0

How to add multiple smart contracts to remix? i have a project including several smart contracts such that they are inherited from each other. The question is how to add all of them to remix and then test each of them?

3
  • Question unclear. You want to import all the contracts in remix? Commented Mar 27, 2018 at 20:32
  • @Elisha Drion yes because there are several solidity files in a project such that some of them are inherited from another one
    – Questioner
    Commented Mar 27, 2018 at 20:47
  • Well, you can just import them with the folder icon at top-left. Commented Mar 27, 2018 at 20:53

1 Answer 1

1

You might find remixd interesting. It allows you to interact with your file system from Remix. So you will be able to access all your contract in remix.

From the tutorial:

Remixd can be globally installed using the following command: npm install -g remixd.

Then remixd -s <absolute-path-to-the-shared-folder> will start Remixd and share the given folder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.