Guest User

Untitled

a guest
Dec 13th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. MyContract.new(['MyProps'],{data: byteCode, from: web3.eth.accounts[0], gas: 4800000})
  2.  
  3. String account = web3.ethAccounts().send().getAccounts().get(0);
  4. Credentials c = Credentials.create(account);
  5. Contract_sol_Contract contract = Contract_sol_Contract.deploy(web3, c, new BigInteger("240000"),new BigInteger("2400000"), props).send();
  6.  
  7. -->sender doesn't have enough funds to send tx. The upfront cost is: 576 and the sender's account only has: 0
Add Comment
Please, Sign In to add comment