Allegedly#
Some public ledger server tools and services
Allegedly can
-
Tail PLC ops to stdout:
allegedly tail | jq -
Export PLC ops to weekly gzipped bundles:
allegdly bundle --dest ./some-folder -
Dump bundled ops to stdout FAST:
allegedly backfill --source-workers 6 | pv -l > /ops-unordered.jsonl -
Wrap the reference PLC server and run it as a mirror:
export ALLEGEDLY_WRAP_PG="postgresql://user:pass@pg-host:5432/plc-db" allegedly --upstream "https://plc.directory" mirror \ --bind "0.0.0.0:8000" \ --wrap "http://127.0.0.1:3000"
(add --help to any command for more info about it)
also can:
- Copy ops to postgres for a mirror running the reference typescript implementation
install#
for now you'll need rust installed locally. after cloning, run
cargo install --path . --bin allegedly