Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eth-optimism/balance-monitor

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eth-optimism/balance-monitor

[Optimism] Forta Agent that reports whether certain accounts have fallen below some balance

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Minimum Balance Agent

Description

A forta agent which detects when a specified account balance is below the specified threshold.

Installing and building

yarn && yarn build

Running

  1. Copy .env.example into .env and set the appropriate values.
  2. Copy forta.config.example.json into forta.config.json, and set the RPC endpoint (yes, this is duplicated in the .env file).
  3. yarn run start:prod

Alerts

  • OPTIMISM-BALANCE-DANGER-[ACCOUNT_NAME]
    • Fired when the specified account balance is below the configured DANGER threshold
    • Severity is always set to "high"
    • Type is always set to "info"
    • Metadata "balance" field contains amount of wei in account

Keywords

FAQs

Package last updated on 11 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc