diff --git a/src/guide/getting_started.md b/src/guide/getting_started.md index 322612a..6abc888 100644 --- a/src/guide/getting_started.md +++ b/src/guide/getting_started.md @@ -145,11 +145,11 @@ The first step is to register a new node ```typescript try { const seed = await mnemonicToSeed(""); - const invite_code = ""; + const inviteCode = ""; // register_node takes either greenlight credentials (certifate & key) or invite code. // At this example we are using the invite code option. - const credentials = await registerNode(Network.BITCOIN, seed, inviteCode); + const credentials = await registerNode(Network.BITCOIN, seed, null, inviteCode); } catch (error) { console.log(error) } diff --git a/src/guide/payments.md b/src/guide/payments.md index 70aacd5..061f6bf 100644 --- a/src/guide/payments.md +++ b/src/guide/payments.md @@ -3,6 +3,7 @@
Rust
+ ## Receiving Lightning Payments Breez SDK doesn't require you to open a channel and set up your inbound liquidity. Breez SDK automatically connects your node to the LSP peer and you can now receive payments: @@ -26,6 +27,7 @@ sdk.send_payment(node_id.into(), Some(3000)).await?;
Swift
+ ## Receiving Lightning Payments Breez SDK doesn't require you to open a channel and set up your inbound liquidity. Breez SDK automatically connects your node to the LSP peer and you can now receive payments: @@ -60,6 +62,7 @@ do {
React Native
+ ## Receiving Lightning Payments Breez SDK doesn't require you to open a channel and set up your inbound liquidity. Breez SDK automatically connects your node to the LSP peer and you can now receive payments: