A way to parse snapshots and archive snapshots with AWS SDK compatible drivers.
A way to parse snapshots and archive snapshots for Arweave and upload them to the Akash Network.
Update the configuration file with the appropriate urls.
LEGACY_TRANSACTIONS=/arweave/legacy/transaction.csv
OUTPUT_TRANSACTIONS=/arweave/parsed
TRANSACTIONS=/arweave/transaction.csv
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
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.