These are chat archives for ethereum/tutorials

17th
Aug 2017
Wikiechiu
@Wikiechiu
Aug 17 2017 00:01
Dear Fellow users?
i am trying to create a new crypto currency for my own community base on the Ethereum platform
but i am following the code on the "create your own crypto-currency" this "throw" has a problem
"throw" is deprecated in favour of "revert()", "require()" and "assert()".
if (_to == 0x0) throw; // Prevent transfer to 0x0 address. Use burn() instead
can any one help me in private? i can hire you as consultant to complete my project.
Wikiechiu
@Wikiechiu
Aug 17 2017 00:06
my email is wikiechiu@ipv6.net.my
Yu-Chien Hung (Robin)
@RobinHung
Aug 17 2017 06:01
@Wikiechiu Just use "revert()" instead of "throw".
"throw" is deprecated in Solidity
Wikiechiu
@Wikiechiu
Aug 17 2017 06:34
thank you @Taco666
Wikiechiu
@Wikiechiu
Aug 17 2017 06:48
another problem: Statement has no effect.
if (_to == 0x0) revert; // Prevent transfer to 0x0 address. Use burn() instead
^----^
Yu-Chien Hung (Robin)
@RobinHung
Aug 17 2017 06:53
You forget to put "()" behind revert
use "revert()" instead of "throw"
SmartIdentity/smartId-contracts#14
Wikiechiu
@Wikiechiu
Aug 17 2017 09:18
the original text does not have (): "function transfer(address _to, uint256 _value) {
if (_to == 0x0) throw; "
oh i see. you meant throw ==> revert()
Wikiechiu
@Wikiechiu
Aug 17 2017 09:35
thank you
88-it.com
@88-it
Aug 17 2017 10:46
Hello there
Arina66
@Arina66
Aug 17 2017 12:16
Hello, I want to create token, here who can help?
phalexo
@phalexo
Aug 17 2017 13:40
@Arina66 You should help yourself by using Google and Bing.
skiwheelr
@skiwheelr
Aug 17 2017 17:33
I am still getting "this transaction will fail" when I try to deploy this contract at any stages in ethereum wallet as instructed. ideas?
I have adjusted the gas