Skip to content

Commit

Permalink
[comment] adding comment on wallet interface in leger utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Jan 3, 2024
1 parent 9df69b6 commit c82402c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lib/ledger-utils/src/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export const DEFAULT_DERIVATION_PATH = SOLANA_LEDGER_BIP44_BASE_PATH
* Wallet interface for objects that can be used to sign provider transactions.
* The interface is compatible with @coral-xyz/anchor/dist/cjs/provider in version 0.28.0
* See https://github.com/coral-xyz/anchor/blob/v0.28.0/ts/packages/anchor/src/provider.ts#L344
*
* This intentionally duplicates the interface from packages/lib/web3js-common/src/wallet.ts
* as the `ledger-utils` is meant not to be in dependency of `web3js-common`.
*/
export interface Wallet {
signTransaction<T extends Transaction | VersionedTransaction>(
Expand Down

0 comments on commit c82402c

Please sign in to comment.