cardano-wallet-js
Version:
javascript/typescript client for the official cardano-wallet api
18 lines (15 loc) • 386 B
text/typescript
import { ApiVerificationKey } from "../models";
export class KeyWallet implements ApiVerificationKey {
key: any;
role: KeyRoleEnum;
constructor(key: any, role: KeyRoleEnum) {
this.key = key;
this.role = role;
}
}
export enum KeyRoleEnum {
AddressExternal = 'utxo_external',
AddressInternal = 'utxo_internal',
Stake = 'mutable_account',
Script = 'multisig_script',
}