Connect AI to DeFi and Wallets
Edwin: A TypeScript SDK for AI agents to interact with DeFi protocols, enabling complex DeFAI agent creation.
Maintainer of this project? Claim this page to edit the listing.
0.8.53Add to Favorites
Why it matters
Enable AI agents to securely interact with Decentralized Finance (DeFi) protocols and manage cryptocurrency wallets across EVM and Solana blockchains.
Outcomes
What it gets done
Perform wallet operations including balance checking and token transfers.
Sign transactions and interact with smart contracts on EVM and Solana.
Integrate with Edwin SDK for standardized protocol access.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-edwin | bash Capabilities
Tools your agent gets
Perform wallet operations on EVM and Solana blockchains
Check wallet balances across supported blockchains
Sign transactions for blockchain operations
Transfer tokens between wallet addresses
Interact with smart contracts on EVM and Solana
Overview
Edwin MCP Server
The original title and description referred to 'Edwin MCP Server'. The term 'MCP Server' is not present.
What it does
As an AI developer, your job is to build sophisticated DeFAI agents that can interact with decentralized finance (DeFi) protocols. You need a secure and unified interface that abstracts away the complexities of blockchain operations and protocol-specific implementations, allowing you to focus on agent logic. Edwin provides this bridge, enabling lending/borrowing operations, liquidity provision, and cross-chain support. For example, you can install it with:
pnpm install edwin-sdk
And use it to supply tokens like this:
// 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',
});
Source README
edwin 🦉 - The DeFAI Layer
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.
Installation
pnpm install edwin-sdk
Features
- Lending/Borrowing operations
- Liquidity provision
- Cross-chain support
- Type-safe protocol interactions
- AI-friendly templates
Quick Start
// 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',
});
Documentation
For detailed documentation, visit docs.edwin.finance
For developers interested in creating plugins, check out our Plugin Integration Guide.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.