@towns-protocol/sdk
Version:
For more details, visit the following resources:
25 lines • 1.16 kB
TypeScript
import { BaseChainConfig, RiverChainConfig } from '@towns-protocol/web3';
export declare function useLegacySpaces(): boolean;
export declare function makeRiverChainConfig(environmentId?: string): {
rpcUrl: string;
chainConfig: RiverChainConfig;
};
export declare function makeBaseChainConfig(environmentId?: string): {
rpcUrl: string;
chainConfig: BaseChainConfig;
};
export type RiverConfig = ReturnType<typeof makeRiverConfig>;
export declare function makeRiverConfig(inEnvironmentId?: string): {
environmentId: string;
base: {
rpcUrl: string;
chainConfig: BaseChainConfig;
};
river: {
rpcUrl: string;
chainConfig: RiverChainConfig;
};
};
export declare const getStreamMetadataUrl: (environmentId: string) => "https://alpha.river.delivery" | "https://gamma.river.delivery" | "https://river.delivery" | "https://delta.river.delivery" | "http://localhost:3002" | "http://localhost:3003";
export declare const getAppRegistryUrl: (environmentId: string) => "https://localhost:6170" | "https://localhost:6190" | "https://app-registry.alpha.towns.com";
//# sourceMappingURL=riverConfig.d.ts.map