Forrest logo
back to context overview

solcjs

List of commands for solcjs:

  • solcjs:tldr:2f503 solcjs: Compile a specific contract to hex.
    $ solcjs --bin ${filename-sol}
    try on your machine
    explain this command
  • solcjs:tldr:830a8 solcjs: Specify a base path to resolve imports from.
    $ solcjs --bin --base-path ${path-to-directory} ${filename-sol}
    try on your machine
    explain this command
  • solcjs:tldr:98a25 solcjs: Specify one or more paths to include containing external code.
    $ solcjs --bin --include-path ${path-to-directory} ${filename-sol}
    try on your machine
    explain this command
  • solcjs:tldr:c6c07 solcjs: Compile the ABI of a specific contract.
    $ solcjs --abi ${filename-sol}
    try on your machine
    explain this command
  • solcjs:tldr:f95e7 solcjs: Optimise the generated bytecode.
    $ solcjs --bin --optimize ${filename-sol}
    try on your machine
    explain this command
back to context overview