We need a way to parse text BCH addresses to byte arrays in python. The Electron Cash code may be worth looking at.