This repository tracks curated Lua FlightPlans that are registered on-chain but distributed off-chain. Nodes can point syncflightplan and analyzeflightplan at manifest.json in this repo to install or audit scripts.
approved/ # reviewed scripts whose hashes already exist on-chain
experimental/ # work-in-progress scripts; not guaranteed registered yet
docs/ # schema notes, contributor guides
tools/ # automation for hashing and manifest regeneration
manifest.json # canonical manifest consumed by nodes and tooling
- Authoring – contributors PR Lua files under
experimental/orapproved/. - Hashing – maintainers run
python tools/hash_manifest.py(or manual commands) to recompute SHA256 values and rewritemanifest.json. - Verification –
analyzeflightplanis run against each script before merging to ensure risk classification and index registrations look correct. - Publishing – once merged, tag a release or push main; nodes can pull the
manifest.jsonURL or mirror the repo locally.
# copy manifest locally
curl -o ~/.avian/flightplans/manifest.json https://raw.githubusercontent.com/<org>/flightplans/main/manifest.json
# install vetted script
avian-cli syncflightplan hello_world
# audit before enabling
avian-cli analyzeflightplan hello_world flightplans/approved/hello_world.lua
- Update/verify Lua sources.
- Run the hashing tool to refresh
manifest.json. - Confirm every entry’s
txid/voutmatches a confirmed registration. - Commit the new manifest and scripts together.
- (Optional) sign releases or attach manifests to GitHub Releases for easier mirroring.
Refer to docs/manifest-schema.md for the full JSON schema and field descriptions.