This commit is contained in:
viktor 2017-11-08 20:23:26 +03:00
parent a8b29341be
commit 9d09182d78
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
let utils = require("./utils");
let investorAddr = "0x93C70B45d0e86e99A84dF0966Ac59DC71540c8d1"
let investorAddr = "0xf36045454F66C7318adCDdF3B801E3bF8CfBc6a1"
//immediately
@ -13,13 +13,13 @@ let i = 0;
let timer = setInterval(function() {
i++;
console.log(i);
if (i >= 500) clearInterval(timer)
if (i >= 15000) clearInterval(timer)
buy();
}, 1000)
}, 500)
function buy () {
//let tokens = Math.floor(Math.random() * 10) + 1;
let tokens = 1;
let tokens = Math.floor(Math.random() * 100) + 1;
//let tokens = 1;
utils.buyFromWizard(investorAddr, tokens);
}

View File

@ -1,7 +1,7 @@
{
"rpc": {
"left": "http://localhost:8555",
"right": "http://localhost:8545"
"right": "http://40.71.90.152:8545"
},
"token": {
"addr": "0xB46970e4a4CfB9e16C460CcF0a6e77214EC610f4",