Merkle Library for TS SDK - Is there documentation?

I’ve been trying to piece together the merkle tree implementation for ts by traversing the packages, such as :
https://github.com/FuelLabs/fuels-ts/blob/eacf394552523919713f3dea80e60b6423e93b5c/packages/merkle/src/binary/binaryMerkleTree.test.ts

Is there more documented somewhere?

Also it looks like merkle was never added to fuels-ts:

Hi @xpluscal thanks for opening this issue. Could you elaborate a bit more on what your overarching use case is?

The TS SDK implementation of the SMT is a sub module used within the SDK for internal operations and thus it isn’t exported as a public lib. It follows the Celesitia Sparse Merkle Tree specification and so from that perspective there isn’t much variance across the implementations in the various SDKs.

If you’d just like to read more documentation related to it feel free to peruse these links below:

Resolved. The issue was passing the args in reversed order…

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.