mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
Merge branch 'main' into go-examples
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Introduction
|
||||
|
||||
The SDK docs are live at [https://sdk-doc.breez.technology]().
|
||||
The SDK docs are live at [https://sdk-doc.breez.technology](https://sdk-doc.breez.technology).
|
||||
|
||||
|
||||
## Contributions
|
||||
|
||||
For syntax and supported features, see [https://rust-lang.github.io/mdBook]().
|
||||
For syntax and supported features, see [https://rust-lang.github.io/mdBook](https://rust-lang.github.io/mdBook).
|
||||
@@ -6,9 +6,10 @@ src = "src"
|
||||
title = "Breez SDK"
|
||||
|
||||
[output.html]
|
||||
theme="theme"
|
||||
additional-js = ["tabs.js"]
|
||||
git-repository-url = "https://github.com/breez/breez-sdk-docs"
|
||||
edit-url-template = "https://github.com/breez/breez-sdk-docs/edit/main/{path}"
|
||||
|
||||
[output.html.print]
|
||||
enable = false
|
||||
enable = false
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
- [Installing](guide/install.md)
|
||||
- [Getting Started](guide/getting_started.md)
|
||||
- [Lightning payments](guide/payments.md)
|
||||
- [Receiving an on-chain transaction](guide/recieve_onchain.md)
|
||||
- [Receiving an on-chain transaction](guide/receive_onchain.md)
|
||||
- [Sending an on-chain transaction](guide/send_onchain.md)
|
||||
- [Connecting to an LSP](guide/connecting_lsp.md)
|
||||
- [Using LNURL](guide/lnurl.md)
|
||||
|
||||
@@ -51,9 +51,9 @@ do {
|
||||
let lnurlPayUrl = "lightning@address.com";
|
||||
|
||||
try {
|
||||
const input = await parseInput(lnurlAuthUrl)
|
||||
const input = await parseInput(lnurlPayUrl)
|
||||
if (input.type === InputType.LNURL_PAY) {
|
||||
const amountSats = input.minSendable;
|
||||
const amountSats = input.data.minSendable;
|
||||
const result = await payLnurl(input.data, amountSats, "comment")
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
@@ -51,9 +51,9 @@ do {
|
||||
let lnurlWithdrawUrl = "lnurl1dp68gurn8ghj7mr0vdskc6r0wd6z7mrww4exctthd96xserjv9mn7um9wdekjmmw843xxwpexdnxzen9vgunsvfexq6rvdecx93rgdmyxcuxverrvcursenpxvukzv3c8qunsdecx33nzwpnvg6ryc3hv93nzvecxgcxgwp3h33lxk";
|
||||
|
||||
try {
|
||||
const input = await parseInput(lnurlAuthUrl)
|
||||
const input = await parseInput(lnurlWithdrawUrl)
|
||||
if (input.type === InputType.LNURL_WITHDRAW) {
|
||||
const amountSats = input.minWithdrawable;
|
||||
const amountSats = input.data.minWithdrawable;
|
||||
const result = await withdrawLnurl(input.data, amountSats, "comment")
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
1449
theme/highlight.js
Normal file
1449
theme/highlight.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user