# Function getDefaultNetContext

- getDefaultNetContext(
  overrides?: Partial< NetContext >,
  ): {
  authMode: AuthMode ;
  getExecutor: (relays: string[]) => Executor ;
  isDeleted: (url: string, event: TrustedEvent ) => boolean;
  isValid: (url: string, event: TrustedEvent ) => boolean;
  matchFilters: (
  url: string,
  filters: Filter [],
  event: TrustedEvent ,
  ) => boolean;
  onEvent: (url: string, event: TrustedEvent ) => void;
  optimizeSubscriptions: (subs: Subscription []) => RelaysAndFilters [];
  pool: Pool ;
  signEvent: (event: StampedEvent ) => Promise<any>;
  }

- #### Parameters

  - overrides: Partial< NetContext > = {}

  #### Returns {
  authMode: AuthMode ;
  getExecutor: (relays: string[]) => Executor ;
  isDeleted: (url: string, event: TrustedEvent ) => boolean;
  isValid: (url: string, event: TrustedEvent ) => boolean;
  matchFilters: (
  url: string,
  filters: Filter [],
  event: TrustedEvent ,
  ) => boolean;
  onEvent: (url: string, event: TrustedEvent ) => void;
  optimizeSubscriptions: (subs: Subscription []) => RelaysAndFilters [];
  pool: Pool ;
  signEvent: (event: StampedEvent ) => Promise<any>;
  }

  - Defined in packages/app/src/context.ts:20