UNPKG

@cheqd/sdk

Version:

A TypeScript SDK built with CosmJS to interact with the cheqd network ledger

18 lines 1.03 kB
import { Registry, GeneratedType } from '@cosmjs/proto-signing'; /** * Creates a default Cheqd registry with optional custom types. * The registry is used for encoding and decoding protobuf messages in blockchain transactions. * It includes all default Stargate types and any additional custom types provided. * * @param customTypes - Optional iterable of custom type mappings to add to the registry. * Each entry should be a tuple of [typeUrl, GeneratedType]. * @returns A configured Registry instance with default and custom types */ export declare function createDefaultCheqdRegistry(customTypes?: Iterable<[string, GeneratedType]>): Registry; /** * Pre-configured Cheqd registry instance with default Stargate types. * This is a ready-to-use registry for basic blockchain operations that don't require * custom message types. For applications needing custom types, use createDefaultCheqdRegistry instead. */ export declare const CheqdRegistry: Registry; //# sourceMappingURL=registry.d.ts.map