get contract abi code example
Example: how to get abi from contract address
const fs = require('fs');const contract = JSON.parse(fs.readFileSync('./build/contracts/ExampleSmartContract.json', 'utf8'));console.log(JSON.stringify(contract.abi));
const fs = require('fs');const contract = JSON.parse(fs.readFileSync('./build/contracts/ExampleSmartContract.json', 'utf8'));console.log(JSON.stringify(contract.abi));