UNPKG

@nomyx/hardhat-adminui

Version:

A comprehensive Hardhat plugin providing a web-based admin UI for deployed smart contracts with Diamond proxy support, contract interaction, event monitoring, and deployment dashboard.

12 lines (11 loc) 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = default_1; async function default_1(fastify, hre) { fastify.get("/scenarios/ws", { websocket: true }, (connection, req) => { connection.socket.on("message", (message) => { // For now, just echo the message back connection.socket.send(`Received: ${message.toString()}`); }); }); }