Policy hash in python

My guess is that you’d need to serialize it to CBOR according to the CDDL specs for native scripts and then compute the hash.

1 Like