aave-viem-integration

star 8

Foundational EVM integration for AAVE-related scripts using viem. Use when user asks to read balances, read/write contracts, send transactions, or set up typed viem clients for Ethereum and Arbitrum.

intenxus By intenxus schedule Updated 2/23/2026

name: aave-viem-integration description: Foundational EVM integration for AAVE-related scripts using viem. Use when user asks to read balances, read/write contracts, send transactions, or set up typed viem clients for Ethereum and Arbitrum. license: MIT metadata: author: AAVE AI Contributors version: 1.0.0

AAVE viem Integration

Provide reusable viem patterns for AAVE skill scripts and custom integrations.

Scope

  • Public client and wallet client setup
  • Chain-specific RPC selection
  • Reading ERC20 balances and allowances
  • Simulating and sending contract transactions
  • Waiting for receipts and formatting execution output

Quick Start

import { createPublicClient, createWalletClient, http } from 'viem';
import { mainnet } from 'viem/chains';

const publicClient = createPublicClient({
  chain: mainnet,
  transport: http(process.env.ETHEREUM_RPC_URL),
});

References

  • references/clients-and-transports.md
  • references/contract-read-write.md
Install via CLI
npx skills add https://github.com/intenxus/aave-ai --skill aave-viem-integration
Repository Details
star Stars 8
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator