You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,14 @@ Merkle Trees are data structures which became especially famous in the context o
5
5
In general you can use Merkle Trees to proof / validate that a specific element is available at a specific index within an array (block, ...) - without the need to load the elements themselves.
6
6
7
7
## Usage Example
8
-
9
8
```sh
10
-
11
9
deno run https://deno.land/x/merkletrees/usage-example.ts
console.log(`we can be pretty sure that ${investigatedEntry} is in the array at index: ${exampleArray.indexOf(investigatedEntry)}`)
31
26
}
32
-
33
27
```
34
28
35
29
For more sophisticated examples please check the [unit tests](https://github.com/distributed-ledger-technology/merkle-trees/blob/main/src/merkle-tree.spec.ts).
36
30
37
31
## Unit Tests / Executable Specifications
38
-
39
32
You can also execute the [unit tests](https://github.com/distributed-ledger-technology/merkle-trees/blob/main/src/merkle-tree.spec.ts) via:
40
33
41
-
42
34
```sh
43
-
44
35
deno test https://deno.land/x/merkletrees/src/merkle-tree.spec.ts
45
-
46
36
```
47
37
48
38
## Explaining Merkle Trees in General
@@ -57,3 +47,8 @@ and blocks added after it further confirm the network has accepted it.
57
47
58
48
Check the [Bitcoin Whitepaper](https://bitcoin.org/bitcoin.pdf) and [this video](https://www.youtube.com/watch?v=Lx9zgZCMqXE) to explore the whole game.
59
49
50
+
## Donations
51
+
Thanks to [Freedom Cash](https://FreedomCash.org), we are already free.
52
+
If you want to donate, you might consider donating to the [otherparty.co.uk](https://www.otherparty.co.uk/donate-crypto-the-other-party) to ensure people do not need to donate to victims but rather donate successfully to problem solvers.
0 commit comments