Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Crypto Zombies is excellent and I highly recommend it, but keep in mind that it was built using an older version of Solidity and if you try to do some things the same way in newer versions of Solidity your code will break.

Like I think one thing it has in there, for example, is when you push an item onto an array it returns that item, so they have you initialize a variable to that push. The very next version of Solidity changed push so it's a void return, so you can't do that outside of the Crypto Zombies tutorials.

Most of the changes are small enough to not be a big deal, just keep in mind that some things you're being taught are probably not the way things are done now.

Best practices have changed a lot since Crypto Zombies too, especially if you want to support new ideas like Omnichain or save gas using contracts like ERC-721A.



Ilove Crypto Zombies




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: