Skip to content
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 #1826

Merged
merged 21 commits into from
Jan 5, 2025
Merged

feat: add cosmos plugin #1826

merged 21 commits into from
Jan 5, 2025

Conversation

mgacek-blockydevs
Copy link
Contributor

Relates to:

NA

Risks

NA

Background

What does this PR do?

This PR introduces a Cosmos plugin for Eliza, enabling agents to perform transfer actions using the account specified in the environment variables on the blockchains configured in the environment variables. Additionally, the plugin provides the flexibility to add support for other actions, expanding Eliza’s functionality for Cosmos SDK-based blockchains (e.g., Osmosis, Cosmos Hub, Akash).

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 want to contribute to Eliza project, as we believe more plugins are needed to make the agents more versitile.

As BlockyDevs we have extensive expertise in blockchain development and want to get into AI/Blockchain crossover.

Documentation changes needed?

Changes do not require a change to the project documentation.

Testing

Where should a reviewer start?

  • Review the plugin-cosmos folder structure, focusing on providers/wallet.ts, actions/transfer.ts, and related environment or index files.

Detailed testing steps

  1. Install dependencies for the plugin-cosmos package.
  2. Navigate to the packages/cosmos-plugin directory and run pnpm run test.

…-interface-for-cosmos

# Conflicts:
#	agent/package.json
#	agent/src/index.ts
#	packages/plugin-cosmos/README.md
#	packages/plugin-cosmos/eslint.config.mjs
#	packages/plugin-cosmos/package.json
#	packages/plugin-cosmos/src/index.ts
#	packages/plugin-cosmos/tsup.config.ts
#	pnpm-lock.yaml
…-add-initial-readme

chore: initialize cosmos plugin
…-for-cosmos

ELIZAAI-9 create base interface for cosmos
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hi @mgacek-blockydevs! Welcome to the ai16z community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now a ai16z contributor!

@lalalune lalalune merged commit 86ce09c into elizaOS:develop Jan 5, 2025
3 checks passed
@anilcse anilcse mentioned this pull request Jan 7, 2025
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.

6 participants