UNPKG

@ethersphere/bee-factory

Version:

Local Ethereum Swarm development stack

19 lines 771 B
import { NodeConfig } from '../config'; /** * Generates an Ethereum keystore V3 file for a Bee node private key, * writes it to /tmp/bee-factory/keys/bee-{n}/ and returns that directory path. * * Bee expects the keystore directory to contain a file named after the * Ethereum address (lowercase, no 0x prefix) and the file content to be * a standard eth_keystore JSON object. */ export declare function generateKeystore(node: NodeConfig): Promise<string>; /** * Generate keystores for all provided nodes in parallel. * Returns an array of { node, keystoreDir } objects in the same order. */ export declare function generateAllKeystores(nodes: NodeConfig[]): Promise<Array<{ node: NodeConfig; keystoreDir: string; }>>; //# sourceMappingURL=index.d.ts.map