Compiling Contracts
Zeus supports compiling EOSIO and EVM compatible contracts.
Let's first create a contract
zeus create contract compiler
This places an EOSIO contract in /contracts/eos
Now let's compile it.
zeus compile compiler # if using an old cdt --legacy-cdt
If you wanted to compile all contracts within the./contracts
directory, you can run
zeus compile
To compile an ETH contract run:
zeus compile link --phase eth
# to compile all
zeus compile --phase eth
If you wish to add your own ethereum contract, you can place it in the ./contracts/eth
directory.
Last updated
Was this helpful?