• Antonio Salazar Cardozo's avatar
    cmd/abigen: support for reading solc output from stdin (#16683) · 4cf2b411
    Antonio Salazar Cardozo authored
    Allow the --abi flag to be given - to indicate that it should read the
    ABI information from standard input. It expects to read the solc output
    with the --combined-json flag providing bin, abi, userdoc, devdoc, and
    metadata, and works very similarly to the internal invocation of solc,
    except it allows external invocation of solc.
    
    This facilitates integration with more complex solc invocations, such
    as invocations that require path remapping or --allow-paths tweaks.
    
    Simple usage example:
    
        solc --combined-json bin,abi,userdoc,devdoc,metadata *.sol | abigen --abi -
    4cf2b411
Name
Last commit
Last update
..
main.go Loading commit data...