项目作者: AmplifyEconomy

项目描述 :
A way to parse snapshots and archive snapshots with AWS SDK compatible drivers.
高级语言: TypeScript
项目地址: git://github.com/AmplifyEconomy/snapshots.git
创建时间: 2021-03-25T16:32:31Z
项目社区:https://github.com/AmplifyEconomy/snapshots

开源协议:

下载


Arweave Gateway Snapshots

License
Build Status
codecov

A way to parse snapshots and archive snapshots for Arweave and upload them to the Akash Network.

Configuration

Update the configuration file with the appropriate urls.

  1. LEGACY_TRANSACTIONS=/arweave/legacy/transaction.csv
  2. OUTPUT_TRANSACTIONS=/arweave/parsed
  3. TRANSACTIONS=/arweave/transaction.csv
  4. LEGACY_TAGS=/arweave/legacy/tags.csv
  5. OUTPUT_TAGS=/arweave/parsed
  6. SQL_PATH=/arweave/snapshot
  7. ARCHIVE_PATH=
  8. ARCHIVE_URL=
  9. KEY=
  10. SECRET=
  11. ENDPOINT=
  12. NAME=
  13. INDICES=["App-Name", "app", "domain", "namespace"]

Copy the config file to .env.

  1. cp .env.default .env

Development

yarn dev:build

Compiles the typescript to dist.

yarn dev:legacy

Runs the legacy parsing script.

yarn dev:transactions

Runs the new transactions parsing script.

yarn dev:tags

Runs the legacy tags parsing script.

yarn dev:sql

Generates SQL statements

yarn dev:upload

Runs the upload scripts.