- registerChain(agoricNamesAdmin, name, chainInfo, log?, handledConnections?): Promise<void>
Parameters
- agoricNamesAdmin: ERef<NameAdmin>
- name: string
- chainInfo: Readonly<{
bech32Prefix?: string;
chainId: string;
connections?: Record<string, IBCConnectionInfo>;
icqEnabled?: boolean;
stakingTokens?: readonly {
denom: string;
}[];
}> Optional
log: ((...messages: string[]) => void) = ...- (...messages): void
Parameters
Rest
...messages: string[]
Returns void
Optional
handledConnections: Set<string> = ...
Returns Promise<void>
Register a chain into agoricNames