Skip to content

Commit

Permalink
fix: add toHex example to dart
Browse files Browse the repository at this point in the history
Signed-off-by: bkioshn <bkioshn@gmail.com>
  • Loading branch information
bkioshn committed Nov 5, 2024
1 parent f22ddcf commit 348bd63
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ class MyApp extends StatelessWidget {

const path = "m/1852'/1815'/0'/2/0";
final childXprv = await xprv.deriveXprv(path: path);

print('Derive xprv with $path: ${childXprv.inner}');

final childXprvHex = childXprv.toHex();
print('Master xprv hex $childXprvHex');

xprv.drop();
print('Master xprv dropped ${xprv.inner}');
}
Expand Down

0 comments on commit 348bd63

Please sign in to comment.