web3-domain-resolver
Version:
Web3 Library that enable with just one function to resolve domains on multiple web3 providers such as ENS, UnstoppableDomains and Freename
10 lines (9 loc) • 427 B
TypeScript
import { NetworkConnection, NetworkName } from "./network-connection.types";
export declare class ConnectionLibrary {
constructor(connections: NetworkConnection[]);
private _connections;
get connections(): NetworkConnection[];
set connections(value: NetworkConnection[]);
getConnection(network: NetworkName | string): NetworkConnection | undefined;
setConnection(connection: NetworkConnection): void;
}