These are chat archives for ethereum/tutorials

16th
Sep 2018
Nicole Zhu
@nczhu
Sep 16 2018 22:55

@sierra1bravo Hey Sierra, in general, you don't want to use "transfer" to move tokens around. Try using the approve+transferfrom combo, see why transfer opens you to security issues here: https://medium.com/coinmonks/ethernaut-lvl-15-naught-coin-walkthrough-how-to-abuse-erc20-tokens-and-bad-icos-6668b856a176. Transfer() was how a lot of ICOs got tokens permanently locked.

Try pasting your code into RemixIDE to get started with the least setup time: http://remix.ethereum.org/