LnurlClient
Elixir library to interact with LNURL services.
Examples
iex> LnurlClient.create_invoice("username@localhost:8081", 10_000_000)
{ :ok, %LnurlClient.InvoiceResponse{pr: "lninvoice", routes: []} }Installation
If available in Hex, the package can be installed
by adding lnurl to your list of dependencies in mix.exs:
def deps do
[
{:lnurl_client, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/lnurl.