Skip to content
Snippets Groups Projects
Commit c8a55681 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Por las dudas, ofrecemos mas para deployar contratos.

parent 69d6184d
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ function create ...@@ -21,7 +21,7 @@ function create
cleanup "$js" cleanup "$js"
cat > $js <<EOT cat > $js <<EOT
var mycontract = eth.contract($abi) var mycontract = eth.contract($abi)
var transaction = mycontract.new( { from: eth.accounts[0], data: "0x${bin}", gas: 1000000 } ) var transaction = mycontract.new( { from: eth.accounts[0], data: "0x${bin}", gas: 3000000 } )
var rcpt var rcpt
while ( !rcpt ) while ( !rcpt )
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment