Show the AMEIXA widget on your page so your visitors can mine, with no private key ever touching your server or your own JavaScript. The host bonus is a separate thing and needs your own node (see below).
Add this to any HTML page:
<iframe
src="https://ameixacoin.duckdns.org/widget"
width="360"
height="280"
style="border:1px solid #ddd; border-radius:8px;">
</iframe>
This only displays the widget. It does not pay a bonus to your site; the bonus needs your own node, as described below.
Inside the iframe, the visitor's wallet stays isolated. Your site's own JavaScript (or any other script running on your page, like ads) never has access to it, the same principle payment providers like Stripe or PayPal use for card number fields.
If you instead embedded the widget's code directly into your page (no iframe), your own JavaScript would gain access to the visitor's wallet, so only do that if you fully trust every script running on your page.
To earn the bonus you run your own AMEIXA node and serve the widget from it. When a visitor mines a winning round through your node's widget, a small share of that reward is paid to your node's address, taken from the reward itself and never as an extra charge to the miner. The percentage is set by the network (it decreases as the coin advances through phases; see the phase table on the home page) and never by your site.
The bonus is paid only while your address is eligible: within the last 30 days it must have assembled a block containing a mining transaction from another address that named it as host.
Running a node is not open yet. When it is ready, anyone will be able to run an Ameixa node, with a step-by-step guide.
Before pointing your widget at a node, confirm its genesis block hash matches the
official one published by the network's creator. This confirms you're connected to
the real AMEIXA, not a copy. The hash is available at
GET /api/v1/mining_info.
The official genesis block hash is:
0a25a3ba4f9c6d7d5c73ebd74df7c962658032b09aa0a75210be7dc4c04796ce