Created
February 12, 2019 02:44
-
-
Save nickfogle/9b1192dc019223540eca8312d9b7a172 to your computer and use it in GitHub Desktop.
Lightning Link Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="order-pr--value"> | |
<span>lntb17u1pwxyvjzpp553g62xe3vywy6ep7lunyjjpk8l020gyh4j0xkm409yyty9sfu7zsdpzxysy2umswfjhxum0yppk76twypgxzmnwvycqp2dufsu4kt6th9vdnq7j788dulp42250nz5aanc3eyucchaatlur2j5tvy6clktdeutwqujud0zlkwkzv0gxedp3cg2fepzax9qtve8hcqumfhg2</span></div> | |
<!-- NOTICE FORMAT OF HREF --> | |
<!-- 'lightning:lnxxxxx' --> | |
<a href="lightning:lntb17u1pwxyvjzpp553g62xe3vywy6ep7lunyjjpk8l020gyh4j0xkm409yyty9sfu7zsdpzxysy2umswfjhxum0yppk76twypgxzmnwvycqp2dufsu4kt6th9vdnq7j788dulp42250nz5aanc3eyucchaatlur2j5tvy6clktdeutwqujud0zlkwkzv0gxedp3cg2fepzax9qtve8hcqumfhg2" target="_blank" class="button ocher">Open with your wallet</a> | |
<button type="button" title="Copy to clipboard" class="button copy ocher"> | |
<svg width="10" height="10" aria-label="Copy" class="svg-icon lg undefined"> | |
<title>Copy</title> | |
<use xlink:href="#icon_copy"></use> | |
</svg> | |
<span>Copy</span> | |
</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To support one-click lightning payment, simply format an anchor tag's
href
attribute as shown in line 5 above.