Labels: Soroban, Stellar Wave, contract, hook, dx
Complexity: Medium (150)
Description
Hook registration, an allowlist, and failure isolation exist, but there is no published interface or example implementation, so an external integrator has to read hook.rs and guess the expected signature and semantics.
Acceptance Criteria
- A documented trait or interface defines what a hook contract must implement.
- A minimal reference hook contract is committed and builds in the workspace.
- Integration tests register the reference hook and exercise success and failure paths.
- Documentation covers hook invocation ordering, failure isolation behaviour, and resource limits.
Labels: Soroban, Stellar Wave, contract, hook, dx
Complexity: Medium (150)
Description
Hook registration, an allowlist, and failure isolation exist, but there is no published interface or example implementation, so an external integrator has to read
hook.rsand guess the expected signature and semantics.Acceptance Criteria