Skip to content

Commit

Permalink
Merge pull request #6 from uma-universal-money-address/feat/addlnurlc…
Browse files Browse the repository at this point in the history
…ompat

Add a note about lightning address interop.
  • Loading branch information
jklein24 authored Oct 24, 2023
2 parents e42e36a + 1a502e4 commit 75027e8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion umad-01-addresses.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UMAD-01: UMA Addresses

The UMA address format is based on Lightning Addresses ([LUD-16](https://github.com/lnurl/luds/blob/luds/16.md)), and
are themselves valid LNURL Lightning Addresses. They are in the format _$\<username>@\<domainname>_
are themselves valid LNURL Lightning Addresses when the $ is stripped. They are in the format _$\<username>@\<domainname>_
(eg. _$[email protected]_). Similar to Lightning Addresses ([LUD-16](https://github.com/lnurl/luds/blob/luds/16.md)),
the domain will be used to make the first lnurlp call to somevasp.com.

Expand All @@ -16,3 +16,11 @@ the domain will be used to make the first lnurlp call to somevasp.com.
(including the $).

The UMA SDKs validate these requirements and will throw an error if they are not met.

## Lightning Address Inter-op

UMA addresses are valid Lightning Addresses when the leading $ is stripped. Receiving VASPs who choose to support
plain LNURL-PAY transactions (which is a subset of UMA) should treat an incoming LNURLP request to a receiver
without a leading $ as a request to pay the receiver directly via LNURL-PAY. This way, users can still have a
single user name compatible with both UMA and LNURL, while keeping a clear distinction between the two for cases
where a VASP has to understand regulatory requirements.

0 comments on commit 75027e8

Please sign in to comment.