Contract version 1.2.0
When I compile the contract successfully, run the command line
/ cli / cli.ts - M < indexer mnemonic > - P“ https://rinkeby.infura.io/v3/ ” \
contracts graphToken approve --account 0x2d44C0e097F6cD0f514edAC633d82E01280B4A5c --amount “100000”
Error: could not detect network (event = “noetwork”, code = network_error, version = providers / 5.6.6), reason: ‘could not detect network’,
code: ‘NETWORK_ ERROR’,
event: ‘noNetwork’
I don’t know which piece is wrong.