Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
aave-viem-integration - Skill - OpenSmartRoute
Skillv1.0.0
aave-viem-integration
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.
Imported from intenxus/aave-ai (skills/aave-viem-integration/SKILL.md). Install upstream with npx skills add intenxus/aave-ai --skill aave-viem-integration. Copyright stays with the author (MIT).
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
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.