Skip to content

Commit

Permalink
CDN URL & clarify Web3#
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind committed Sep 3, 2022
1 parent 87f9849 commit 2639b2a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions sample/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@
</script>

<!--
NPM (JS/TS):
https://www.npmjs.com/package/xumm-oauth2-pkce
CDN:
<script src="https://xumm.app/assets/cdn/xumm-oauth2-pkce.min.js"></script>
Local:
NPM (JS/TS): https://www.npmjs.com/package/xumm-oauth2-pkce
-->
<script src="/dist/browser.min.js"></script>
<script src="https://xumm.app/assets/cdn/xumm-oauth2-pkce.min.js"></script>
</head>
<body>
<div class="container mt-2">
<h2>Hello, world!</h2>
<p class="alert alert-primary mb-2">
This page shows the OAuth2 Implicit PKCE flow JS lib. for the Xumm platform / ecosystem.
<span class="h5 d-inline-block mb-2">This is <q><b>Web3</b> wallet <b>identity</b> &amp; <b>transaction initiation</b></q> for the XRP Ledger ecosystem.</span>
<br />
Tech under the hood: OAuth2 Implicit PKCE flow for the Xumm platform and XRP Ledger ecosystem.
<b>Using nothing but simple client side Javascript: <a href="https://github.com/XRPL-Labs/XummPkce/blob/main/sample/index.html" target="_blank">source</a></b>.
</p>
<div class="text-end py-0 my-0">
Expand Down Expand Up @@ -128,8 +126,8 @@ <h2>Hello, world!</h2>
var payload = {
txjson: {
TransactionType: 'Payment',
Destination: 'rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ',
Amount: '1000000' // 1 XRP
Destination: 'rfCarbonVNTuXckX6x2qTMFmFSnm6dEWGX',
Amount: '1337' // Drops, so: 0.001337 XRP
}
}

Expand Down

0 comments on commit 2639b2a

Please sign in to comment.