createOfficialRegistry
createOfficialRegistry(
config?):OfficialRegistry
Defined in: packages/sdk/src/official-registry/create.ts:32
Registry client for the Ethereum clear-signing catalog.
Omit pin and ref to use VENDORED_REGISTRY_COMMIT. Pass pin for
a commit SHA. Pass ref only for a local floating branch or tag.
Parameters
Section titled “Parameters”config?
Section titled “config?”Returns
Section titled “Returns”Example
Section titled “Example”import { createOfficialRegistry } from '@erc7730/sdk';
const registry = createOfficialRegistry();Throws
Section titled “Throws”OfficialRegistryError INVALID_PIN or INVALID_REF when
pin and ref are both set or not usable, and REGISTRY_FETCH_FAILED
when this runtime has no fetch.