Skip to content

feat: Plugin evm multichain#1009

Merged
odilitime merged 20 commits into
elizaOS:developfrom
iotexproject:plugin-evm-multichain
Dec 12, 2024
Merged

feat: Plugin evm multichain#1009
odilitime merged 20 commits into
elizaOS:developfrom
iotexproject:plugin-evm-multichain

Conversation

@nicky-ru
Copy link
Copy Markdown
Contributor

Relates to:

#735
#864

Risks

Low

Background

What does this PR do?

This PR initiates support for testing the EVM plugin, which was previously unsupported. Added multichain support, the current version of the plugin only supported mainnet and Base, and there have been several requests for additional EVM chain support.

  • The plugin lacked test coverage, so we initiated tests alongside the feature development, starting with WalletProvider.
  • Refactored the plugin to make it more test-friendly and modular.
  • Added multichain support (for viem chains)

What kind of change is this?

  • Improvements: Refactoring, cleaning, and testing of the existing plugin.
  • Fixes: fix transfer action
  • Features: Non-breaking changes to add EVM multichain support. The previous character configuration even though accepted evm chain config array, but in fact it was not implemented

Why are we doing this? Any context or related work?

Initially, the goal was to add IoTeX EVM chain support. However, the scope was expanded to include general multichain support, given the demand for broader compatibility.

Documentation changes needed?

No.
Currently, the project documentation does not cover blockchain configurations, including EVM plugin setup. No changes are required at this time.

Testing

How was it tested

  • Ran test scripts
  • Verified functionality through agent interactions:
Screenshot 2024-12-12 at 5 58 35 PM

Where should a reviewer start?

File: packages/plugin-evm/src/tests/wallet.test.ts

Detailed testing steps

Try to add your own chain in the character and ask the agent to send some tokens.

Discord username

nikita_zhou

@odilitime odilitime changed the title Plugin evm multichain feat: Plugin evm multichain Dec 12, 2024
@odilitime
Copy link
Copy Markdown
Collaborator

Does this replace the other PRs? can we close those?

@nicky-ru
Copy link
Copy Markdown
Contributor Author

Does this replace the other PRs? can we close those?

Yes, opened this against develop branch, will close the previous one

@odilitime odilitime merged commit 6e1548d into elizaOS:develop Dec 12, 2024
@nicky-ru nicky-ru deleted the plugin-evm-multichain branch December 15, 2024 09:58
lalalune pushed a commit that referenced this pull request May 3, 2026
FranceFlapjack pushed a commit to FranceFlapjack/eliza that referenced this pull request May 16, 2026
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.

2 participants