mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 12:37:16 +00:00
23 lines
431 B
HTML
23 lines
431 B
HTML
<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>
|