add libary call breez_sdk

This commit is contained in:
ruben beck
2023-07-05 10:21:14 +02:00
parent 07b7834727
commit 7c58e8b037
3 changed files with 4 additions and 3 deletions

View File

@@ -224,6 +224,8 @@ try {
Uint8List seed = await mnemonicToSeed("<mnemonics words>");
GreenlightCredentials credentials = await recoverNode(network: Network.Bitcoin, seed: seed, config: config);
```
Once the credentials are retrieved they should be saved in a secured storage.
The next step is to initialize the SDK and start the node:
## Initializing the SDK
```dart
// SDK events listener