<p>There is the keysend blib that allows to pay an arbitrary node without the necessity to create in invoice first <a href="https://github.com/lightning/blips/blob/master/blip-0003.md" rel="nofollow noreferrer">https://github.com/lightning/blips/blob/master/blip-0003.md</a> i think all major implications support keysend nowerdays.</p>
<p>Alternatively if the recipient supports lnurl or lightning addresses you can basically fetch an invoice from them. Similar behavior is supposed to be integrated to the base protocol via bolt12 offers <a href="https://github.com/lightning/bolts/pull/798" rel="nofollow noreferrer">https://github.com/lightning/bolts/pull/798</a> which is currently experimental in c-lightning</p>

CC BY-SA 4.0
2022-01-12T22:18:09.050Z
I was hoping to use the `n` field on the invoice: `The n field can be used to explicitly specify the destination node ID, instead of requiring signature recovery.` Would that not work?
Tim
CC BY-SA 4.0
2022-01-11T14:43:23.453Z
2022-01-11T14:43:23.453Z
Rene Pickhardt
<p>I'm interested in using lightning invoices for storing some basic metadata about a transaction on the chain. I'm also open to learn of a different approach if invoices aren't a good choice for my app.</p>
<p>In my use case, Alice should pay Bob 1000 sat. I would like <em>Alice</em> to create the invoice with Bob as the payee, and then pay the invoice herself. From what I can tell, there is no option to set the payee address when creating the invoice.</p>
<p>In the Bolt11 spec, there is a line that reads:</p>
<blockquote>
<p>The recovery ID allows public-key recovery, so the identity of the
payee node can be implied.</p>
</blockquote>
<p>Does this suggest that the payee address specified instead of always being the identity of the invoice creator?</p>

<lightning-network><invoices><ln-keysend-payments>
Create lightning invoice as payer
Tim
# Create lightning invoice as payer

(Asked by: username_0 on 2022-01-10)

I'm interested in using lightning invoices for storing some basic metadata about a transaction on the chain. I'm also open to learn of a different approach if invoices aren't a good choice for my app.

In my use case, Alice should pay Bob 1000 sat. I would like *Alice* to create the invoice with Bob as the payee, and then pay the invoice herself. From what I can tell, there is no option to set the payee address when creating the invoice.

In the Bolt11 spec, there is a line that reads:

> The recovery ID allows public-key recovery, so the identity of the
> payee node can be implied.

Does this suggest that the payee address specified instead of always being the identity of the invoice creator?

**Tags:** lightning-network, invoices, ln-keysend-payments


---

## 1 answers

### Answer by username_1 on 2022-01-11. Score: 1 | Accepted answer

There is the keysend blib that allows to pay an arbitrary node without the necessity to create in invoice first <https://github.com/lightning/blips/blob/master/blip-0003.md> i think all major implications support keysend nowerdays.

Alternatively if the recipient supports lnurl or lightning addresses you can basically fetch an invoice from them. Similar behavior is supposed to be integrated to the base protocol via bolt12 offers <https://github.com/lightning/bolts/pull/798> which is currently experimental in c-lightning

> **Comments:**
> **username_0**: I was hoping to use the `n` field on the invoice: `The n field can be used to explicitly specify the destination node ID, instead of requiring signature recovery.` Would that not work?  

---

