add isProduction, ensure that wallet is either prod or test