by edwin-finance
Edwin is a TypeScript library that provides a unified and secure interface for AI agents to interact with various Decentralized Finance (DeFi) protocols, enabling the creation of sophisticated DeFAI agents.
Edwin is a TypeScript library designed to bridge the gap between AI agents and Decentralized Finance (DeFi) protocols. It provides a unified and secure interface, abstracting away the complexities of blockchain operations and protocol-specific implementations. This enables AI agents to seamlessly interact with various DeFi protocols, facilitating the creation of sophisticated DeFAI (Decentralized Finance AI) agents.
To use Edwin, you first need to install the edwin-sdk
package:
pnpm install edwin-sdk
Then, you can import the necessary wallet and service modules, configure an Edwin wallet (e.g., EdwinEVMWallet
), and initialize a DeFi service (e.g., AaveService
). You can then perform operations like supplying tokens to a lending protocol:
import { EdwinEVMWallet, AaveService } from 'edwin-sdk';
const wallet = new EdwinEVMWallet(evmPrivateKey as `0x${string}`);
const aave = new AaveService(wallet);
const result = await aave.supply({
chain: 'base',
amount: 0.05,
asset: 'usdc',
});
Detailed documentation and plugin integration guides are available on the official Edwin documentation website.
Edwin is primarily used for empowering AI agents to interact with and manage DeFi protocols. This includes:
Edwin is a TypeScript library that serves as the bridge between AI agents and DeFi protocols. It provides a unified, secure interface for AI agents to interact with various DeFi protocols while abstracting away the complexity of blockchain operations and protocol-specific implementations. This enables the creation of sophisticated DeFAI agents.
pnpm install edwin-sdk
// Import the required wallet and services
import { EdwinEVMWallet, AaveService } from 'edwin-sdk';
// Configure Edwin wallets and services
const wallet = new EdwinEVMWallet(evmPrivateKey as `0x${string}`);
const aave = new AaveService(wallet);
// Supply tokens to a lending protocol
const result = await aave.supply({
chain: 'base',
amount: 0.05,
asset: 'usdc',
});
For detailed documentation, visit docs.edwin.finance
For developers interested in creating plugins, check out our Plugin Integration Guide.
Contributions are welcome! Please visit our Contributing Guide for details.
GPL
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by danny-avila
Provides a customizable ChatGPT‑like web UI that integrates dozens of AI models, agents, code execution, image generation, web search, speech capabilities, and secure multi‑user authentication, all open‑source and ready for self‑hosting.
by ahujasid
BlenderMCP integrates Blender with Claude AI via the Model Context Protocol (MCP), enabling AI-driven 3D scene creation, modeling, and manipulation. This project allows users to control Blender directly through natural language prompts, streamlining the 3D design workflow.
by pydantic
Enables building production‑grade generative AI applications using Pydantic validation, offering a FastAPI‑like developer experience.
by GLips
Figma-Context-MCP is a Model Context Protocol (MCP) server that provides Figma layout information to AI coding agents. It bridges design and development by enabling AI tools to directly access and interpret Figma design data for more accurate and efficient code generation.
by mcp-use
Easily create and interact with MCP servers using custom agents, supporting any LLM with tool calling and offering multi‑server, sandboxed, and streaming capabilities.
by sonnylazuardi
This project implements a Model Context Protocol (MCP) integration between Cursor AI and Figma, allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
by lharries
WhatsApp MCP Server is a Model Context Protocol (MCP) server for WhatsApp that allows users to search, read, and send WhatsApp messages (including media) through AI models like Claude. It connects directly to your personal WhatsApp account via the WhatsApp web multi-device API and stores messages locally in a SQLite database.
by idosal
GitMCP is a free, open-source remote Model Context Protocol (MCP) server that transforms any GitHub project into a documentation hub, enabling AI tools to access up-to-date documentation and code directly from the source to eliminate "code hallucinations."
by Klavis-AI
Klavis AI provides open-source Multi-platform Control Protocol (MCP) integrations and a hosted API for AI applications. It simplifies connecting AI to various third-party services by managing secure MCP servers and authentication.