ConfigHelpers: {
    forEnvironment(
        env: "test" | "development" | "production",
    ): ShogunCoreConfig;
    forUseCase(
        useCase: "chat" | "social" | "gaming" | "finance",
    ): ShogunCoreConfig;
    withPeers(peers: string[]): ShogunCoreConfig;
} = ...

Helper functions for common configuration patterns

Type declaration

  • forEnvironment:function
    • Create a configuration for a specific environment

      Parameters

      • env: "test" | "development" | "production"

      Returns ShogunCoreConfig

  • forUseCase:function
    • Create a configuration for a specific use case

      Parameters

      • useCase: "chat" | "social" | "gaming" | "finance"

      Returns ShogunCoreConfig

  • withPeers:function