✨ Inspiration

AEStaker was inspired by this hackathon, although I have always had an interest in building staking applications in the decentralized world.

🎗What it does

AEStaker is a decentralized staking and borrowing app, where users can stake and borrow AE tokens using superhero wallet extension.

Home Page

screenshot

Staking Page

This page contains the balance of AE tokens you have in your superhero wallet, all the staking you have done so far, and the days remaining for you to withdraw your staked tokens with interest.

Note:- If you withdraw your tokens before the deadline, no interest will be sent to you.

scrrenshot

Basically, you can stake any amount of AE tokens you want by clicking on the Stake your tokens button below the staking page. And that will take you to the page where you will get to choose the staking plan that is best for you.

screenshot

Click on the `Get Started button below in the staking plan card, and a modal will appear for you to input the amount of AE tokens you want to stake.

screenshot

Borrowing Page

This page is where you borrow AE tokens from us. But before we lend a token to you, you have to use an NFT you own as collateral. Fill out the form on this page with your superhero wallet address, your email, the amount of AE tokens you want to borrow, and the link to the NFT you wish to use as collateral and submit it. We will review your request and let you know if we can lend the tokens to you.

screenshot

Debt page

This is where you pay the debts you owe us. Fill out the form on this page with the superhero wallet address you used to borrow funds from us and the amount of AE tokens you borrowed, including the interest.

screenshot

How we built it

🛠 Technology Stack & Tools

  • Sophia (Writing Smart Contract)
  • Javascript (NextJs & Unit Testing)
  • aepp-sdk (Blockchain Interaction)
  • aeproject (Smart Contract Development Framework)

Challenges we ran into

aeproject setup and Sophia:- This is my first time writing the smart contract with Sophia programming language, it was hard for me to work with at first because I'm used to coding with solidity, but with time I got used to it, and with some help from aeternity forum, I was able to finish this project.

Accomplishments that we're proud of

  • Being able to complete 90% of the project we had in mind is a great accomplishment.
  • Overcome technical challenges to accomplish goals.
  • Gain a lot of in-depth knowledge about aeternity blockchain and finance.

What we learned

Throughout the journey, we learned to ;

  • Build a complete daepp on aeternity blockchain.
  • Deploy a Smart Contract and the concept of it on aeternity blockchain.
  • Understand the Crypto Payment model & usage on a Defi app.
  • General knowledge of libraries and APIs in various languages.
  • Technical knowledge of how to solve existing problems.

What's next for aeStaker

  • Move from Testnet to Mainnet

  • Fix Bugs and add more features to aeStaker to make it more interactive.

  • Develop API for Developers to easily interact with our data.

Built With

  • aecli
  • aeproject
  • nextjs
  • sophia
Share this project:

Updates