forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 0
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: cosmos plugin - IBC swap action #16
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nal-bridge' into ELIZAAI-18-cross-chain-swaps # Conflicts: # packages/plugin-cosmos/src/index.ts # packages/plugin-cosmos/src/shared/entities/cosmos-wallet-chains-data.ts
…ed denom fetching
…aracter directives updated
3cc478c
to
64e6cb2
Compare
…g-ibc-or-external-bridge feat: ibc transfer action
…AI-18-cross-chain-swaps # Conflicts: # agent/src/index.ts # packages/plugin-cosmos/package.json
…to ELIZAAI-18-cross-chain-swaps # Conflicts: # packages/plugin-cosmos/src/actions/ibc-swap/index.ts
…-chain-swaps # Conflicts: # packages/plugin-cosmos/src/actions/ibc-transfer/index.ts # packages/plugin-cosmos/src/actions/ibc-transfer/schema.ts # packages/plugin-cosmos/src/actions/ibc-transfer/services/bridge-denom-provider.ts # packages/plugin-cosmos/src/actions/ibc-transfer/services/ibc-transfer-action-service.ts # packages/plugin-cosmos/src/index.ts # packages/plugin-cosmos/src/shared/entities/cosmos-wallet-chains-data.ts # packages/plugin-cosmos/src/shared/interfaces.ts # packages/plugin-cosmos/src/shared/services/skip-api/assets-from-source-fetcher/skip-api-assets-from-source-fetcher.ts # packages/plugin-cosmos/src/templates/index.ts # packages/plugin-cosmos/src/tests/cosmos-ibc-transfer-action-service.test.ts # pnpm-lock.yaml
…-chain-swaps # Conflicts: # pnpm-lock.yaml
…to ELIZAAI-18-cross-chain-swaps
# Conflicts: # pnpm-lock.yaml
9d9b423
to
6490485
Compare
This pull request has been automatically marked as stale due to 30 days of inactivity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to:
NA
Risks
Low risk – this PR adds an action to an existing plugin and does not interfere with the core functionality of Eliza.
Background
What does this PR do?
This PR adds a Swap IBC action to the Cosmos plugin for Eliza. This action enables agents to perform transfer swaps using the wallet specified in the environment variables.
What kind of change is this?
Feature (non-breaking change which adds new functionality)
Why are we doing this? Any context or related work?
We aim to contribute to the Eliza project because we believe more plugins are needed to make the agents more versatile.
As BlockyDevs, we have extensive expertise in blockchain development and are keen to explore the AI/Blockchain crossover space.
Documentation changes needed?
Changes do not require a change to the project documentation.
Testing
The PR includes unit tests.
A manual test for this action has been completed successfully. A testing example is provided in the README file. Please note that using mainnet chains is required due to the lack of swap pairs between testnet assets.
Where should a reviewer start?
plugin-cosmos/actions/ibc-swap
folder structure, focusing onindex.ts
,services/ibc-swap-action-service.ts
, and related environment or index files.Detailed testing steps
packages/cosmos-plugin
directory and runpnpm run test
.