-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realm #297
base: main
Are you sure you want to change the base?
Realm #297
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @0xNoushad , this PR doesn't follow the correct file structure and contents for action and tool files. Please reference other action and tool files in the project
Will do everything in my final push ! |
Ok, please let me know once it's ready for review |
Done !! |
Hi @0xNoushad please fix the error returned by the github action |
remove duplicate all domains too
Please do not remove any actions/tools unrelated to your tools from exports. Consider renaming your tools instead |
@@ -287,7 +288,6 @@ export function createSolanaTools(solanaKit: SolanaAgentKit) { | |||
new ElfaGetTopMentionsTool(solanaKit), | |||
new ElfaAccountSmartStatsTool(solanaKit), | |||
new SolanaFluxbeamCreatePoolTool(solanaKit), | |||
new SolanaApproveProposal2by2Multisig(solanaKit), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check line 229
Looks good! Only thing missing is the screenshots, please can you provide screenshots of the agent completing these prompts, as well as their transaction links
|
Check description! |
Pull Request Description
Related Issue
Fixes #205
Changes Made
This PR adds comprehensive SPL Governance integration to the Solana Agent Kit, enabling programmatic DAO governance:
Added Governance Tools:
/src/tools/realm-governance/governance.ts
/src/tools/realm-governance/council.ts
/src/tools/realm-governance/monitor.ts
Created Six New Governance Actions:
SPL_CREATE_REALM
: Create new DAO realms with community/council configurationSPL_CREATE_PROPOSAL
: Create governance proposals with customizable voting optionsSPL_CAST_VOTE
: Cast votes on proposals with approve/deny/abstain choicesSPL_GET_REALM_INFO
: Retrieve detailed realm configuration and statusSPL_GET_TOKEN_OWNER_RECORD
: Get member voting power and participation recordsSPL_GET_VOTER_HISTORY
: Retrieve complete voting history for participantsVerification
https://explorer.solana.com/tx/5L3HFEKHyB6LMGVvpjArx971M6QL9cdNeeEaqR6nDL64CZaB485NzTZdKab2xUzycvMrjj3AfR5LuoJtYSypaisH?cluster=devnet
Prompt Used
Checklist