title: How to get smart contract info? like code and ABI in a local ganache node
body: <p>I'm learning ethereum blockchain.</p>
  <p>I'm using web3.js with Ganache as a dev node  and I want to query the information of a smart contract (i have the address and i want to get the code and the ABI)</p>
  <p>I checked the documentation about <code>web3.eth.Contract</code> and found nothing ,</p>
  <p>Also knowing that a contract is a type of account  (like EOA). I tried using <code>web3.eth.accounts</code>, but didn't find a way to make it work
  Any suggestion? If not possible via Web3.js  please suggest a blockchain explorer for local nodes? Or should I use <code>Truffle</code>?</p>