Skip to content

Commit

Permalink
Fix Bitbox02
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Jun 18, 2024
1 parent 6254efe commit 783043c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"bip39": "^3.1.0",
"bitcoinjs-lib": "^6.1.6",
"silent-payments":"^0.2.0.",
"bitbox-api":"^0.5.0",
"react--native-breez-sdk": "^0.4.1",
"payjoin-client": "^1.0.1",
"buffer": "^6.0.3",
Expand Down
5 changes: 4 additions & 1 deletion src/app/hardware/bitbox/bitbox.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { Bitbox } from 'bitbox-sdk';
import { Bitbox } from 'bitbox-api';

export const bitbox: Bitbox = new Bitbox();

async function getAddress(): Promise<string> {
return bitbox.Address.details(process.env.BITBOX_ADDRESS as string);
}

0 comments on commit 783043c

Please sign in to comment.