← Solana

🎯 Anchor Discriminator

Compute the 8-byte discriminators Anchor puts in front of instruction data, accounts and events.

Discriminator = first 8 bytes of SHA-256("<namespace>:<name>").