Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This repository holds shell scripts that Intersect uses to engage in Cardano on-
- [metadata-create.sh](./scripts/metadata-create.sh)
- Creates a governance-action JSON-LD file (CIP-108 body + CIP-169 extension + CIP-116 ProposalProcedure on-chain format, including [Intersect CIP108 schemas](https://github.com/IntersectMBO/governance-actions/tree/main/schemas))
- Requires a `.md` input file with H2 sections (`## Title`, `## Abstract`, `## Motivation`, `## Rationale`, `## References`, `## Authors`)
- Requires `--governance-action-type <info|treasury|ppu>` and `--deposit-return-addr <stake-address>`
- Requires `--type <info|treasury|ppu>` and `--deposit-return-addr <stake-address>`
- Optional `--language <BCP-47-tag>` sets the JSON-LD `@context.@language` (default: `en`)

- [metadata-validate.sh](./scripts/metadata-validate.sh)
Expand Down
2 changes: 1 addition & 1 deletion docs/info-action-procedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ With the `metadata-create` script taking the data from the doc and creating a `.
The input file must be a `.md` file structured with H2 headers (`## Title`, `## Abstract`, `## Motivation`, `## Rationale`, `## References`, `## Authors`). Pass `--language <BCP-47-tag>` to override the default `en` in the generated `@context.@language`.

```shell
./scripts/metadata-create.sh my-metadata.md --governance-action-type info --deposit-return-addr $DEPOSIT_RETURN_ADDR
./scripts/metadata-create.sh my-metadata.md --type info --deposit-return-addr $DEPOSIT_RETURN_ADDR
```

### 5. Sanity check the metadata
Expand Down
2 changes: 1 addition & 1 deletion docs/treasury-withdrawal-procedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ With the `metadata-create` script taking the data from the doc and creating a `.
The input file must be a `.md` file structured with H2 headers (`## Title`, `## Abstract`, `## Motivation`, `## Rationale`, `## References`, `## Authors`). Pass `--language <BCP-47-tag>` to override the default `en` in the generated `@context.@language`.

```shell
./scripts/metadata-create.sh my-metadata.md --governance-action-type treasury --deposit-return-addr $DEPOSIT_RETURN_ADDR
./scripts/metadata-create.sh my-metadata.md --type treasury --deposit-return-addr $DEPOSIT_RETURN_ADDR
```

### 5. Sanity check the metadata
Expand Down
Loading