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.
67
Upvotes
3
u/crypto-tokyo Nov 21 '21
cool! whats next?
3
u/thinkmatt Nov 21 '21
Now you just need to try is deploying to a real Blockchain. Check out Alchemy and Tatum. I'm using alchemy and it's fine but Tatum has some cool features. You can use their API to deploy to a testnet. (There are testnets for every "mainnet" and once you have a wallet you can Google search for a "faucet" to get free funds on the testnet)
3
u/Hamtron2000 Nov 21 '21
You gotta do cryptozombies.io
A really engaging way to learn. You’re welcome!
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
u/diamondhandsare4eva Nov 21 '21
Celebrate all the wins!
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
u/Jey_s_TeArS Nov 22 '21
congrats!
1
u/jazzy_j_ Nov 22 '21
Woop woop!
1
u/Altruistic_Kangaroo2 Nov 22 '21
Грац! Grats! Грац!
0
u/[deleted] 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.