Skip to content

feat: add GET /resolve-hash/:hash content-addressed lookup#3

Open
stegaBOB wants to merge 1 commit into
masterfrom
stegaBOB/feat/resolve-hash
Open

feat: add GET /resolve-hash/:hash content-addressed lookup#3
stegaBOB wants to merge 1 commit into
masterfrom
stegaBOB/feat/resolve-hash

Conversation

@stegaBOB
Copy link
Copy Markdown
Collaborator

Adds a read-only endpoint that returns every signer's verified-build claim for a given executable hash. Implemented as a join over the existing verified_programs + solana_program_builds tables — no new schema beyond a partial index on verified_programs(executable_hash) WHERE is_verified.

Consumers can hash any bytes (deployed program, buffer, local .so) and resolve them against the directory without the API caring how the bytes were obtained.

Adds a read-only endpoint that returns every signer's verified-build claim
for a given executable hash. Implemented as a join over the existing
`verified_programs + solana_program_builds` tables — no new schema beyond
a partial index on `verified_programs(executable_hash) WHERE is_verified`.

Consumers can hash any bytes (deployed program, buffer, local .so) and
resolve them against the directory without the API caring how the bytes
were obtained.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant