These are chat archives for ethereum/tutorials

16th
Mar 2016
Jacck
@Jacck
Mar 16 2016 08:46
Hello, if I issue my token as a loyalty points, is it required to put some mining logic behind in order to prevent misuse of tokens, like in case of gas to stop spamming for free? If yes, it could be hard part for me. Where can I read something about it. Is there any good case of usage of Ethereum for loyalty points? Thanks. Jacek
Alex Van de Sande
@alexvandesande
Mar 16 2016 09:52
@Jacck loyalty points are a great use for tokens. No you don't need to add any mining unless you want to, they can be created anyway you want
Jacck
@Jacck
Mar 16 2016 13:59
Could you put sime lights on Token Registry (mentioned in Cryptocurrency article)?
Alex Van de Sande
@alexvandesande
Mar 16 2016 14:03
There’s no token registry as of now. You can start building one!
thwjanssen
@thwjanssen
Mar 16 2016 14:29
is it also possible to make the nameless function act on received tokens instead on received ether?
Jan Ziniewicz
@whysoserious
Mar 16 2016 18:08
hi
how can i return an array of strings in solidity function?
Alex Van de Sande
@alexvandesande
Mar 16 2016 18:09
@thwjanssen not at this moment. But take a look at how approve works
Jan Ziniewicz
@whysoserious
Mar 16 2016 18:09
Screen Shot 2016-03-16 at 19.09.18.png
Alex Van de Sande
@alexvandesande
Mar 16 2016 18:09
@whysoserious there’s a great solidity help at /solidity/
But it’s probably return string[]
return [‘a’, ‘b’] ?
Jan Ziniewicz
@whysoserious
Mar 16 2016 18:11
nah, it's an error in function declaration (first line at the screenshot)
I'll ask on /solidity
thanks for help
and patience ;)
Alex Van de Sande
@alexvandesande
Mar 16 2016 18:11
You’re welcome
zach-is-my-name
@zach-is-my-name
Mar 16 2016 18:22
@everyone re: Token Tutorial: " The only way this contract can move funds is by selling and buying them." The function Transfer is still in play though, so in the abstract isn't the contract enabling movement of funds outside of the buy and sell functions?
Alex Van de Sande
@alexvandesande
Mar 16 2016 18:24
@zach-is-my-name Maybe you can help me rephrase it but the purpose of that phrase is to say that unlike a traditional bank, the contract cannot move the ether it has, it can only use it to buy back tokens
zach-is-my-name
@zach-is-my-name
Mar 16 2016 18:26
@alexvandesande gotcha, i'll maybe try and spin up a suggestion. many thanks
Alex Van de Sande
@alexvandesande
Mar 16 2016 18:54
@zach-is-my-name soon enough I'll owe you co-author credit there!