@investorid/identity-sdk
Version:
Interact with BlockChain Identities.
10 lines (9 loc) • 405 B
TypeScript
import { Key, KeyPurpose, KeyType } from "./Key.interface";
import * as ERC725ABI from "../../resources/contracts/ERC725.json";
export { ERC725ABI };
export interface ERC725 {
getKey(key: string): Promise<Key>;
getKeyPurpose(key: string): Promise<KeyPurpose>;
getKeysByPurpose(purpose: KeyPurpose): Promise<Key[]>;
addKey(key: string, purpose: KeyPurpose, type: KeyType): Promise<void>;
}