r/ethdev • u/Hyperspace290 • Nov 21 '21
My Project Finally Compiled My First Smart Contract
After being a passive observer for a couple of years (Anyone else remember when Initial Coin Offerings we’re all the rage?) I’ve finally decided to jump into the Ethereum Dev space and compiled my first smart contracts last night.
Setup was pretty simple and it was only Hardhat’s “Hello, world!”/Greeter example, but it was all written, compiled, tested with coverage, and “deployed” on the Hardhat network so I’m happy. Not sure what’s next on this adventure but felt like sharing here.
3
u/Hamtron2000 Nov 21 '21
You gotta do cryptozombies.io
A really engaging way to learn. You’re welcome!
1
u/Hyperspace290 Nov 21 '21
I actually remember when that tutorial came out ages ago. I read through it but never got hands on with the code. At this point I feel like I’ve grown past it, knowledge wise, but I may revisit it just to brush up and see if it’s been updated since the last time I laid eyes on it. Thanks for the reminder!
13
u/Vorondil69 Nov 21 '21
Nice work. That's the way to get started. In addition to the other suggestions, I'd really encourage you to try the OpenZeppelin Ethernaut challenge. It's a great way to learn how smart contracts can be exploited and how to secure your smart contracts against those attacks. You can find it here https://ethernaut.openzeppelin.com/
I'd also suggest taking a look at the Truffle Suite if you haven't already.
10
1
u/joeyGibson Nov 22 '21
Good for you! I've been screwing around with Solidity + Truffle, and have deployed some samples against Ganache, but I don't actually have any ideas for a real project.
1
1
1
0
Nov 22 '21
This sub went from people discussing on-chain typedef libraries and security vulnerabilities to "i dind heelo world, pleas lok at me". There's nothing wrong with it per se, but the sub's quality has taken a nosedive.
1
u/hashbreaker Nov 22 '21
All subs get that white noise after a while, try sorting by new or controversial to find more interesting posts.
3
Nov 21 '21
[removed] — view removed comment
1
u/Hyperspace290 Nov 21 '21
Yeah, I’d forgotten about the testnetsto be honest. I’d heard of tools like Alchemy and Infura. I’d like to get to the point where I’m running my own node(s) but that’ll require some more hardware then what I’m running right now.
3
u/crypto-tokyo Nov 21 '21
cool! whats next?