Maian Tool Repository on Docker: How to store contract retrieved from Etherscan and what is ‘test.sol’

Hi,

I trying to execute MAIAN tool from repository on docker. The link at :
GITHUB MAIAN
They provided details of how to execute the MAIAN tool from docker. I am in the MAIAN tool repository on docker.
They have first tried to access the contract from docker:

Retrieving a Smart contract using Etherscan

The name of the contract is KaratBankCoin. They have not told where to store the contract.

Later on they used the command:

python maian.py -c 2 --soliditycode test.sol KaratBankCoin

I am getting the error :

====================================================================================================
Compiling Solidity contract from the file test.sol … [-] Contract file test.sol does NOT exist
[-] Contract KaratBankCoin does NOT exist

Because I don’t know what is test.sol and I don’t know how and where to store the KaratBankCoin contract retrieved from mainnet.

They have not provided any details about test.sol and how to store KaratBantCoin because we are in the Maian tool’s repository.

Somebody please guide me.

Zulfi.

1 Like

Hi @zak100,

Welcome to the community :wave:

I haven’t used MAIAN tool. Unless someone in the community has used it, I think your comment in the MAIAN GitHub is the most likely place to get help.

Hi, Thanks a lot for your response.
Have you worked on truffle?

Zulfi.

1 Like

Hi @zak100,

I use Truffle, what is your question?

Hi,

Thanks a lot.

I would ask my question once I get any problem.

Zulfi.

1 Like