Doesn't work this evm plugin -> @elizaos/plugin-evm
I want to run evm ai agent with using plugin-evm Inside characters/degen.character.json file I set evm plugins and modelprovider as openai. Then set openai key to .env file I also import plugin-coingecko, but it works with fetch token price or etc. But If I want to swap tokens or transfer tokens, it doesn't work
Hello @0xopsdev! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
@0xopsdev Any luck on this?
@omariosman still no luck yet
@0xopsdev Is there any other way that I can use with Eliza to enable evm transactions?
@omariosman Can we have a discussion on telegram? https://t.me/its0xopsdev DM me plz
@0xopsdev Sure. I texted you.
@0xbbjoker know this?
@0xopsdev can you please try again. Should be fixed.
@0xbbjoker I have a question plz
In my agent directory, I have a dir called @elizaos-plugins that contains plugin-evm and plugin-tee inside it
However, in the plugin-evm/index.js, I can find this import:
import { DeriveKeyProvider, TEEMode } from "@elizaos/plugin-tee";
Why is it importing from @elizaos/plugin-tee not from @elizaos-plugins/plugin-tee?
I am currently facing this error:
SyntaxError: The requested module '@elizaos/plugin-tee' does not provide an export named 'DeriveKeyProvider'
@omariosman this has been resolved on the latest. https://github.com/elizaos-plugins/plugin-evm/blob/1.x/src/providers/wallet.ts#L247
You can notice here that we don't import plugin-tee we are using plugin-tee as a service.
So you'll need to setup plugin-tee in your character and below the plugin-tee you'll need to add plugin-evm as wallet provider depends on plugin-tee service.
You can pull the latest or install the latest and your issue should be resolved.
Lmk if any issues encountered.
@0xbbjoker
Thanks
I used npx elizaos plugins add @elizaos-plugins/plugin-evm to add the plugin, but how can I update it to the latest version?
@omariosman first make sure to install the latest CLI
npm i -g @elizaos/cli- and then
elizaos plugins add @elizaos-plugins/plugin-evm
right now we have a scoping issue with npx and we are working on to resolve npx as well.
You could also add the plugin-evm to character file and the CLI will install it. Just make sure you have plugin-tee as well.
Released new version for plugin-evm.
Features: swap, bridge, transfer working smoothly on evm chains.
version: 1.0.6
Closing this! If any issues found please report.