Register a chain into agoricNames

  • Parameters

    • agoricNamesAdmin: ERef<NameAdmin>
    • name: string
    • chainInfo: Readonly<{
          bech32Prefix?: string;
          chainId: string;
          connections?: Record<string, IBCConnectionInfo>;
          icqEnabled?: boolean;
          stakingTokens?: readonly {
              denom: string;
          }[];
      }>
    • Optionallog: ((...messages: string[]) => void) = ...
        • (...messages): void
        • Parameters

          • Rest...messages: string[]

          Returns void

    • OptionalhandledConnections: Set<string> = ...

      connection keys that need not be updated

    Returns Promise<void>