eth-sri / ilf

AI based fuzzer based on imitation learning
Apache License 2.0
149 stars 32 forks source link

How do you generate/get truffle projects from open-source contracts to generate train-data #18

Closed ailen-wrx closed 1 year ago

ailen-wrx commented 2 years ago

Hi Jingxuan,

As introduced in README, ILF requires a complete truffle project to execute. Do you directly get the truffle projects from Etherscan or somewhere else, or you manually construct truffle projects from thousands of solidity code in a batch? Thanks for your patience.

Best,

Ruixin

LostBenjamin commented 1 year ago

Hi Ruixin,

Sorry for not replying on time.

We had a template Truffle project and used automatic scripts to construct Truffle projects from solidity code mined from Etherscan.

Best, Jingxuan

KaizynX commented 1 year ago

Hi Jingxuan,

I wonder if you have shared automatic scripts that can construct Truffle projects from solidity code. I would greatly appreciate it.

LostBenjamin commented 1 year ago

@KaizynX can you send me an email for that?

EgbertTtTt commented 1 year ago

@KaizynX can you send me an email for that?

Hello, could you please share the automation script with me again? I ran into the same difficulty when using your tool for batch smart contract detection. Thank you very much!

LostBenjamin commented 1 year ago

Closing this due to inactivity.

LostBenjamin commented 1 year ago

We have make the automation scripts publicly available in the repo, see here.