Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.17 KB

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.

LEGACY_TRANSACTIONS=/arweave/legacy/transaction.csv
OUTPUT_TRANSACTIONS=/arweave/parsed

LEGACY_TAGS=/arweave/legacy/tags.csv
OUTPUT_TAGS=/arweave/parsed

SQL_PATH=/arweave/snapshot

ARCHIVE_PATH=
ARCHIVE_URL=

KEY=
SECRET=
ENDPOINT=
NAME=

INDICES=["App-Name", "app", "domain", "namespace"]

Copy the config file to .env.

cp .env.default .env

Development

yarn dev:build

Compiles the typescript to dist.

yarn dev:legacy

Runs the legacy parsing script.

yarn dev:tags

Runs the legacy tags parsing script.

yarn dev:sql

Generates SQL statements

yarn dev:upload

Runs the upload scripts.