Skip to content

Build key factory deployment event indexing and registry API #983

Description

@Chucks1093

Summary

Index KeyDeployed events from the factory contract and expose a registry API for looking up all keys deployed by a creator and validating that a key address was deployed through the official factory.

Scope

  • GET /factory/keys?creator= — all keys deployed by creator wallet
  • GET /factory/keys/:contractAddress — validates factory origin and returns key summary
  • KeyDeployed events indexed with contract address, creator, and timestamp
  • is_factory_key flag included on all key API responses
  • Registry updated in real time from contract event stream

Acceptance Criteria

  • Creator key list returns all factory-deployed keys in deployment order
  • Contract address lookup returns correct key summary and factory flag
  • KeyDeployed events indexed without duplication
  • is_factory_key flag correct on all key responses
  • Non-factory keys return is_factory_key: false without error

ETA

12 hours

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions