How to build predicate ad create abi for predicate?

@danielbate Thanks a lot! Can you please check this topic too?