Compiling Contracts
Zeus supports compiling EOSIO and EVM compatible contracts.
Let's first create a contract
This places an EOSIO contract in /contracts/eos
Now let's compile it.
If you want to use docker add --docker=true
. EOSIO (now leap) and eosio.cdt (now cdt) only supports Ubuntu 18, 22, 24, so Docker must be used for the latest versions
If you wanted to compile all contracts within the./contracts
directory, you can run
To compile an ETH contract run:
If you wish to add your own ethereum contract, you can place it in the ./contracts/eth
directory.
If you want to change the compiler version, or any truffle settings, see the ./truffle-config.js
file.
Last updated