0.8.7 • Published 11 months ago
edwin-sdk v0.8.7
Edwin 🦉 - 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-sdkFeatures
- 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
Contributing
Contributions are welcome! Please visit our Contributing Guide for details.
License
GPL
0.8.5
11 months ago
0.8.7
11 months ago
0.8.6
11 months ago
0.8.4
11 months ago
0.8.3
11 months ago
0.8.2
11 months ago
0.8.1
11 months ago
0.8.0
11 months ago
0.5.0
11 months ago
0.4.1
11 months ago
0.4.0
11 months ago
0.7.0
11 months ago
0.6.0
11 months ago
0.4.2
11 months ago
0.3.4
1 year ago
0.3.3
1 year ago
0.3.2
1 year ago
0.3.1
1 year ago
0.3.0
1 year ago
0.2.0
1 year ago