Decentralized File Storage.

What has been added by myself

  • In DStorage.sol: modifier verifiesHash(string memory _fileHash) to verify that file hash is 32 bytes & base58
  • StringUtils.sol: getCharsAt() retrieve a char in a string
  • tests:
    • getCharsAt() returns correct chars
    • modifier verifiesHash(string memory _fileHash) works

🔧 Project Diagram (from Dapp University):

Project Diagram