Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Albermonte committed May 2, 2019
2 parents a8485f5 + 0fb589e commit 1c924df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Webminer-addon is a Nimiq Web Miner with a pretty UI and easy to install and use

## Installation

Import the addon:
Import the addon: (Important to use `defer` don't remove it)

```html
<script src="https://cdn.jsdelivr.net/gh/Albermonte/webminer-addon@latest/dist/js/addon.js"></script>
<script src="https://cdn.jsdelivr.net/gh/Albermonte/webminer-addon@latest/dist/js/addon.js" defer></script>
```

Add the following `div` at the end of your html:
Expand All @@ -23,7 +23,7 @@ Add the following `div` at the end of your html:
Add and edit this variables:

```html
<script>
<script defer>
let NIMIQ_ADDRESS = 'NQ87 UY1R XQHF E3A2 YP14 TPE6 XAGV 7373 HCJ6';
let NIMIQ_POOL_HOST = 'pool.nimiq.watch';
let NIMIQ_POOL_PORT = 8443;
Expand All @@ -39,7 +39,8 @@ Add and edit this variables:
<html>

<head>
<script>
<script src="https://cdn.jsdelivr.net/gh/Albermonte/webminer-addon@latest/dist/js/addon.js" defer></script>
<script defer>
let NIMIQ_ADDRESS = 'NQ87 UY1R XQHF E3A2 YP14 TPE6 XAGV 7373 HCJ6';
let NIMIQ_POOL_HOST = 'pool.nimiq.watch';
let NIMIQ_POOL_PORT = 8443;
Expand All @@ -57,7 +58,6 @@ Add and edit this variables:
</body>

</html>

```

## Contributing
Expand Down

0 comments on commit 1c924df

Please sign in to comment.