Skip to content

Repository to hold shell scripts that Intersect uses to engage in Cardano on-chain governance.

License

Notifications You must be signed in to change notification settings

IntersectMBO/governance-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Governance Scripts

This repository holds shell scripts that Intersect uses to engage in Cardano on-chain governance.

Navigation

Scripts

2025 Budget Scripts

  • budget-metadata-validate.sh
    • Runs correctness and validity checks for budget treasury withdrawal CIP108 metadata.
    • Uses a combination of the other scripts
  • budget-metadata-create.sh
    • Creates Intersect budget metadata file from a .docx
    • This expects certain structure within the .docx

Governance Action Scripts

  • action-create-tw.sh
    • Creates a treasury withdrawal governance action from a Intersect metadata
    • Uses a local cardano node socket file

IPFS Scripts

  • ipfs-check.sh
    • Checks if a file is accessible via free IPFS gateways
  • ipfs-pin.sh
    • Allows user to pin JSONLD file(s) on a number of pinning services
    • Optionally allows the user to check file's discoverability first

Governance (CIP-100+) Metadata Scripts

  • metadata-validate.sh
    • Compares governance metadata against the established schema(s)
    • Applies a spell check to CIP108 metadata fields

CIP-108 Scripts

CIP-100 Author Scripts

Other Scripts

Documentation

  • 2025 Budget Treasury Withdrawals
    • Documents the scripts and high level process to create the treasury withdrawal governance actions for the Intersect 2025 budget.

Dependencies

In order to run all of these scripts you will need

probably more I have missed...

Environment Variables

Cardano Node

The only script that uses secrets is action-create-tw.sh.

This expects CARDANO_NODE_NETWORK_ID and CARDANO_NODE_SOCKET_PATH to be set. So you'll need a local cardano node socket path.

Secrets

The only script that uses secrets is ipfs-pin.sh.

Secrets can be stored via ./scripts/.env and based on ./scripts/.env.example.

This is setup so you can run:

source ./scripts/.env

License

See License.

About

Repository to hold shell scripts that Intersect uses to engage in Cardano on-chain governance.

Resources

License

Stars

Watchers

Forks

Languages