diff --git a/src/index.ts b/src/index.ts index 6458a65..601fd87 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,6 +32,7 @@ let rpc: RpcNetwork; addHandler("presentKey", handlePresentKey); addHandler("register", handleRegister); addHandler("status", handleStatus, { receiveUpdates: true }); +addHandler("name", handleName); addHandler("ready", handleReady); [ @@ -212,3 +213,6 @@ async function handleStatus(aq: ActiveQuery) { sendUpdate(); } +function handleName(aq: ActiveQuery) { + aq.respond("Ethereum"); +}