There is a simplified version of [login to view URL] here: [login to view URL]
Create a version of it that supports Bitcoin Cash.
There is a PR for [login to view URL]: [login to view URL]
Unfortunately it only solves API problem, but doesn't solve the new tx format.
So there will be 2 milestones: integrate API from that PR into TSBW and solve the tx format problem.