forked from cerc-io/laconic-wallet
* Add state for selected network * Make review changes * Add cosmos signature * Explicit check for cosmos * Add dummy method for generating wallet * Remove logic from component * Add dummy sign method * Change network state values * Use separate file for types * Add default case to switch * Use consistent method names --------- Co-authored-by: Adw8 <adwait@deepstacksoft.com>
15 lines
264 B
TypeScript
15 lines
264 B
TypeScript
export type StackParamsList = {
|
|
Laconic: undefined;
|
|
SignMessage: { selectedNetwork: string } | undefined;
|
|
};
|
|
|
|
export type Account = {
|
|
address: string;
|
|
publicKey: string;
|
|
};
|
|
|
|
export type WalletDetails = {
|
|
ethAccount: Account;
|
|
cosmosAccount: Account;
|
|
};
|