Skip to main content
added 1 character in body
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411

I totally follow this guidguide, but I still did not get the info" contract mined! address: xxx". I add a else{ console.log(e) into var greeter = greeterContract.new(_greeting,{from: eth.accounts[0], data: greeterCompiled.greeter.code, gas: 4000000}, function(e, contract){ if(!e) { if(!contract.address) { console.log("Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined..."); } else { console.log("Contract mined! Address: " + contract.address); console.log(contract); } } })

I got Line 1:419 unexpexcted token else

Any Idea. I really appreciate

I totally follow this guid, but I still did not get the info" contract mined! address: xxx". I add a else{ console.log(e) into var greeter = greeterContract.new(_greeting,{from: eth.accounts[0], data: greeterCompiled.greeter.code, gas: 4000000}, function(e, contract){ if(!e) { if(!contract.address) { console.log("Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined..."); } else { console.log("Contract mined! Address: " + contract.address); console.log(contract); } } })

I got Line 1:419 unexpexcted token else

Any Idea. I really appreciate

I totally follow this guide, but I still did not get the info" contract mined! address: xxx". I add a else{ console.log(e) into var greeter = greeterContract.new(_greeting,{from: eth.accounts[0], data: greeterCompiled.greeter.code, gas: 4000000}, function(e, contract){ if(!e) { if(!contract.address) { console.log("Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined..."); } else { console.log("Contract mined! Address: " + contract.address); console.log(contract); } } })

I got Line 1:419 unexpexcted token else

Any Idea. I really appreciate

Source Link
Eleven
  • 113
  • 1
  • 6

I totally follow this guid, but I still did not get the info" contract mined! address: xxx". I add a else{ console.log(e) into var greeter = greeterContract.new(_greeting,{from: eth.accounts[0], data: greeterCompiled.greeter.code, gas: 4000000}, function(e, contract){ if(!e) { if(!contract.address) { console.log("Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined..."); } else { console.log("Contract mined! Address: " + contract.address); console.log(contract); } } })

I got Line 1:419 unexpexcted token else

Any Idea. I really appreciate