This repository holds shell scripts that Intersect uses to engage in Cardano on-chain governance.
- budget-check-metadata.sh
- Runs correctness and validity checks for budget treasury withdrawal CIP108 metadata.
- Uses a combination of the other scripts
- ipfs-check.sh
- Checks if a file is accessible via free IPFS gateways
- ipfs-pin.sh
- Allows user to pin a file on a number of pinning services
- Optionally allows the user to check file's discoverability first
- metadata-validate.sh
- Compares governance metadata against the established schema(s)
- Applies a spell check to CIP108 metadata
- cip-108-create-human-readable.sh
- Creates a markdown file from CIP108 metadata
- author-create.sh
- Adds an author witness to CIP100/CIP108 metadata
- author-validate.sh
- Checks the correctness of CIP100/CIP108 metadata with a author(s) witness(es)
- hash.sh
- Performs a blake2b-256 hash on provided file
- 2025 Budget Treasury Withdrawals
- Documents the scripts and high level process to create the treasury withdrawal governance actions for the Intersect 2025 budget.
In order to run all of these scripts you will need
- ajv-cli
- aspell
- b2sum
- cardano-cli
- cardano-signer
- ipfs
- jq
Secrets can be stored via ./scripts/.env
and based on ./scripts/.env.example
.
The only script that uses secrets is ipfs-pin.sh
.
See License.