mirror of https://github.com/embarklabs/embark.git
33 lines
1011 B
HTML
33 lines
1011 B
HTML
<html>
|
|
<head>
|
|
<title>Embark - SimpleStorage Demo</title>
|
|
<link rel="stylesheet" href="css/app.css">
|
|
<script src="js/app.js"></script>
|
|
</head>
|
|
<body class="container">
|
|
<h3>Embark - SimpleStorage Demo</h3>
|
|
|
|
<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>
|
|
</div>
|
|
|
|
<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>
|
|
<p>Click the button to get the current value. The initial value is 100.</p>
|
|
</div>
|
|
|
|
<h3> 3. Contract Calls </h3>
|
|
<div class="logs">
|
|
<p>Javascript call being made: </p>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|