Diff implements transaction building in the sendXec function using the @bitgo/utxo-lib library, a BitGo maintained wrapper of bitcoinjs-lib
This diff involved experiments to get bitcoinjs-lib to work straight-up. This failed as I could not get the tiny-secp256k1 library to work in React, despite their provided example at https://github.com/bitcoinjs/tiny-secp256k1/tree/master/examples/react-app
Bitgo evidently had a similar issue and uses the Noble library.
The Bitgo library added eCash support ~5 months ago. The library itself is well maintained and used in production by many enterprises. Imo it's a better starting point than the current state of ecashjs-lib, which is forked from bitcoincashjs-lib.