AEproject
  • AEproject
  • doc
    • developer-documentation
      • AEproject CLI
        • aeproject export-config
        • Installing and Help
        • aeproject inspect
        • aeproject deploy
        • aeproject compile
        • aeproject test
        • aeproject compatibility
        • aeproject node
        • aeproject env
        • aeproject compiler
        • aeproject init
      • License
      • Migratе from 2.x.x to 3.x.x (after Iris hardfork)
      • Quick Start
  • .github
    • ISSUE_TEMPLATE
      • feature_request
      • bug_report
Powered by GitBook
On this page

Was this helpful?

  1. doc
  2. developer-documentation
  3. AEproject CLI

aeproject compile

Compile Sophia Contracts

aeproject compile

The compile command compiles Sophia Contracts with the .aes file extension. The default directory to be scanned for Sophia Contracts is $projectDir/contracts. The result of the compilation is the contract bytecode printed in the console. With the additional --path parameter you can specify the root-path of contracts to be compiled.

You can specify compiler using the --compiler parameter:

aeproject compile --compiler http://localhost:3080

The default project (generated via aeproject init) also contains an example how to include other contracts.

Previousaeproject deployNextaeproject test

Last updated 3 years ago

Was this helpful?