Skip to content

Commit 584d183

Browse files
committed
Fix treor tx
1 parent 021e0f4 commit 584d183

File tree

1 file changed

+20
-0
lines changed
  • src/app/hardware/trezor

1 file changed

+20
-0
lines changed

src/app/hardware/trezor/tx.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2+
3+
export interface GetAddressParams {
4+
path: string;
5+
showonTrezor: boolean;
6+
chunkify: boolean;
7+
useEventListener: boolean;
8+
address: string;
9+
}
10+
11+
export const defaultGetAddressParams: GetAddressParams = {
12+
path: "m/44'/1'/0'/0/0",
13+
showonTrezor: true,
14+
chunkify: false,
15+
useEventListener: false,
16+
address: "",
17+
};
18+
export interface Hww {
19+
getAddress(params: GetAddressParams): Promise<any>;
20+
}

0 commit comments

Comments
 (0)