hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
313 stars 138 forks source link

Provide ability to more easily compile Solidity contracts #7456

Open lukelee-sl opened 1 year ago

lukelee-sl commented 1 year ago

Problem

There is a need to compile Solidity contracts and produce abi and binary files in order to run bdd tests that are related to smart contracts. There is currently a script called compile.sh that accomplishes this but this script can be somewhat cumbersome to use.

Solution

Provided a way to easily compile Solidity contracts into usable artifacts for bdd testing purposes during the build process. Possibly use a gradle plug-in in order to provide a gradle target in order to compile the Solidity contracts.

Alternatives

No response

mustafauzunn commented 3 months ago

This PR handles that