I'm using this program to make an NFT https://github.com/PatrickAlphaC/nft-mix and I get this error when I run create_collectable.py
File "brownie/_cli/run.py", line 50, in main
return_value, frame = run(
File "brownie/project/scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File "./scripts/rizer_incept/create_incept.py", line 10, in main
fund_with_link(rizer_incept.address, "as_proxy_for")
File "./scripts/helpful_scripts.py", line 40, in fund_with_link
tx = interface.LinkTokenInterface(link_token).transfer(
File "brownie/network/contract.py", line 615, in __call__
return Contract.from_abi(self._name, address, self.abi, owner)
File "brownie/network/contract.py", line 929, in from_abi
address = _resolve_address(address)
File "brownie/network/web3.py", line 193, in _resolve_address
return to_address(domain)
File "brownie/convert/main.py", line 43, in to_address
return str(EthAddress(value))
File "brownie/convert/datatypes.py", line 204, in __new__
raise ValueError(f"'{value}' is not a valid ETH address") from None
ValueError: 'None' is not a valid ETH address
I think that the error has something to do with
tx = interface.LinkTokenInterface(link_token).transfer(
contract_address, amount, {"from": account}
)
aka line 40 in helpful_scripts.py
I think it has something to do with the fact that account=None. How should I set account to avoid this error?