cic-client
Version:
Typescript libraries for building CIC client applications
10 lines (9 loc) • 396 B
TypeScript
interface Addressable {
key(): string;
digest(): string;
}
declare function bytesToHex(a: Uint8Array): string;
declare function toKey(v: string, salt: string): Promise<string>;
declare function toAddressKey(zeroExHex: string, salt: string): Promise<string>;
declare function addressToBytes(s: string): Uint8Array;
export { toKey, toAddressKey, bytesToHex, addressToBytes, Addressable, };