Inspiration

As a student studying Computer science and Economics, I have always been fascinated by the intersection of technology and financial markets. The current rise of decentralized finance (DeFi) presented a unique opportunity and inspired me to merge my academic interests and create something impactful. Inspired by the potential of blockchain technology to democratize financial services, I decided to build StakeFI – a platform that simplifies the process of staking cryptocurrencies and earning rewards.

What it does

Here’s what StakeFI offers:

StakeFI allows users to stake their Tether (USDT) tokens on the Ethereum network. For staking USDT tokens, users earn Reward (RWD) tokens. The reward distribution is handled by the calculating and issuing rewards based on the amount(>=50 tokens) and the duration.

Easily track your staking and reward balances through an intuitive dashboard that provides real-time updates on your holdings.

Use simple, user-friendly methods to stake additional tokens or unstake your tokens whenever you choose.

How I built it

  • Solidity: To develop the core smart contracts for staking and reward distribution.
  • Truffle: For managing the development workflow, including compiling, deploying, and testing.
  • Ganache: Setting up a local blockchain environment for development and testing.
  • Web3.js: To connect the front-end with the Ethereum blockchain.
  • React.js/Javascript/Bootstrap: For building a dynamic, aesthetic and responsive user interface quickly.
  • MetaMask: An Ethereum wallet extension used for authenticating and signing transactions.

Challenges I ran into

Web3 Integration: Connecting the frontend to the blockchain and handling asynchronous transactions posed initial difficulties, which I overcame through extensive debugging and learning.

Deployment Issues: Encountering build errors during deployment on Vercel required troubleshooting and optimizing the build process. But, I was successfully able to deploy using Netlify!

Node Modules Issues: A problem I faced was managing node_modules as it proved to be a significant challenge. I encountered countless issues with package compatibility, corrupted modules, build, and deployment errors . This required me to meticulously debug, reinstall dependencies, and adjust my deployment scripts to ensure a smooth build process.

Accomplishments that I'm proud of

I'm proud of combining my passions for computer science and economics in this project. StakeFI represents the first step towards merging these interests and exploring the vast domain of decentralized finance.

Importantly, I'm also proud of this significant milestone in my journey as a developer, and what I've accomplished with this project, even though I wasn't able to finish everything I had planned.

What I learned

I learned a lot and deepened my understanding of blockchain technology, smart contracts, and decentralized applications. I was able to gain some expertise in integrating React with Web3 to create fun and seamless user experiences.

Most importantly, apart from the technical skills I gained invaluable lessons in managing a project from ideation to deployment, overcoming various technical and logistical challenges along the way.

What's next for StakeFi

In the future I plan on:

  • Building a price-tracking page for crypto assets to help users stay updated with the latest market trends in the rapidly growing cryptocurrency space.
  • Developing a trading page for crypto, enabling users to trade their favorite cryptocurrencies directly within our platform.
  • Integrating a crypto portfolio tracker, allowing users to keep track of their profits, losses, and portfolio valuation with our easy-to-use interface.

Built With

Share this project:

Updates