nimiq-widget
v1.0.2
Published
nimiq widget to monetize your website
Downloads
23
Readme
Nimiq Widget
The Nimiq Widget is a small utility web component for Nimiq mining. It can be used to monetize a website by using the user's computing power to generate revenue.
Usage
Include this code in your <head>
of your HTML
<head>
<!-- ... -->
<script src='https://unpkg.com/nimiq-widget@1/dist/nimiqwidget.js'></script>
<!-- ... -->
</head>
Put the widget component, somewhere in the <body>
section of your HTML. Don't forget to replace the Nimiq address with yours. You can create a new Nimiq Wallet here: https://safe.nimiq.com
<nimiq-widget address="NQ54 EHLN L135 RBFU 305P 0GJT GTU0 S3G3 8MKJ"></nimiq-widget>
Customization
You can customize the behaviour of the Nimiq Widget, documentation for the component options is available here.