diff --git a/packages/faucet/src/actions/start.ts b/packages/faucet/src/actions/start.ts index 55c6509c..63c13fef 100644 --- a/packages/faucet/src/actions/start.ts +++ b/packages/faucet/src/actions/start.ts @@ -45,4 +45,5 @@ export async function start(args: readonly string[]): Promise { console.info("Creating webserver ..."); const server = new Webserver(faucet, { nodeUrl: blockchainBaseUrl, chainId: chainId }); server.start(constants.port); + console.info(`Try "curl -sS http://localhost:${constants.port}/status | jq" to check the status.`); } diff --git a/packages/faucet/src/faucet.ts b/packages/faucet/src/faucet.ts index 6db469f2..efe71bb3 100644 --- a/packages/faucet/src/faucet.ts +++ b/packages/faucet/src/faucet.ts @@ -119,7 +119,7 @@ export class Faucet { public async refill(): Promise { if (this.logging) { - console.info(`Connected to network: ${this.readOnlyClient.getChainId()}`); + console.info(`Connected to network: ${await this.readOnlyClient.getChainId()}`); console.info(`Tokens on network: ${this.loadTokenTickers().join(", ")}`); }