laconic-wallet/types.ts
shreerang6921 09a3b9fc75
Integrate functions with UI (#14)
* Add the creatHDWallet function

* Make review changes

* Add signMessage and signEthMessage functions

* Add signCosmosMessage function

* Add resetWallet function

* Add resetWallet function

* Integrate functions with UI

* Add Alerts to react component

* Make review changes

* Add comment in utils file

* Remove lowerCase conversion in signCosmosmessage function

---------

Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
2024-02-14 19:14:21 +05:30

15 lines
261 B
TypeScript

export type StackParamsList = {
Laconic: undefined;
SignMessage: { selectedNetwork: string } | undefined;
};
export type Account = {
pubKey: string;
address: string;
};
export type WalletDetails = {
ethAccount: Account;
cosmosAccount: Account;
};