Truffle – How to Get the Contract JSON Interface?

contract-developmentjson-rpctruffle

I'm developing smart contracts using Truffle. I got the contract's bytecode through truffle compile. This produced a large json file and it wasn't too ahrd to find the bytecode. Now, how can I find the Contract JSON Interface for easy testing of the contract, especially those that import from multiple files and so on?

Best Answer

Look for the object called abi: {}. It might be huge.

Related Topic