Przegląd
Crumbs is a dApp that lets you leave and view permanent, on-chain comments on any website, enhancing communal web interaction.
If you played Elden Ring, you know how useful/fun the messages left by other players are. This is the same concept but for the web. The crumbs is a dApp that allows users to create small comments on any website they wish to. All comments commitment is permanently stored on chain and can be view by anyone. [Crumbs website](https://crumbs.eurekonomicon.com/) ## How it works Each website is represented by a unique hash that is generated by the website's URL. ```sh cast keccak "https://amazon.com" # returns 0x8f27e3e37487112bee4cf14def31d887af3a99e26bf5ec708e3e14860b4a8546 ``` The user can then create a comment on the website by signing the hash of the website and the comment itself. ```sh cast keccak "common jeffrey you can do it" # returns 0x5483c75da019b9e9df6e65578e208793759ac3e3e1f4e0fbc9e5b92f85ffa293 ``` The user can then submit the comment to the contract by calling the `storeComment(bytes32 _url, bytes32 _commentHash)` function with the hash of the website and the comment. The comment is then stored on chain and can be viewed by anyone. Technically, there is no reason why you shouldn't be able to send the commitment of entire Kalevala to the chain, but as of now, I won't be indexing offchain any comment that is larger than ~280 characters. To view the comment content, we need a hash to value dictionary, which is stored offchain.
5 na 52 oceny
Google nie sprawdza opinii. Dowiedz się więcej o wynikach i opiniach.
Szczegóły
- Wersja0.0.4
- Zaktualizowano4 sierpnia 2024
- Rozmiar245KiB
- JęzykiEnglish
- DeweloperWitryna
E-mail
wajdzik.martin@gmail.com - Osoba niebędąca przedsiębiorcąTen deweloper nie określił, że jest przedsiębiorcą. Pamiętaj, że prawa konsumentów nie obowiązują w przypadku umów zawartych między tym deweloperem a konsumentami z Unii Europejskiej.
Prywatność
Ten wydawca oświadcza, że Twoje dane
- nie są sprzedawane osobom trzecim (z wyjątkiem uzasadnionych przypadków)
- nie są używane ani przesyłane w celach niezwiązanych z podstawową funkcją produktu,
- nie są używane ani przesyłane w celu ustalenia zdolności kredytowej lub udzielania pożyczek.
Pomoc
Jeśli masz pytania, sugestie lub problemy, wejdź na stronę pomocy dla deweloperów