2

From the solidity docs on contract metadata:

You have to publish the metadata file to Swarm (or another service) so that others can access it. You create the file by using the solc --metadata command that generates a file called ContractName_meta.json.

When I use Truffle with an Infura api key, or Remix with MetaMask, does the node publish the contract metadata file on Swarm? Or, if I run my own geth or parity node, does it happen there?

1 Answer 1

1

At least in Remix, it seems the answer is no, they don't automatically deploy your contract on Swarm. You can do it manually via the button below.

Remix Screen Capture

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.