These are chat archives for ethereum/tutorials

18th
Aug 2017
Todd Abraham
@toddabraham
Aug 18 2017 12:43
Ok, really sorry everyone, I've made a mess here.
The part of the code that the compiler is not accepting is the 'throw;'
I get a message that says "throw' is deprecated in favour of "revert()", "require()" and "assert()".
Does that mean I should be replacing throw with one of these three statements?
phalexo
@phalexo
Aug 18 2017 12:50
@toddabraham require(balanceOf[msg.sender] >= _value && balanceOf[_to] + _value >= balanceOf[_to]); Please delete duplicate posts.
Todd Abraham
@toddabraham
Aug 18 2017 13:16
@phalexo Is your comment meant to help me with what the code should be changed to or?
phalexo
@phalexo
Aug 18 2017 13:16
@toddabraham yes
Todd Abraham
@toddabraham
Aug 18 2017 13:17
@phalexo I see. Instead of Throw; at the end of the code, require() precedes the statement. Is that right?
phalexo
@phalexo
Aug 18 2017 13:17
yes
Todd Abraham
@toddabraham
Aug 18 2017 13:18
@phalexo Can you help me understand what's happened? What's changed?
Todd Abraham
@toddabraham
Aug 18 2017 14:32
It seems as though the tutorial on the Ethereum page for Create your own crypto-currency is out of date.
Can anyone lead me to an up-to-date beginners tutorial?
Todd Abraham
@toddabraham
Aug 18 2017 14:45
Is there a way to make the ethereum wallet backwards compatible so that I can run the code used on the etherum.org tutorials?
redconedev
@redconedev
Aug 18 2017 15:14
I have a few questions as well. First off, how do I connect the Wallet and token to my private test network?
jonghojoon
@jonghojoon
Aug 18 2017 20:26
hi..
hello. would you help me out . how do you test and run the test program on remix or any environment?