These are chat archives for ethereum/tutorials

25th
May 2016
uvizhe
@uvizhe
May 25 2016 14:44
Ah sorry, I used wrong chatroom to ask this question
Rémy Roy
@remyroy
May 25 2016 16:26
Hello, I'm trying to complete the greeter example on https://www.ethereum.org/greeter . I'm stuck at trying to deploy my contract using geth. Do you need to have your account unlocked to call somecontract.new([constructorParam], {from: accountAddress, ...], ...) to deploy a contract? Nothing happens when I'm trying to deploy my contract. I'm guessing it cannot take funds from my locked account and it does not ask me to unlock it.
keuge
@keuge
May 25 2016 16:27
https://i.snag.gy/iu4pO3.jpg i guess its not mint? but mine?
Alex Van de Sande
@alexvandesande
May 25 2016 18:53
@keuge it’s mint. As in Central Mint, the place that creates coins out of thin air. Mining is a specific name for rewarding in cryptocurrency in exchange of network security
keuge
@keuge
May 25 2016 18:55

contract MyToken {
uint256 public totalSupply;

function MyToken(...) {
    totalSupply = initialSupply;
    ...
}
...

}

Alex Van de Sande
@alexvandesande
May 25 2016 18:55
@keuge what is the question?
keuge
@keuge
May 25 2016 18:55
what is this? where do i need to implement? why is it ..., instead of info?
Alex Van de Sande
@alexvandesande
May 25 2016 18:56
Not sure I understand the question
This is called the constructor function
keuge
@keuge
May 25 2016 18:57
"..." represent what?
First we need to add a variable to store the totalSupply and assign it in our constructor function. and then this code is ongoing. Its from here - https://ethereum.org/token#central-mint
i dont understant what do i need to paste to contract
Alex Van de Sande
@alexvandesande
May 25 2016 18:59
Ah.. It represents the rest of the contract
Compare it to the original token contract and you’ll see where to add this
Carl Forsbacka
@CarlForsbacka_twitter
May 25 2016 23:37
I Have ,made these. snow catchers and i live in Finland. Nestle wanna buy our waters. i have few hundred thousand litres of water. I want to make Water Coin. http://fp.chatango.com/profileimg/b/r/braincell83/full.jpg then Colladial Coin Anfd Ormus coin, http://www.tomsormuswater.com/index.php#order i can make colladial and ormus water. Have talked with selllers and other people that could invest in these coins, So i need help from somebody to make this coin. or a partner . so alone woth this ....