Skip to content

Commit 4e1270b

Browse files
authored
Merge pull request #766 from xch-dev/hardened-option
Add hardened key option to getPublicKeys
2 parents 26115dd + 551444f commit 4e1270b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/walletconnect/commands.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const walletConnectCommands = {
8888
.object({
8989
limit: z.number().optional(),
9090
offset: z.number().optional(),
91+
hardened: z.boolean().optional(),
9192
})
9293
.optional(),
9394
returnType: z.array(z.string()),

src/walletconnect/commands/chip0002.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export async function handleGetPublicKeys(
2020
const data = await commands.getDerivations({
2121
limit: params?.limit ?? 10,
2222
offset: params?.offset ?? 0,
23+
hardened: params?.hardened ?? false,
2324
});
2425

2526
return data.derivations.map((derivation) => derivation.public_key);

0 commit comments

Comments
 (0)