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

@aztec/archiver

Package Overview
Dependencies
Maintainers
6
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aztec/archiver

Archiver is a service which is used to fetch data on-chain data and present them in a nice-to-consume form. The on-chain data specifically are the following events:

  • 0.52.0
  • npm
  • Socket score

Version published
Weekly downloads
278
increased by23.01%
Maintainers
6
Weekly downloads
 
Created
Source

Archiver

Archiver is a service which is used to fetch data on-chain data and present them in a nice-to-consume form. The on-chain data specifically are the following events:

  1. L2BlockProposed event emitted on Rollup contract,
  2. MessageAdded event emitted on Inbox contract,

The interfaces defining how the data can be consumed from the archiver are L2BlockSource, L2LogsSource and ContractDataSource.

Usage

To install dependencies and build the package run yarn install followed by yarn build. To run test execute yarn test.

To start the service export ETHEREUM_HOST (defaults to http://127.0.0.1:8545/), ARCHIVER_POLLING_INTERVAL (defaults to 1000 ms), ROLLUP_CONTRACT_ADDRESS, INBOX_CONTRACT_ADDRESS environmental variables and start the service with yarn start.

FAQs

Package last updated on 02 Sep 2024

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