Lazily import the @xrplf/mpt-crypto dependency, caching the resolved module
so the WASM binary is only loaded once. The import is dynamic on purpose: the
~2 MB WASM is fetched and instantiated only on this call, so apps that never
invoke a confidential builder never load it, even though the builders are
exported from xrpl.
The resolved @xrplf/mpt-crypto module.
Confidential MPT (XLS-0096) integration layer, re-exported from
xrpl's main entry point. High-level builders assemble each confidential transaction (querying ledger state, generating shared-blinding ciphertexts, commitments, and ordered zero-knowledge proofs) so callers never hand-build the cryptographic material.The crypto lives in the
@xrplf/mpt-cryptodependency, reached only through a dynamic import, so its ~2 MB WASM is loaded lazily — only when a confidential builder actually runs, not onimport 'xrpl'.