I am creating an instance of singer by passing the pvkey and provider, but after creating the instance of the contract i am not able to interact with it.
const signer = new ethers.Wallet(pvKey,apiKey);
const erc20_rw = new ethers.Contract(address, abi, signer);
// getting the name of contract
let name = await erc20_rw.name()
console.log("name of contract ", name);