This version is deprecated, check new one here
Easing your Filecoin storages
Explore the Project »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Eastore, a decentralized storage marketplace and full-sector bounty rewarder. Bringing filecoin deals to your fingertips through Eastore. This is made using Filecoin Virtual machine and uses its miners to store and retrieve data, completely decentralized. You can view our project in depth at devfolio.
Team - lordshashank
me-loser
So as to run our project locally, you need to follow the steps below.
First of all you need to havee a lotus node running on your system. You can follow the steps given at [https://docs.filecoin.io/developers/infrastructure/how-tos/spin-up-a-lite-node/] to do so.
Then you have to get authentication token which you have to put in .env file in the backend directory of this repo.
- Get a free Moralis API Key at https://moralis.io
- Clone the repo
git clone https://github.com/lordshashank/Eastore
- Install NPM packages on both backend and frontend folders
npm install
- Enter your API in
.env
of frontend directoryMORALIS_API_KEY= "your api key" APP_DOMAIN=authetication.sha NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET= "your secret"
- similarly get Lotus authentication token and put it in .env file in backend directory
- Run the project in frontend using
npm run dev
- Run the project in backend using
npx nodemon app.js
- You can now view the project at
http://localhost:3000
Also we have made a directory for smart contracts deployed by us using FEVM hardhat kit at [https://docs.filecoin.io/developers/smart-contracts/hardhat/]. we just have added one contract in it which is [https://github.com/lordshashank/Eastore/blob/master/contracts/contracts/cashback.sol] which is used to give cashback to the users who have bought full sectors on FVM.
We didn't find any storage marketplace for newly made hyperspace network, and user had to interact with lotus CLI to get a nominal deal-id to work on. Thus, we tended to solve this problem.
This was just beginning, we then realised that file storage system is quite unorganised in FVM, thus started thinking of ideas to make it easy and profitable for both users and miners. First, we built a minimal storage interaction system that interacts with FVM storage providers to store and retrieve user data easily. We created an interactive frontend to give users a smooth experience of storing and retrieving there data.
It is difficult for the users to find just the right deal on filecoin ecosystem. There are issues related to storage size or lifetime or storage and many more. Eastore
helps you get the deals as per your requirement through the extensive filters our site provides. It also helps you get great rewards for your deals.
Then, we thought that all users might not have FIL tokens to work with. Thus we integrated many chains into our dapp, now, user can pay in with eth, avax, etc in to get a deal on the filecoin network. This reduces customer's friction and increases market manifolds. Although, we provided additional benefits for users using the FIL token so as to incentivize people to join the network.
Afterwards, we came to know about sectors in FVM. We understood that completely filled sectors were quite beneficial for storage providers and the filecoin network. Sectors being sealed by filling trash data fills trash in filecoin network and is also space wastage for storage providers. Thus, we introduced discount features in deals. If users completely fill the sector with their data, they will be provided cashback of certain amount. This way network's utility can be pivoted.
Moreover, in future we aim to include feature where users can put there files along with other users until the total aggregate fills the complete sector, and then the deal is published on chain. We also aim to put off-chain miner interactions in our dapp.
For more examples, please refer to the Documentation
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Eastore - @lordshashank
Project Link: https://github.com/lordshashank/Eastore
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!
- The ETHForAll team was of great support to us and provided relevant information throughout this fornight long hackathon
- Our doubts were aptly solved, but the discord server could have been a bit more active to our doubts.
- Finally, kudos to the team for the great work
surfer05
lordshashank
1010adigupta
me-loser