UNPKG

@ayanworks/polygon-did-resolver

Version:

The polygon resolver library is used for resolving DID’s in Polygon Method Space. The module is supposed to be used as an integeration to polygon library.

9 lines (8 loc) 288 B
export declare function getNetworkFromDid(did: string): "testnet" | "mainnet"; export declare function parseDid(did: string): { network: string; contractAddress: string; networkUrl: string; didAddress: string; }; export declare function validateDid(did: string): boolean;