Inspiration
I wanted to make a stock market safer and without third party involvement so investors' assets would be safe from hacker attacks. In addition, I wanted to make the investment field more transparent so investors would know how their funds are being used and everything would be open source as well as secure.
What it does
This decentralized application allows users to invest in startups with cryptocurrencies through MetaMask
How we built it
I used Solidity for a back-end and React.js for a front-end. To verify the smart contract I used the BSC Scan that allows storing a smart contract to a test network(blockchain). Furthermore, I injected MetaMask testnet into the user interface where users can verify that they are willing to buy stocks. To run unit tests for smart contract I used Foundry. Lastly, I used hardhat.js to add back-end to the front-end.
Challenges we ran into
I have never used the React.js for building a user interface thats why I faced a lot of bugs with designing an interface. Moreover, I had challenge with MetaMask, it would take amount of money for every startup in the webpage, so MetaMask would take double value from the initial input of the user. Thirdly, I had a issue with combining back-end with front-end, my user interface was not connecting to the MetaMask account that's why I needed to raed documentation of the hardhat.js
Accomplishments that we're proud of
I am really proud that I managed to verify the smart contract in the BSC Scan. Furthermore, I am happy with my performance in designing a UI and writing unit tests. Lastly, I am proud of my final results of combining my code front-end with back-end.
What we learned
First of all, I learned the new front-end framework(React.js) and now I am able to build websites much better. Secondly, I learned how to write unit tests with hardhat.js which helped me to make my decentralized application secure from hackers' attacks. Lastly, I gained time management skills like critical thinking, identifying and fixing bugs, and debugging complex issues.
What's next for MetaInvest
The next part is to add more features to the website like what kind of innovations this DApp uses and allowing start-up makers to add videos about their start-up description. In addition, MetaInvest needs its own database to handle users' accounts and passwords. Moreover, this application needs two-factor authentification two make it unbreakable to hackers.
Built With
- bscscan
- ethereum
- foundry
- github
- hardhat
- javascript
- metamask
- react
- solidity
Log in or sign up for Devpost to join the conversation.