Commit 391aeb78 authored by Freeman's avatar Freeman

Delete index.html

parent c3bc00b8
<!DOCTYPE html>
<head>
<title>Pyxpub - Examples</title>
</head>
<body>
<div style="width:900px; margin:0 auto;">
<h1>Pyxpub - Private Payment Gateway - Examples</h1>
<p><a href="https://acidsploit.github.io/pyxpub/">Pyxpyb - Private Payment Gateway</a></p>
<p><a href="https://github.com/acidsploit/pyxpub/">Github Repository</a></p>
<hr />
<p>
Pyxpub is a simple self-hosted webapp that generates unique payment requests for Bitcoin Cash. It can do this as a simple webpage with a Bitcoin Cash address and corresponding QR code or as a JSON request. It can be accessed directly, be embedded in a webpage through an iframe, or you can do JSON requests through the API. All generated Bitcoin Cash addresses are derived from a pre-defined (Electron Cash) xpub key.
</p>
<hr />
<h2>Examples</h2>
<h3>JSON Payment Request</h3>
<p><a href="https://github.com/acidsploit/pyxpub/tree/master/examples/jquery">jQuery Example</a></p>
<b>Parameters</b>
<ul>
<li>amount</li>
<li>label</li>
</ul>
<pre><code>
curl 'http://localhost:8080/payment?amount=0.0023&label=SHOP:1Wed2B44'
{
"payment": {
"amount": "0.0023",
"addr": "bitcoincash:qpej4uw429m9m0wawcphw9v4sch2ymd6qsqh7jx9gl",
"legacy_addr": "1BVx9uf5UGJDt1eMqjut8qh1K4mmEeDSFQ",
"label": "SHOP:1Wed2B44",
"qr_img": "/qr?addr=bitcoincash:qpej4uw429m9m0wawcphw9v4sch2ymd6qsqh7jx9gl&amount=0.0023&label=SHOP:1Wed2B44",
"payment_uri": "bitcoincash:qpej4uw429m9m0wawcphw9v4sch2ymd6qsqh7jx9gl?amount=0.0023&message=SHOP:1Wed2B44"
}
}
</code></pre>
<h3>Embedded iframe</h3>
<b>No parameters</b>
<pre><code>&lt;iframe width=100% height=450px scrolling="no" frameborder=0 src="https://donate.devzero.be"&gt;&lt;/iframe&gt;<code></pre>
<iframe width=100% height=450px scrolling="no" frameborder=0 src="https://donate.devzero.be"></iframe>
<b>With amount &amp; label parameters</b>
<pre><code>&lt;iframe width=100% height=470px scrolling="no" frameborder=0 src="https://donate.devzero.be/?amount=0.0123&label=MESG456"&gt;&lt;/iframe&gt;</code></pre>
<iframe width=100% height=470px scrolling="no" frameborder=0 src="https://donate.devzero.be/?amount=0.0123&label=MESG456"></iframe>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment