mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
431 B
23 lines
431 B
10 years ago
|
<html>
|
||
|
<head>
|
||
|
<script src="../ext/bignumber.min.js"></script>
|
||
|
<script src="../ext/ethereum.js/dist/ethereum.js"></script>
|
||
|
|
||
|
<script>
|
||
|
var web3 = require('web3');
|
||
|
web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8545'));
|
||
|
var eth = web3.eth;
|
||
|
|
||
|
function bomb() {
|
||
|
for (var i = 0; i < 200; i++) {
|
||
|
eth.transact({})
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<button onclick="bomb();">BOOM!</button>
|
||
|
</body>
|
||
|
</html>
|