UNPKG

@elysium-onchain-id/identity-sdk

Version:
13 lines (12 loc) 485 B
import { arrayify, defaultAbiCoder } from 'ethers/lib/utils'; export declare function toHex(message: string): string; export type HexString = string; export declare function isHexString(value: any): value is HexString; /** * Check if an URI is valid. * @param value * @return True if the uri is secured. */ export declare function isValidURI(value: any): boolean; export declare function encodeAndHash(types: string[], values: any[]): string; export { arrayify, defaultAbiCoder };