1

I've been following the tutorial in ethereuembook. I created a contract called faucet.sol in the browser directory of Remix IDE. The contract compiled successfully. However, when trying to deploy (in both Javascript VM and injected web3 environment with metamask), I'm getting the following error,

creation of faucet errored: Please select the folder in the file explorer where the metadata of faucet can be found

Not able to figure out how can I generate this metadata and select the folder in file explorer.

enter image description here

1 Answer 1

1

You have to have the contract open in a tab.

  1. Click in "File Explorers" icon (see image below)

  2. Click in your contract to open in a tab

  3. Click in "Deploy & Run Transactions" icon

  4. Click in "Deploy" button

enter image description here

Your Answer

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

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