Display a notification that a class is not found right after the class hash is supplied.
Currently class hash is supplied as a second parameter, then the process continues, only to find out that the class was not found.
A class is network-dependent. When the user provides the class hash, check if it exist for the given network (mainnet or Sepolia). If the class hash does not exist, throw an error "This class hash does not exist for the given network" and prompt the user to re-enter a class hash.
Example:
✔ Which network would you like to verify on : · Sepolia
✔ Input class hash to verify : · 0x062d131db7c7522e7a4347707423e218a95c8445c21a183a804b41fa4ed0899f
✔ Enter Class Contract Path : · .
✔ Select license you'd like to verify under : · NoLicense
✔ Enter your desired class name: · HelloStarknet
Is this an Account Class? no
Error: Class does not exist on the network
Display a notification that a class is not found right after the class hash is supplied. Currently class hash is supplied as a second parameter, then the process continues, only to find out that the class was not found.
A class is network-dependent. When the user provides the class hash, check if it exist for the given network (mainnet or Sepolia). If the class hash does not exist, throw an error "This class hash does not exist for the given network" and prompt the user to re-enter a class hash.
Example:
Originally posted by @amanusk in https://github.com/NethermindEth/starknet-contract-verifier/issues/35#issuecomment-2202936622