Motivation: Simplify generating ledger entry keys for contract state access.
Proposed approach:
- Provide helper functions to derive ledger entry keys from contract identifiers and keys; add tests across supported types.
Acceptance criteria:
- Key generation utilities are implemented and tested.