Skip to content

Commit

Permalink
Keep notes in API section
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Feb 28, 2024
1 parent 69ea145 commit 0a2e3d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ However, some trees are constructed iteratively from unsorted data, causing the

## API & Examples

> **Note**
> Consider reading the array of elements from a CSV file for easy interoperability with spreadsheets or other data processing pipelines.
#### `StandardMerkleTree.load`

> **Note**
> By default, leaves are sorted according to their hash. This is done so that multiproof generated by the library can more easily be verified onchain. This can be disabled using the optional third argument. See the [Leaf ordering](#leaf-ordering) section for more details.
### `StandardMerkleTree`

```typescript
Expand Down

0 comments on commit 0a2e3d0

Please sign in to comment.