UNPKG

@dappnode/dappnodesdk

Version:

dappnodesdk is a tool to make the creation of new dappnode packages as simple as possible. It helps to initialize and publish in ethereum blockchain

11 lines (10 loc) 482 B
/** * Validates if a given dnpName follows the expected structure. * Expected format: <name>.<dnp|public>.dappnode.eth * * @param {string} dnpName - The DAppNode package name to validate. * @returns {boolean} - Returns true if the dnpName is valid, false otherwise. */ export declare function isValidDnpName(dnpName: string): boolean; export declare function validateDnpName(name: string): void; export declare function validateVariantsInput(input: string): boolean | string;