I'm having a hard time figuring out how to convert a hex string into a checksum256/capi_checksum256 (or vice versa), any help?
First of all, there is no vice versa in string or hex -> checksum or hash its only one way.
You cannot have string or hex back from checksum or hash. It only insures data integrity, not data authenticity
Secondly, Mitch has this great medium article on how it is done.
Here is the article
Repo for code is Here