Skip to content

SC-W8-18: Reference Hook Contract and Trait Interface #879

Description

@Cedarich

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SorobanStellar WaveIssues in the Stellar wave programcontractAuto-createddxAuto-createdhookAuto-created

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions