Skip to content

docs: add invoke.sh examples for proposal workflow - #568

Merged
Naomi-Gift merged 1 commit into
HubDApp:mainfrom
Divine-mercyx:docs/proposal-workflow-invoke-510
Aug 20, 2026
Merged

docs: add invoke.sh examples for proposal workflow#568
Naomi-Gift merged 1 commit into
HubDApp:mainfrom
Divine-mercyx:docs/proposal-workflow-invoke-510

Conversation

@Divine-mercyx

Copy link
Copy Markdown
Contributor

Summary

  • Add scripts/invoke.sh helpers for the multi-sig proposal workflow (create_proposal, approve_proposal, execute_proposal, plus get_proposal and related admin setup commands).
  • Document a step-by-step governance walkthrough in DEPLOYMENT.md and dongle-smartcontract/README.md.

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to change)
  • Refactoring / Documentation update

Changes Made

  • Extended scripts/invoke.sh with proposal payload helpers (add_admin, remove_admin, set_threshold, set_fee, verification actions) and approve_proposal / execute_proposal / get_proposal.
  • Added a post-deploy governance section to DEPLOYMENT.md covering bootstrap, create, approve, and execute.
  • Added matching step-by-step examples under Admin Management in dongle-smartcontract/README.md.

Acceptance Criteria

  • Example invocations exist for create_proposal, approve_proposal, and execute_proposal.
  • DEPLOYMENT.md includes step-by-step script examples for governance operations.
  • dongle-smartcontract/README.md includes the same workflow using invoke.sh.

Test Coverage

  • bash -n scripts/invoke.sh

Related Issues

Closes #510

Made with Cursor

Document create, approve, and execute steps in DEPLOYMENT.md and the contract README, and add matching invoke.sh helpers so governance operations can be run from scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add example scripts for proposal workflow using invoke.sh

2 participants