These are chat archives for ethereum/tutorials

23rd
Nov 2017
N-B-V
@N-B-V
Nov 23 2017 06:56
where can i find a good tutorial on how to fix a re-entrancy warning?
this link does not help much as i have already gave new varaiables the value of incomming variables - http://tool.smartdec.net/knowledge/SOLIDITY_REENTRANCY_EXTERNAL_CALL
najienka
@najienka
Nov 23 2017 08:45
Hi guys , pls I’m trying to deploy a contract to the live network and I have 0.46 eth. However when I do ‘truffle migrate —network live’ I’m getting Error: insufficient funds for gas* price + value. I’m not sure why
jdmcwhinnie
@jdmcwhinnie
Nov 23 2017 08:49
It’s because you don’t have enough gas
andyBoss32
@andyBoss32
Nov 23 2017 09:05
@jdmcwhinnie how much gas is needed?
@najienka whats your total supply
najienka
@najienka
Nov 23 2017 10:22
I have 0.46 eth and I’m trying to deploy a token contract with total supply of 500 million
@andyBoss32
@jdmcwhinnie
I tested same code on ropsten and it deployed successfully
Shachindra
@Shachindra
Nov 23 2017 11:16
@adatr01 give your github id or telegram id. I would like to help
Shachindra
@Shachindra
Nov 23 2017 11:21
I can help in creating ERC20 tokens, writing smart contracts using solidity or even launch an ICO.
henrik
@kaptenhenrik
Nov 23 2017 11:34
@Shachindra How would stora a peice of data on the block chain that you want to be public to anyone?
Shachindra
@Shachindra
Nov 23 2017 11:36
Check out bigchain DB.
You can put the data there and put its hash in any transaction
@kaptenhenrik Let me know if you need more inputs
Wouter
@wouterbruinings
Nov 23 2017 11:59
Hey guys, anyone that can help me with a truffle question :-)?
henrik
@kaptenhenrik
Nov 23 2017 13:25
@Shachindra I send you a PM
lion22
@lion22
Nov 23 2017 18:09
pragma solidity ^0.4.11;
contract Fund {
/// Mapping of ether shares of the contract.
mapping(address => uint) shares;
/// Withdraw your share.
function withdraw() {
var share = shares[msg.sender];
shares[msg.sender] = 0;
msg.sender.transfer(share);
}
}
Gopal Panda
@pandagopal
Nov 23 2017 19:09
@wouterbruinings please ask the question you have on Truffle