OfficialRegistryConfig
Defined in: packages/sdk/src/official-registry/types.ts:50
Properties
Section titled “Properties”attachAttestations?
Section titled “attachAttestations?”
optionalattachAttestations?:boolean
Defined in: packages/sdk/src/official-registry/types.ts:78
Load ERC-8176 attestation JSON from registry/<project>/sigs/ next to
each official descriptor. Default false (keeps unit-test mocks simple).
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: packages/sdk/src/official-registry/types.ts:64
Prefix before /{pin|ref}/{path}. Defaults to GitHub raw for the official repo.
cache?
Section titled “cache?”
optionalcache?:DescriptorCache
Defined in: packages/sdk/src/official-registry/types.ts:66
Optional durable cache (fs / IndexedDB). Memory cache is always on.
fetch?
Section titled “fetch?”
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: packages/sdk/src/official-registry/types.ts:68
Injected fetch (tests, custom gateways). Defaults to globalThis.fetch.
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
indexes?
Section titled “indexes?”
optionalindexes?:OfficialRegistryIndexes
Defined in: packages/sdk/src/official-registry/types.ts:73
Caller-owned index objects (from fetchPrebuiltRegistryIndex). When set, those files are not fetched again.
optionalpin?:string
Defined in: packages/sdk/src/official-registry/types.ts:56
Full 40-character git commit SHA. When omitted (and ref is unset),
defaults to VENDORED_REGISTRY_COMMIT. Never pass master / main
here — use ref for a floating branch or tag.
optionalref?:string
Defined in: packages/sdk/src/official-registry/types.ts:62
Explicit branch or tag (for example "master"). Opt-in floating ref for
local development. Mutually exclusive with pin. Production wallets
should pass an explicit pin SHA instead.