Created on 26th June 2023
•
Arkway is a decentralized and distributed file storage solution designed to keep your files secure and encrypted. With Arkway, you can store your valuable data with peace of mind, knowing that it is protected from unauthorized access.
Arkway operates by using access control conditions to decrypt data securely. For example, Arkway utilizes a simple authentication signature, known as an authSig, which confirms that the user possesses a specific wallet address.
When a file is uploaded to Arkway, its metadata is encrypted using the authSig. This encryption process generates a symmetrical key and an encrypted string. The encrypted symmetrical key is then stored on Polybase, our decentralized database.
When it comes time to decrypt the file, we use the encrypted symmetrical key to obtain symmetrical key using authentication signature and then decrypt the encrypted string and provide access to the file's contents.
During the development of our project, we encountered a common challenge known as "prop drilling," which involved passing states down the hierarchy. This hurdle arose when we needed to pass the authorization signature for verification throughout the project's components.
To overcome this issue, we implemented a global lit context. By utilizing this context, we were able to efficiently pass the authorization signature down the component tree without the need for excessive prop drilling. This approach streamlined the process and ensured that the necessary data was accessible wherever it was required.
By leveraging the global lit context, we successfully resolved the prop drilling problem and improved the overall efficiency and maintainability of our project. This solution allowed us to focus on other aspects of development and ensured a smoother workflow throughout the project.
Tracks Applied (5)
Polygon
Polygon
Filecoin
Technologies used