2014-03-11 14:45:04 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<body>
|
2014-04-06 20:12:10 -07:00
|
|
|
<script src="../../browser/bundle.js"></script>
|
|
|
|
<pre id="console"></pre>
|
2014-03-11 14:45:04 -07:00
|
|
|
<script>
|
|
|
|
var bitcore = require('bitcore');
|
|
|
|
var Address = bitcore.Address;
|
|
|
|
var a = new Address('1KerhGhLn3SYBEQwby7VyVMWf16fXQUj5d');
|
2014-04-06 20:12:10 -07:00
|
|
|
document.getElementById('console').innerHTML = '1KerhGhLn3SYBEQwby7VyVMWf16fXQUj5d is valid? '+a.isValid();
|
2014-03-11 14:45:04 -07:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|