Inspiration
Back when I was doing my Survey paper, sharing of files was a tough job because we would always have to rely on Google Drive. It is centralized with limited storage. Once the drive storage was full, we had to look for other sources of storage. This gave rise to StoreD, a decentralized storage with permit access on files and data using ethereum address.
What it does
StoreD is a decentralized file sharing mechanism which allows two parties to share file with each other using the wallet addresses. It is powered by Filecoin for storing and retrieving using web3.storage, IPFS for the client IDs, Polygon for deploying. StoreD is built with consideration for NFT communities and DAOs to store and share file without the hassle of manuallying sharing it.
How we built it
The webapp was built using monorepo architecture where we used turborepo for monorepo management. The frontend for the web app can be found under app/web directory and the smart contracts can be found under packages/hardhat project directory. For the web app we used Next.js and tailwindcss and our web3 stack was hardhat, solidity, Filecoin, IPFS, web3.storage and Polygon.
Challenges we ran into
Hardhat was not working on one team mates machine due to OS incompatibility. We also faced issues while deploying on hardhat. Smart Contract development had a learning curve for us.
Accomplishments that we're proud of
We developed and deployed a successful smart contract on polygon which stores data for users maintaining an access control list based on user's wallet address. We successfully stored data on Filecoin using web3.storage.
What we learned
Working on solidity was a new experience and I learned a lot. Brainstorming and getting into the solution was a big yay for us.
What's next for StoreD
The next steps for StoreD includes adding an edit option for the files where users can edit files in real time with each other, on a libp2p socket connection. We are also planning to use the Chainlink vrf v2 to generate token for authentication.
Built With
- filecoin
- hardhat
- ipfs
- nextjs
- polygon
- react
- solidity
- tailwindcss
- turborepo
- typescript
- web3.storage
Log in or sign up for Devpost to join the conversation.