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

20 lines (19 loc) 541 B
/** * Returns the formated ID of a docker image * * @param imageTag i.e. admin.dnp.dappnode.eth:0.1.14 * @param shell dependency * @return formated ID: sha256:0d31e5521ef6e92a0efb6110024da8a3517daac4b1e4bbbccaf063ce96641b1b */ export declare function getImageId(imageTag: string): Promise<string>; /** * Returns current image IDs in the docker cache * @returns [ * "6b74b6ba423e, * "4a67065ab84a", * "d112c75f4189", * "cd25b55c48fd", * "5480cec82e92" * ] */ export declare function getImageIds(): Promise<string[]>;