|
|
|
@ -32,22 +32,7 @@ |
|
|
|
|
|
|
|
|
|
<body> |
|
|
|
|
<div id="root"> |
|
|
|
|
<h1> |
|
|
|
|
This is Laksa.js simple example, load this html in latest chrome please |
|
|
|
|
</h1> |
|
|
|
|
|
|
|
|
|
<h3>Current Provider is:</h3> |
|
|
|
|
<h4 id="currentProvider"></h4> |
|
|
|
|
<input id="nodeUrl" type="text" value="https://api-scilla.zilliqa.com" /> |
|
|
|
|
<button id="setProviderButton">Set Provider</button> |
|
|
|
|
<h3>Input address, and get balance of it</h3> |
|
|
|
|
<input id="address" type="text" /> |
|
|
|
|
<button id="getBlanceButton">Get Balance</button> |
|
|
|
|
<div> |
|
|
|
|
<span>balance:</span><span id="balance"></span> <span>nonce:</span |
|
|
|
|
><span id="nonce"></span> |
|
|
|
|
</div> |
|
|
|
|
<div id="code"></div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<script src="../dist/HarmonyCrypto.browser.js"></script> |
|
|
|
|
|
|
|
|
|