Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Add SPL Governance Integration for DAO Management #205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

onyedikachi-david
Copy link

@onyedikachi-david onyedikachi-david commented Jan 14, 2025

Description

This PR adds support for SPL Governance program interactions to the Solana Agent Kit, enabling agents to participate in and manage DAO governance activities programmatically.

Features Added

  • Realm configuration management and monitoring
  • Council member operations (add/remove/update weights)
  • Token-based voting power management
  • Governance configuration settings

Implementation Details

  • Added new modules in src/actions/:
    • council-governance.ts: Council member management
    • governance.ts: Core governance functionality
    • governance-monitor.ts: Monitoring capabilities
  • Integrated with SPL Governance program for DAO operations
  • Added type definitions in src/types/governance.ts

Related Issue

Closes #167

Type of Change

  • New feature (non-breaking change which adds functionality)

Checklist

- Implement realm configuration and monitoring

- Add council member management operations (add/remove/update)

- Enable token-based voting power management

- Support governance configuration settings
@onyedikachi-david
Copy link
Author

@thearyanag The PR is ready for review.

Copy link
Collaborator

@michaelessiet michaelessiet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tools are misplaced in the actions folder and there aren't any actions that can be used in the vercel AI SDK. Please can you update this PR to make use of the latest file architecture and implement actions for the vercel AI SDK

@@ -77,5 +78,6 @@
"prettier": "^3.4.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get rid of this change as it is unrelated to the PR and there is already a pnpm version assigned in the main branch

@michaelessiet
Copy link
Collaborator

Please also include screenshots of this PR in action performing on-chain governance activity

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Realm Management | SPL Governance Integration for Solana Agent Kit | realms.today
2 participants