Skip to content

Commit

Permalink
deploy: b547db7
Browse files Browse the repository at this point in the history
  • Loading branch information
JST5000 committed Nov 21, 2023
1 parent ba834ff commit 11d73c4
Show file tree
Hide file tree
Showing 29 changed files with 221 additions and 221 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ <h3 id="3-display-an-account">3. Display an Account<a aria-hidden="true" class="
<p>Now you need an XRPL account address to monitor. If you already have one or know where to find an example, you can now run the application by executing:</p>
<div class="codehilite"><div aria-label="Code Buttons" class="btn-group" role="group"><button alt="Copy to clipboard" class="btn btn-outline-secondary clipboard-btn" data-clipboard-target="#codeblock-30" id="codeblock-30button"><i class="fa fa-clipboard"></i></button></div><pre><span></span><code id="codeblock-30"><span class="go">npm run start</span>
</code></pre></div>
<p>If you need a Testnet address, <a href="xrp-testnet-faucet.html">you can get one from the faucet</a>. Then you can paste that address into the <a href="tx-sender.html">Transaction Sender</a> to send XRP transactions that your app can see.</p>
<p>If you need a Testnet address, <a href="/dev-tools/xrp-faucets">you can get one from the faucet</a>. Then you can paste that address into the <a href="tx-sender.html">Transaction Sender</a> to send XRP transactions that your app can see.</p>
<p>On, startup, the application should display a simple dialog prompting the user for an XRPL account address. After entering the address the application should display some basic information about that account and about the ledger.</p>
<p>To run the reference application found in <code>content/_code-samples/build-a-desktop-wallet/desktop-js</code> for this step, run:</p>
<div class="codehilite"><div aria-label="Code Buttons" class="btn-group" role="group"><button alt="Copy to clipboard" class="btn btn-outline-secondary clipboard-btn" data-clipboard-target="#codeblock-31" id="codeblock-31button"><i class="fa fa-clipboard"></i></button></div><pre><span></span><code id="codeblock-31"><span class="go">npm run account</span>
Expand Down Expand Up @@ -1456,7 +1456,7 @@ <h3 id="5-saving-the-private-keys-with-a-password">5. Saving the Private Keys wi
<div class="codehilite"><div aria-label="Code Buttons" class="btn-group" role="group"><button alt="Copy to clipboard" class="btn btn-outline-secondary clipboard-btn" data-clipboard-target="#codeblock-48" id="codeblock-48button"><i class="fa fa-clipboard"></i></button></div><pre><span></span><code id="codeblock-48"><span class="go">npm run start</span>
</code></pre></div>
<p>On first run, It should first prompt you for an account seed and then for a password.</p>
<p>You can generate a test account's seed via the <a class="external-link" href="https://xrpl.org/xrp-testnet-faucet.html" target="_blank">testnet faucet here <i aria-hidden="true" class="fa fa-external-link"></i></a>.</p>
<p>You can generate a test account's seed via the <a class="external-link" href="https://xrpl.org//dev-tools/xrp-faucets" target="_blank">testnet faucet here <i aria-hidden="true" class="fa fa-external-link"></i></a>.</p>
<p>After you have created a wallet this way, you should close the application and start it up a second time: On second run it should prompt you for the password, and you should see the same result as in the last step.</p>
<p>To run the reference application found in <code>content/_code-samples/build-a-desktop-wallet/desktop-js</code> for this step, run:</p>
<div class="codehilite"><div aria-label="Code Buttons" class="btn-group" role="group"><button alt="Copy to clipboard" class="btn btn-outline-secondary clipboard-btn" data-clipboard-target="#codeblock-49" id="codeblock-49button"><i class="fa fa-clipboard"></i></button></div><pre><span></span><code id="codeblock-49"><span class="go">npm run password</span>
Expand Down
6 changes: 3 additions & 3 deletions pr-preview/jm-faucets/build-a-desktop-wallet-in-python.html
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ <h3 id="3-display-an-account">3. Display an Account<a aria-hidden="true" class="
<div class="codehilite"><div aria-label="Code Buttons" class="btn-group" role="group"><button alt="Copy to clipboard" class="btn btn-outline-secondary clipboard-btn" data-clipboard-target="#codeblock-20" id="codeblock-20button"><i class="fa fa-clipboard"></i></button></div><pre><span></span><code id="codeblock-20"> <span class="n">frame</span> <span class="o">=</span> <span class="n">TWaXLFrame</span><span class="p">(</span><span class="n">WS_URL</span><span class="p">,</span> <span class="n">test_network</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
</code></pre></div>
<p>(If you change the code to connect to a Mainnet server URL, also change this value to <code>False</code>.)</p>
<p>To test your wallet app with your own test account, first go to the <a href="xrp-testnet-faucet.html">Testnet Faucet</a> and <strong>Get Testnet credentials</strong>. Save the address and secret key somewhere, and try your wallet app with either one. Then, to see balance changes, go to the <a href="tx-sender.html">Transaction Sender</a> and paste your address into the <strong>Destination Address</strong> field. Click <strong>Initialize</strong> and try out some of the transaction types there, and see if the balance displayed by your wallet app updates as you expect.</p>
<p>To test your wallet app with your own test account, first go to the <a href="/dev-tools/xrp-faucets">Testnet Faucet</a> and <strong>Get Testnet credentials</strong>. Save the address and secret key somewhere, and try your wallet app with either one. Then, to see balance changes, go to the <a href="tx-sender.html">Transaction Sender</a> and paste your address into the <strong>Destination Address</strong> field. Click <strong>Initialize</strong> and try out some of the transaction types there, and see if the balance displayed by your wallet app updates as you expect.</p>
<h3 id="4-show-accounts-transactions">4. Show Account's Transactions<a aria-hidden="true" class="hover_anchor" href="#4-show-accounts-transactions"><i class="fa fa-link"></i></a></h3>
<p><strong>Full code for this step:</strong> <a class="external-link" href="https://github.com/XRPLF/xrpl-dev-portal/tree/jm-faucets/content/_code-samples/build-a-desktop-wallet/py/4_tx_history.py" target="_blank"><code>4_tx_history.py</code> <i aria-hidden="true" class="fa fa-external-link"></i></a></p>
<p>At this point, your wallet shows the account's balance getting updated, but doesn't show you anything about the actual transactions that caused the updates. So, the next step is to display the account's transaction history (and keep it updated).</p>
Expand Down Expand Up @@ -974,7 +974,7 @@ <h3 id="4-show-accounts-transactions">4. Show Account's Transactions<a aria-hidd
<span class="n">notif</span><span class="o">.</span><span class="n">SetFlags</span><span class="p">(</span><span class="n">wx</span><span class="o">.</span><span class="n">ICON_INFORMATION</span><span class="p">)</span>
<span class="n">notif</span><span class="o">.</span><span class="n">Show</span><span class="p">()</span>
</code></pre></div>
<p>As before, you can test your wallet app with your own test account if you use the <a href="xrp-testnet-faucet.html">Testnet Faucet</a> and the <a href="tx-sender.html">Transaction Sender</a>. On the Faucet page, select <strong>Get Testnet credentials</strong> (or use the same credentials from before). Input either the address or secret when you open your wallet app. On the Transaction Sender page, paste your address into the <strong>Destination Address</strong> field, click <strong>Initialize</strong>, then click various transaction buttons to see how your wallet displays the results.</p>
<p>As before, you can test your wallet app with your own test account if you use the <a href="/dev-tools/xrp-faucets">Testnet Faucet</a> and the <a href="tx-sender.html">Transaction Sender</a>. On the Faucet page, select <strong>Get Testnet credentials</strong> (or use the same credentials from before). Input either the address or secret when you open your wallet app. On the Transaction Sender page, paste your address into the <strong>Destination Address</strong> field, click <strong>Initialize</strong>, then click various transaction buttons to see how your wallet displays the results.</p>
<h3 id="5-send-xrp">5. Send XRP<a aria-hidden="true" class="hover_anchor" href="#5-send-xrp"><i class="fa fa-link"></i></a></h3>
<p><strong>Full code for this step:</strong> <a class="external-link" href="https://github.com/XRPLF/xrpl-dev-portal/tree/jm-faucets/content/_code-samples/build-a-desktop-wallet/py/5_send_xrp.py" target="_blank"><code>5_send_xrp.py</code> <i aria-hidden="true" class="fa fa-external-link"></i></a></p>
<p>Until now, you've made the app able to view data from the ledger, and it's capable of showing the transactions an account has received. Now it's finally time to make the app capable of <em>sending</em> transactions. For now, you can stick to sending <a href="direct-xrp-payments.html">direct XRP payments</a> because there are more complexities involved in sending <a href="issued-currencies.html">issued tokens</a>.</p>
Expand Down Expand Up @@ -1205,7 +1205,7 @@ <h3 id="5-send-xrp">5. Send XRP<a aria-hidden="true" class="hover_anchor" href="
<p>Save the classic address and seed somewhere.</p>
</li>
<li>
<p>Open your wallet app and provide a <strong>Secret</strong> (seed) value from an already-funded address, such as one you got from the <a href="xrp-testnet-faucet.html">Testnet Faucet</a>.</p>
<p>Open your wallet app and provide a <strong>Secret</strong> (seed) value from an already-funded address, such as one you got from the <a href="/dev-tools/xrp-faucets">Testnet Faucet</a>.</p>
</li>
<li>
<p>Send at least the <a href="reserves.html">base reserve</a> (currently 10 XRP) to the brand-new classic address you generated in the Python interpreter.</p>
Expand Down
12 changes: 6 additions & 6 deletions pr-preview/jm-faucets/code-samples.html
Original file line number Diff line number Diff line change
Expand Up @@ -3439,21 +3439,21 @@ <h6 class="eyebrow mb-20">Help the XRPL community by submitting your<br> own cod
<input type="radio" name="langs" id="input_py" value="py">
<label for="input_py">Python</label>
</div>
<div class="single_lang">
<input type="radio" name="langs" id="input_go" value="go">
<label for="input_go">go</label>
</div>
<div class="single_lang">
<input type="radio" name="langs" id="input_java" value="java">
<label for="input_java">Java</label>
</div>
<div class="single_lang">
<input type="radio" name="langs" id="input_cli" value="cli">
<label for="input_cli">CLI</label>
</div>
<div class="single_lang">
<input type="radio" name="langs" id="input_http" value="http">
<label for="input_http">HTTP</label>
</div>
<div class="single_lang">
<input type="radio" name="langs" id="input_cli" value="cli">
<label for="input_cli">CLI</label>
<input type="radio" name="langs" id="input_go" value="go">
<label for="input_go">go</label>
</div>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ <h2 id="5-verify-that-your-server-syncs">5. Verify that your server syncs.<a ari
<h2 id="see-also">See Also<a aria-hidden="true" class="hover_anchor" href="#see-also"><i class="fa fa-link"></i></a></h2>
<ul>
<li><strong>Tools:</strong><ul>
<li><a href="xrp-testnet-faucet.html">XRP Faucets</a></li>
<li><a href="/dev-tools/xrp-faucets">XRP Faucets</a></li>
<li><a href="websocket-api-tool.html">WebSocket API Tool</a> - Select 'Testnet Public Server' or 'Devnet Public Server' in the connection options.</li>
</ul>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ <h1 id="create-an-automated-market-maker">Create an Automated Market Maker<a ari
<script src="static/js/tutorials/create-amm.js" type="application/javascript"></script>
<h2 id="prerequisites">Prerequisites<a aria-hidden="true" class="hover_anchor" href="#prerequisites"><i class="fa fa-link"></i></a></h2>
<ul>
<li>You must have an XRP Ledger address and some XRP. For development and testing purposes, you can get these from a <a href="xrp-testnet-faucet.html">Faucet</a>.</li>
<li>You must have an XRP Ledger address and some XRP. For development and testing purposes, you can get these from a <a href="/dev-tools/xrp-faucets">Faucet</a>.</li>
<li>You should be familiar with the Getting Started instructions for your preferred client library. This page provides examples for the following:<ul>
<li><strong>JavaScript</strong> with the <a class="external-link" href="https://github.com/XRPLF/xrpl.js/" target="_blank">xrpl.js library <i aria-hidden="true" class="fa fa-external-link"></i></a> <strong>version 2.11.0 or later</strong>. See <a href="get-started-using-javascript.html">Get Started Using JavaScript</a> for setup steps.</li>
<li>You can also read along and use the interactive steps in your browser without any setup.</li>
Expand Down
2 changes: 1 addition & 1 deletion pr-preview/jm-faucets/dev-tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h4 class="card-title h5">Technical Explorer</h4>
</div>
<div class="card-footer">&nbsp;</div>
</a>
<a class="card" href="xrp-testnet-faucet.html" target="_blank" id="faucets">
<a class="card" href="/dev-tools/xrp-faucets" target="_blank" id="faucets">
<img src="img/dev-tools/faucets.png" alt="Faucets Screenshot" /> <div class="card-body">
<h4 class="card-title h5">Faucets</h4>
<p class="card-text">Get credentials and test-XRP for XRP Ledger Testnet or Devnet.</p>
Expand Down
6 changes: 3 additions & 3 deletions pr-preview/jm-faucets/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ <h6 class="mb-3">Explore Dev Tools</h6>
<p class="mb-20">
Use these web-based tools to assist during all stages of development, from getting your first payment to testing your implementation for best practices. </p>
<div class="card-grid card-grid-2xN">
<a href="./xrp-testnet-faucet.html" class="col dev-tools-link">
<a href=".//dev-tools/xrp-faucets" class="col dev-tools-link">
<h6 class="btn-arrow">Faucets</h6>
<p> Get credentials and test-XRP for XRP Ledger Testnet or Devnet.</p>
</a>
Expand Down Expand Up @@ -586,7 +586,7 @@ <h6 class="btn-arrow">Transaction Sender</h6>
<h2 class="h4">Browse By Recommended Pages</h2>
<ul class="nav flex-column">
<li class="nav-item"><a href="./manage-the-rippled-server.html" class="nav-link">rippled API Reference</a>
<li class="nav-item"><a href="./xrp-testnet-faucet.html" class="nav-link">XRP Faucet</a>
<li class="nav-item"><a href="./dev-tools/xrp-faucets" class="nav-link">XRP Faucet</a>
<li class="nav-item"><a href="./get-started-using-python.html#get-started-using-python" class="nav-link">Getting Started with Python</a>
<li class="nav-item"><a href="./websocket-api-tool.html" class="nav-link">Websocket API Tool</a>
<li class="nav-item"><a href="https://livenet.xrpl.org" class="nav-link">XRP Ledger Explorer</a>
Expand All @@ -599,7 +599,7 @@ <h2 class="h4">Browse By Recommended Pages</h2>
<div class="z-index-1 position-relative">
<h2 class="h4 mb-8-sm mb-10-until-sm">Get Free Test XRP</h2>
<p class="mb-10">Connect to the XRP Ledger Testnet network to develop and test your apps built on the XRP Ledger, without risking real money or impacting production XRP Ledger users.</p>
<a class="btn btn-primary btn-arrow" href="xrp-testnet-faucet.html">Generate Testnet Credentials</a>
<a class="btn btn-primary btn-arrow" href="/dev-tools/xrp-faucets">Generate Testnet Credentials</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion pr-preview/jm-faucets/get-started-using-java.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ <h2 id="learning-goals">Learning Goals<a aria-hidden="true" class="hover_anchor"
<ul>
<li>The basic building blocks of XRP Ledger-based applications.</li>
<li>How to connect to the XRP Ledger using <code>xrpl4j</code>.</li>
<li>How to get an account on the <a href="xrp-testnet-faucet.html">Testnet</a> using <code>xrpl4j</code>.</li>
<li>How to get an account on the <a href="/dev-tools/xrp-faucets">Testnet</a> using <code>xrpl4j</code>.</li>
<li>How to use the <code>xrpl4j</code> library to look up information about an account on the XRP Ledger.</li>
<li>How to put these steps together to create a Java app.</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion pr-preview/jm-faucets/get-started-using-javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ <h2 id="learning-goals">Learning Goals<a aria-hidden="true" class="hover_anchor"
<ul>
<li>The basic building blocks of XRP Ledger-based applications.</li>
<li>How to connect to the XRP Ledger using <code>xrpl.js</code>.</li>
<li>How to get an account on the <a href="xrp-testnet-faucet.html">Testnet</a> using <code>xrpl.js</code>.</li>
<li>How to get an account on the <a href="/dev-tools/xrp-faucets">Testnet</a> using <code>xrpl.js</code>.</li>
<li>How to use the <code>xrpl.js</code> library to look up information about an account on the XRP Ledger.</li>
<li>How to put these steps together to create a JavaScript app or web-app.</li>
</ul>
Expand Down
Loading

0 comments on commit 11d73c4

Please sign in to comment.