您的USDC正在按昨天的利率产生收益Quicknode 会自动将其转移到今日最佳的 Morpho 保险库中。已在 7 条链上上线。
制定您的策略ETH-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!
项目需要帮助或有疑问吗?请通过此表单、TwitterQuicknode 或在Discord 上联系我们!
Quicknode 成立于 2017 年,Quicknode 为开发者和企业Quicknode 机构级区块链基础设施。凭借 99.99% 的运行时间以及对 80 多条区块链的支持,各团队能够毫无妥协地构建和扩展链上应用。
将最新的工程见解、产品更新和 Web3 资讯直接发送至您的收件箱。
通过 SOC 2 II 类认证 · ISO 27001