- Do I have to implement web3.eth.Contract for my app wallet to achieve ERC20 tokens compatible ?
- If not, is there any other easy ways to implement this ?
What is the
SOME_ERC20_FILE.jsonfile as shown in code below (that is related to ABI) ? Where can I get an example of this JSON file ?
const fs = require('fs'); const parsedFile = JSON.parse(fs.readFileSync(SOME_ERC20_FILE.json)); const abi = parsedFile.abi; const myContract = new web3.eth.Contract(abi, 0x012345678912345678012345678012345678012);
Thank you in advance.