@aztec/archiver
TypeScript icon, indicating that this package has built-in type declarations

0.63.1 • Public • Published

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_MS (defaults to 1000 ms), ROLLUP_CONTRACT_ADDRESS, INBOX_CONTRACT_ADDRESS environmental variables and start the service with yarn start.

Readme

Keywords

none

Package Sidebar

Install

npm i @aztec/archiver

Weekly Downloads

387

Version

0.63.1

License

none

Unpacked Size

650 kB

Total Files

106

Last publish

Collaborators

  • ludamad
  • joss-aztecprotocol
  • zac-williamson
  • leilawang
  • charlielye
  • jaosef