2018-03-28 08:36:08 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Embark - SimpleStorage Demo</title>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js"></script>
|
|
|
|
<script src="js/dapp.js"></script>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
</head>
|
|
|
|
<body class="container-fluid">
|
2018-03-29 19:26:33 -04:00
|
|
|
<h1>IdentityFactory <small>contract</small></h1>
|
|
|
|
<p>Press F12 to open the dev console</p>
|
|
|
|
<p>Remix: <a href="https://remix.ethereum.org">http://remix.ethereum.org</a></p>
|
|
|
|
|
2018-03-28 08:36:08 -04:00
|
|
|
<ul class="nav nav-tabs" role="tablist" id="myTabs">
|
2018-03-29 19:26:33 -04:00
|
|
|
<li role="presentation" class="active"><a href="#deploy" role="tab" data-toggle="tab">Instance</a></li>
|
|
|
|
<li role="presentation"><a href="#functions" role="tab" data-toggle="tab">Functions</a></li>
|
|
|
|
<li role="presentation"><a href="#contract" role="tab" data-toggle="tab">Contract</a></li>
|
|
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
|
|
<div role="tabpanel" class="tab-pane active" id="deploy">
|
|
|
|
<h2>Deployment / Utils</h2>
|
|
|
|
<h3>Get Accounts</h3>
|
|
|
|
<div class="scenario">
|
|
|
|
<div id="getAccounts" class="code">
|
|
|
|
await web3.eth.getAccounts(); <button>⏎</button>
|
2018-03-28 08:36:08 -04:00
|
|
|
</div>
|
2018-03-29 19:26:33 -04:00
|
|
|
<p class="note"><tt>accounts</tt> variable is available in the console now</p>
|
2018-03-28 08:36:08 -04:00
|
|
|
</div>
|
2018-03-29 19:26:33 -04:00
|
|
|
<div id="deploymentContainer">
|
|
|
|
|
2018-03-28 08:36:08 -04:00
|
|
|
</div>
|
2018-03-29 19:26:33 -04:00
|
|
|
<h3>Available instances:</h3>
|
|
|
|
<ul>
|
|
|
|
<li>0x00</li>
|
|
|
|
<li>0x00</li>
|
|
|
|
<li>0x00</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div role="tabpanel" class="tab-pane" id="functions">
|
|
|
|
<h2>Functions</h2>
|
|
|
|
</div>
|
|
|
|
<div role="tabpanel" class="tab-pane" id="contract">
|
|
|
|
<h3 id="filename"></h3>
|
|
|
|
<small id="url"></small>
|
|
|
|
<pre><code id="sourcecode" data-language="js"></code></pre>
|
2018-03-28 08:36:08 -04:00
|
|
|
</div>
|
2018-03-29 19:26:33 -04:00
|
|
|
</div>
|
2018-03-28 08:36:08 -04:00
|
|
|
</body>
|
|
|
|
</html>
|