-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: add cosmos plugin #1393
feat: add cosmos plugin #1393
Conversation
This looks good from what I can tell so far. Might be good to go ahead and list I haven't tested this yet, but can soon. |
Sure, I will add it. This would definitely avoid extra calls to chain-registry if the user can simply provide all these config details, optionally |
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.
follows the standard of Goat and other finanacal plugins.
Refactor to use connectWallet from cosmos wallet provider
@odilitime ping for review |
packages/plugin-cosmos/package.json
Outdated
"bignumber.js": "9.1.2", | ||
"chain-registry": "*", | ||
"cosmjs-utils": "*", | ||
"node-cache": "5.1.2", |
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 we want another caching system? we should unify this with our caching in the future
@anilcse can you fix the conflicts and we'll get this merged in. Doesn't look like we have the ability to do that for you on this one. |
Looks like #1826 got merged before this. So closing it @odilitime |
Relates to:
NA
Risks
NA
Background
What does this PR do?
This PR adds a Cosmos plugin for Eliza, enabling agents to interact with any Cosmos SDK-based chains (e.g., Osmosis, Cosmos Hub, Akash).
What kind of change is this?
Features (non-breaking change which adds functionality)
Documentation changes needed?
My changes do not require a change to the project documentation.
Testing
Where should a reviewer start?
plugin-cosmos
folder structure, especiallyproviders/wallet.ts
,actions/transfer.ts
, and any environment or index files.tests/wallet.test.ts
.Detailed testing steps