๐ Policy ID
Compute the policy ID (script hash) of a native script, the kind of minting policy most tokens and NFTs use.
Script types
sig requires a signature from the key with that hash. all, any and atLeast combine scripts.
before allows minting only before the given slot, which is how NFT policies lock their supply; after only from that slot.
The policy ID is Blake2b-224 of a 00 tag byte followed by the script's CBOR. Changing anything, even the slot, gives a different policy.