OCamlPro / freeton_wallet

The 'ft' tool is a multi-account terminal wallet for the Free TON blockchain. It is based on the freeton_ocaml_sdk.
https://ocamlpro.github.io/freeton_wallet
Other
14 stars 9 forks source link

Feature request: add support for solc --contract option #34

Closed ddeclerck closed 3 years ago

ddeclerck commented 3 years ago

It would be nice to add support for solc --contract option. This allows to set the "main" contract when a Solidity file contains several contracts.

lefessan commented 3 years ago

It's not automatically the last one that is supposed to be the one generated ?

ddeclerck commented 3 years ago

I'm not sure. Right now solc complains with the following error message : Error: Source file contains at least two deployable contracts. Consider adding the option --contract in compiler command line to select the desired contract.

lefessan commented 3 years ago

Done.