2015-05-24 13:07:19 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Embark - SimpleStorage Demo</title>
|
2016-08-14 14:34:42 +00:00
|
|
|
<link rel="stylesheet" href="css/app.css">
|
|
|
|
<script src="js/app.js"></script>
|
2015-05-24 13:07:19 +00:00
|
|
|
</head>
|
2016-05-23 15:10:24 +00:00
|
|
|
<body class="container">
|
2015-05-24 13:07:19 +00:00
|
|
|
<h3>Embark - SimpleStorage Demo</h3>
|
|
|
|
|
2016-05-23 15:10:24 +00:00
|
|
|
<h3> 1. Set the value in the blockchain</h3>
|
|
|
|
<div class="form-group form-inline">
|
|
|
|
<input type="text" class="text form-control" value="10">
|
|
|
|
<button class="set btn btn-primary">Set Value</button>
|
|
|
|
<p>Once you set the value, the transaction will need to be mined and then the value will be updated on the blockchain.</p>
|
2015-05-24 13:07:19 +00:00
|
|
|
</div>
|
|
|
|
|
2016-05-23 15:10:24 +00:00
|
|
|
<h3> 2. Get the current value</h3>
|
|
|
|
<div class="form-group">
|
|
|
|
<div>
|
|
|
|
current value is <span class="value"></span>
|
|
|
|
</div>
|
|
|
|
<button class="get btn btn-primary">Get Value</button>
|
2016-05-23 22:46:23 +00:00
|
|
|
<p>Click the button to get the current value. The initial value is 100.</p>
|
2015-05-24 13:07:19 +00:00
|
|
|
</div>
|
|
|
|
|
2016-05-23 15:10:24 +00:00
|
|
|
<h3> 3. Contract Calls </h3>
|
2015-05-24 13:07:19 +00:00
|
|
|
<div class="logs">
|
2016-05-23 15:10:24 +00:00
|
|
|
<p>Javascript call being made: </p>
|
2015-05-24 13:07:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|