No description
Find a file
2020-01-30 18:23:59 -05:00
src initial commit 2020-01-30 18:09:55 -05:00
.gitignore initial commit 2020-01-30 18:09:55 -05:00
LICENSE initial commit 2020-01-30 18:09:55 -05:00
package-lock.json initial commit 2020-01-30 18:09:55 -05:00
package.json initial commit 2020-01-30 18:09:55 -05:00
README.md doc: improve README 2020-01-30 18:23:59 -05:00

Summary

This is a web widget which will connect to the Dash Insight server and monitor for transactions to addresses specified in an HTML page.

Usage

In an HTML page, add this to the <head>:

<script src="https://seigler.github.io/monitor-dash-address/index.js"></script>
<link rel="stylesheet" href="https://seigler.github.io/monitor-dash-address/styles.css">

...and add this in the page where you want an address to be monitored:

<div data-dash-address-watch="XmGw5qrhtJcmp3qebCDg9aLZH4ugraeakx"></div>

You may prefer to save these JS and CSS files and host them locally instead, which should work fine. You can also omit the stylesheet and style the component yourself. The structure is:

<div data-dash-address-watch="XmGw5qrhtJcmp3qebCDg9aLZH4ugraeakx">
  <div class="dash-address-watch-label">XmGw5qrhtJcmp3qebCDg9aLZH4ugraeakx</div>
  <div class="dash-address-watch-status">Watching...</div>
  <div class="dash-address-watch-log"></div>
</div>

Demo