GithubHelp home page GithubHelp logo

Support for `--metadata` flag about solc-js HOT 4 OPEN

bguiz avatar bguiz commented on June 5, 2024 1
Support for `--metadata` flag

from solc-js.

Comments (4)

mehtavishwa30 avatar mehtavishwa30 commented on June 5, 2024

Hey @bguiz! Thanks for bringing this up.

Would love to understand the purpose or motivation behind using the solcjs wrapper script rather than native solc binary which provides all the options that you may required and aren't intended to make it in the wrapper script.

Please note that if you require options that aren't available in the wrapper script, we recommend you to use the native solc binary.

from solc-js.

bguiz avatar bguiz commented on June 5, 2024

@mehtavishwa30 (1) when using a build tool or framework that already has solcjs baked in. e.g. hardhat, remix, sourcify, etc. (2) for developers who are trialling or building POCs, and aren't that invested, npm i is easier than installing the solc binary.

Would love to understand the purpose or motivation behind using the solcjs wrapper script rather than native solc binary which provides all the options that you may required and aren't intended to make it in the wrapper script.

from solc-js.

nikola-matic avatar nikola-matic commented on June 5, 2024

@mehtavishwa30 (1) when using a build tool or framework that already has solcjs baked in. e.g. hardhat, remix, sourcify, etc. (2) for developers who are trialling or building POCs, and aren't that invested, npm i is easier than installing the solc binary.

Would love to understand the purpose or motivation behind using the solcjs wrapper script rather than native solc binary which provides all the options that you may required and aren't intended to make it in the wrapper script.

solcjs provides full access to the standard JSON interface, which means you can get metadata access via that, so I'm curious as to why you haven't gone for that approach?

from solc-js.

bguiz avatar bguiz commented on June 5, 2024

@nikola-matic this is great!

solcjs provides full access to the standard JSON interface,

it sounds like it should then be easier to implement the --metadata in the wrapper!

error: unknown option '--metadata'

from solc-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.