defi-protocols

Installation
SKILL.md

defi-protocols

Purpose

This skill equips the AI with specialized knowledge of DeFi protocols, enabling precise interactions with smart contracts, tokens, and decentralized lending on blockchains like Ethereum and Binance Smart Chain.

When to Use

Use this skill for tasks involving DeFi app development, smart contract auditing, token management, or lending protocol integrations. Apply it when handling blockchain transactions, yield farming, or protocol vulnerabilities in real-time coding scenarios.

Key Capabilities

  • Interact with smart contracts using Web3.js or Ethers.js libraries to read/write state.
  • Manage ERC-20/ERC-721 tokens, including transfers and approvals.
  • Handle decentralized lending via protocols like Aave or Compound, querying interest rates or borrowing limits.
  • Analyze on-chain data from block explorers like Etherscan API endpoints (e.g., /api?module=account&action=balance).
  • Simulate transactions with tools like Hardhat for testing smart contracts.

Usage Patterns

To use this skill, initialize a Web3 provider in your code and set environment variables for API keys. For example, in a Node.js script, import Web3 and connect to a network:

Related skills
Installs
24
GitHub Stars
5
First Seen
Mar 5, 2026