xrpl.js
xrpl.js copied to clipboard
Add hashing for all ledger entry types
Batch can sometimes require you to know the hash of the ledger entry object before processing therefore I would recommend we add the hashing functionality for all ledger objects into this repo so that developers don't need to build their own hashing functions.
There are multiple examples here but it doesn't cover all of them.
https://github.com/XRPLF/xrpl.js/blob/main/packages/xrpl/src/utils/hashes/index.ts
To create the new ones go to the Indexes.cpp file and fill in the ones that are missing.
For the LedgerSpaces.ts scroll to the top of the Indexes.cpp file and you will see them.