I am using newest web3 v1.2.4

const Contract = require('web3-eth-contract');
const contract = new Contract(CONTRACT_ABI, CONTRACT_ADDR);

I have that code and it is requesting mainnet network, so I can't interact with my contract.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.