Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YT link to video in readme #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ First, it splits the data into `chunks` that have maximum 4KB payload by default
If the payload byte length cannot fit exactly to this chunk division, the rightmost chunk's data will be padded with zeros in order to have fixed length data for the BMT operations.

This basic unit is also required to effectively distribute data on decentralized storage systems with regard to _plausible deniability_, _garbage collection_, _load balancing_ and else.
For more details, please visit [Etherem Swarm]() webpage that has full implementation of this logic.
For more details, please visit [Etherem Swarm](https://www.ethswarm.org/) webpage that has full implementation of this logic.

The used hashing algorithm is the `keccak256` function that results in a 32 bytes long `segment`.

Expand Down Expand Up @@ -49,6 +49,12 @@ To get these inclusion segments, the library collects all required segments from

![Inclusion proof](./docs/inclusion-proof.png)

![YT vid](./docs/nugaon_present.png)

## [Click here to watch our explanation in YouTube](https://www.youtube.com/watch?v=1FprAt0VTxI)



# API

You can import the followings directly from `@fairdatasociety/bmt-js`:
Expand Down
Binary file added docs/nugaon_present.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.