Am trying to execute the deposit-ERC20.js script
I intend to transfer a token from Ropsten to Matic testnet3.
I have created a custom upgradable token and deployed it at both the networks
Now when I execute the script I get
Error: Returned error: The method eth_sendTransaction does not exist/is not available .. @maticnetwork/maticjs/node_modules/web3-core-helpers/src/errors.js:29:16).
gives me “RangeError: private key length is invalid”
I have re-checked my private key and it is fine.
Some pointer will be helpful.
And I hope I can use my own erc token