cyb/src/types/defaultAccount.d.ts

type AccountKey = 'cyber' | 'cosmos';

export type AccountValue = {
  keys: 'read-only' | 'ledger' | 'wallet';
  bech32: string;
  name?: string;
  path?: number[];
  pk?: string;
};

type Account = {
  [key in AccountKey]: AccountValue;
};

export type Accounts = {
  [key in string]: Account;
};

export type DefaultAccount = {
  name: string | null;
  account: Account | null;
};

Synonyms

pussy-ts/src/types/defaultAccount.d.ts

Neighbours