Tu USDC está generando intereses al tipo de interés de ayerQuicknode lo traslada automáticamente a la mejor bóveda de Morpho del día. En tiempo real en 7 cadenas.
Elabora tu estrategiaETH-Ping — Let me ping your Ethereum Node!
At Quicknode, we always think of our customers and the problems they encounter using Web3. We recently started noticing that some were facing a problem with monitoring their Ethereum Node status.

February 3, 2019 — 3 min read

At Quicknode, we always think of our customers and the problems they encounter using Web3. We recently started noticing that some were facing a problem with monitoring their Ethereum Node status.

The team quickly decided to write a script which would help customers (or anyone, really) monitor their Ethereum node connection status. Is the Node responding to RPC requests or not?

Checking if your Ethereum node is alive or not? . Contribute to buddies2705/Eth-Ping development by creating an account on GitHub.
What does the Script do?
The script continuously calls “eth_blockNumber” every 15 seconds and checks if the Node is responding properly or not. If something is off, you can have it send you an email notification, so you can take appropriate action.
We have added a config.json which you need to change accordingly.
rpcURL — Add your Node RPC URL
email — Add Your Email
password — Add Your Email Password
recipient- Add recipients URL
emailSubject — Add email subject
emailText — Add email Text
emailHtml — Add email text in HTML (if this is configured, our script will ignore above plain email text (emailText))
Allow less secure app if you want to use Gmail mail service; follow this doc and Change account access for less secure apps
We are using Gmail, so you need to change a security setting for your Gmail account (please check this doc). Also, you need to change a few variables, such as adding your node URL and Gmail username & password. Also, change ‘from’ and ‘to’, and other things accordingly related to the mail which will get sent when the script detects that your node is down.
Once the configuration is done we can test our email setup by running below command.
npm run testmail
You need to install NodeJs and clone the repository.
Check this for installing NodeJs
git clone https://github.com/buddies2705/Eth-Ping npm install npm start
We recommend you to use PM2 to run above script, as it restarts the script if it gets crashed for XYZ reason.
We will be tweaking it over time and encourage you to use this script. Feedbacks, Comments, and Pull Requests are welcome!
¿Necesitas ayuda con tu proyecto o tienes alguna duda? Ponte en contacto con nosotros a través de este formulario, en TwitterQuicknode o envíanos un mensaje en Discord.
Fundada en 2017, Quicknode una infraestructura de blockchain de nivel institucional para desarrolladores y empresas. Con un tiempo de actividad del 99,99 % y compatibilidad con más de 80 cadenas, los equipos pueden crear y ampliar aplicaciones en cadena sin renunciar a nada.
Las últimas novedades sobre ingeniería, actualizaciones de productos y noticias sobre la Web3, directamente en tu bandeja de entrada.
Certificado SOC 2 Tipo II · ISO 27001