ethr-status-registry
Version:
Verifiable Credential status resolver using an ethereum contract as registry
19 lines (18 loc) • 538 B
TypeScript
interface ProviderConfiguration {
provider?: any;
web3?: any;
rpcUrl?: string;
name?: string;
[index: string]: any;
}
export interface NetworkConfiguration {
[index: string]: any;
}
export interface MultiProviderConfiguration extends ProviderConfiguration {
networks?: ProviderConfiguration[];
}
export interface InfuraConfiguration {
infuraProjectId: string;
}
export declare function configureResolverWithNetworks(conf: InfuraConfiguration | MultiProviderConfiguration): NetworkConfiguration;
export {};